Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Synthesis / VisemeEventArgs.cs / 1 / VisemeEventArgs.cs
//------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- #if !SPEECHSERVER namespace System.Speech.Synthesis { ////// TODOC /// public class VisemeReachedEventArgs : PromptEventArgs { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors ////// TODOC /// /// /// /// /// /// /// internal VisemeReachedEventArgs (Prompt speakPrompt, int currentViseme, TimeSpan audioPosition, TimeSpan duration, SynthesizerEmphasis emphasis, int nextViseme) : base(speakPrompt) { _currentViseme = currentViseme; _audioPosition = audioPosition; _duration = duration; _emphasis = emphasis; _nextViseme = nextViseme; } #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region Public Properties ////// TODOC /// ///public int Viseme { get { return _currentViseme; } } /// /// TODOC /// ///public TimeSpan AudioPosition { get { return _audioPosition; } } /// /// TODOC /// ///public TimeSpan Duration { get { return _duration; } } /// /// TODOC /// ///public SynthesizerEmphasis Emphasis { get { return _emphasis; } } /// /// TODOC /// ///public int NextViseme { get { return _nextViseme; } } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields // Current Viseme being synthesized private int _currentViseme; // Audio position of current phoneme private TimeSpan _audioPosition; // Duration of current Viseme private TimeSpan _duration; // Features of the current phoneme private SynthesizerEmphasis _emphasis; // Next Viseme to be synthesized private int _nextViseme; #endregion } } #endif // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- #if !SPEECHSERVER namespace System.Speech.Synthesis { ////// TODOC /// public class VisemeReachedEventArgs : PromptEventArgs { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors ////// TODOC /// /// /// /// /// /// /// internal VisemeReachedEventArgs (Prompt speakPrompt, int currentViseme, TimeSpan audioPosition, TimeSpan duration, SynthesizerEmphasis emphasis, int nextViseme) : base(speakPrompt) { _currentViseme = currentViseme; _audioPosition = audioPosition; _duration = duration; _emphasis = emphasis; _nextViseme = nextViseme; } #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region Public Properties ////// TODOC /// ///public int Viseme { get { return _currentViseme; } } /// /// TODOC /// ///public TimeSpan AudioPosition { get { return _audioPosition; } } /// /// TODOC /// ///public TimeSpan Duration { get { return _duration; } } /// /// TODOC /// ///public SynthesizerEmphasis Emphasis { get { return _emphasis; } } /// /// TODOC /// ///public int NextViseme { get { return _nextViseme; } } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields // Current Viseme being synthesized private int _currentViseme; // Audio position of current phoneme private TimeSpan _audioPosition; // Duration of current Viseme private TimeSpan _duration; // Features of the current phoneme private SynthesizerEmphasis _emphasis; // Next Viseme to be synthesized private int _nextViseme; #endregion } } #endif // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompoundFileDeflateTransform.cs
- XmlAnyElementAttributes.cs
- ReceiveCompletedEventArgs.cs
- PenThreadWorker.cs
- StringWriter.cs
- MethodMessage.cs
- SqlPersonalizationProvider.cs
- XpsSerializationException.cs
- ResolveCriteriaApril2005.cs
- MatrixValueSerializer.cs
- SkipQueryOptionExpression.cs
- XmlHelper.cs
- RequiredArgumentAttribute.cs
- TextBoxRenderer.cs
- GB18030Encoding.cs
- TimeoutValidationAttribute.cs
- TraceContextRecord.cs
- TextServicesPropertyRanges.cs
- InternalPolicyElement.cs
- MeasurementDCInfo.cs
- EncoderFallback.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ListViewGroupItemCollection.cs
- __FastResourceComparer.cs
- UnknownWrapper.cs
- SettingsPropertyValueCollection.cs
- WebBrowserHelper.cs
- HttpWebResponse.cs
- CDSsyncETWBCLProvider.cs
- RepeatInfo.cs
- PrimitiveType.cs
- RawStylusInputCustomDataList.cs
- OrderedDictionary.cs
- ISFClipboardData.cs
- DesignerDataSourceView.cs
- BinHexEncoding.cs
- DrawListViewSubItemEventArgs.cs
- SqlDataSourceView.cs
- UIElement3D.cs
- DesignerActionListCollection.cs
- PropertyItemInternal.cs
- StaticExtension.cs
- DataList.cs
- RenameRuleObjectDialog.cs
- DoubleLinkListEnumerator.cs
- KeyNotFoundException.cs
- DNS.cs
- TemplateKey.cs
- EntryWrittenEventArgs.cs
- FontStretches.cs
- Buffer.cs
- XmlSchemaNotation.cs
- SHA1CryptoServiceProvider.cs
- BindableAttribute.cs
- SoapServerMessage.cs
- ExpressionCopier.cs
- ClassHandlersStore.cs
- SqlParameter.cs
- Comparer.cs
- SqlDataSourceQuery.cs
- DocumentViewerBaseAutomationPeer.cs
- Parsers.cs
- ToolboxItemCollection.cs
- RegexGroupCollection.cs
- ElementProxy.cs
- DataObjectPastingEventArgs.cs
- OptimisticConcurrencyException.cs
- RotateTransform3D.cs
- DateTimeConverter2.cs
- WindowsSlider.cs
- Triangle.cs
- keycontainerpermission.cs
- StreamInfo.cs
- XmlSerializableServices.cs
- SqlGatherConsumedAliases.cs
- WindowsSpinner.cs
- MetadataArtifactLoaderComposite.cs
- FrameworkElement.cs
- LocalIdKeyIdentifierClause.cs
- _HeaderInfo.cs
- XmlIlVisitor.cs
- WindowsListViewItemStartMenu.cs
- NumericUpDownAccelerationCollection.cs
- EventLogPermission.cs
- AssemblyName.cs
- CacheChildrenQuery.cs
- TextAction.cs
- ImageField.cs
- TableAutomationPeer.cs
- HttpStaticObjectsCollectionBase.cs
- DateTimeConverter.cs
- TypeToArgumentTypeConverter.cs
- IRCollection.cs
- PipelineDeploymentState.cs
- SecurityPolicySection.cs
- WorkflowElementDialog.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Html32TextWriter.cs
- DataKey.cs
- TreeNode.cs