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
- ExtenderControl.cs
- DynamicPhysicalDiscoSearcher.cs
- PackWebRequestFactory.cs
- DesignSurfaceManager.cs
- SoapFormatterSinks.cs
- DynamicUpdateCommand.cs
- JoinSymbol.cs
- _FtpDataStream.cs
- PersistenceException.cs
- SqlDataSourceEnumerator.cs
- MetadataArtifactLoaderCompositeFile.cs
- StateDesigner.CommentLayoutGlyph.cs
- HtmlTableRowCollection.cs
- DateTimeConstantAttribute.cs
- SpeechSeg.cs
- SimpleType.cs
- Selection.cs
- SafeRegistryKey.cs
- HttpResponse.cs
- updatecommandorderer.cs
- ExpandButtonVisibilityConverter.cs
- PrtTicket_Editor.cs
- TabItem.cs
- QuotedStringFormatReader.cs
- EventSourceCreationData.cs
- HtmlInputControl.cs
- ByteStreamMessageEncodingElement.cs
- DateTimeUtil.cs
- ListViewPagedDataSource.cs
- InputLangChangeEvent.cs
- RequestUriProcessor.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- BamlCollectionHolder.cs
- NamespaceDecl.cs
- TemplateBuilder.cs
- RoutedEvent.cs
- TemplateControl.cs
- SettingsSection.cs
- CriticalExceptions.cs
- ColorDialog.cs
- FileDialogCustomPlace.cs
- DataServiceContext.cs
- HtmlEncodedRawTextWriter.cs
- SQLStringStorage.cs
- TypeToken.cs
- FixedSOMPageConstructor.cs
- FixedSOMTextRun.cs
- XmlSerializationWriter.cs
- MD5.cs
- XmlSchemaExternal.cs
- FileDialog_Vista.cs
- Inflater.cs
- DesignerSelectionListAdapter.cs
- XmlSchemaAnnotation.cs
- HwndStylusInputProvider.cs
- SimpleBitVector32.cs
- Profiler.cs
- TextLineBreak.cs
- HashAlgorithm.cs
- EdmComplexPropertyAttribute.cs
- CompositionCommandSet.cs
- PropertyEmitterBase.cs
- SamlNameIdentifierClaimResource.cs
- ResumeStoryboard.cs
- StatusStrip.cs
- EdmToObjectNamespaceMap.cs
- NumberFormatter.cs
- StopStoryboard.cs
- _PooledStream.cs
- StateMachine.cs
- EmbossBitmapEffect.cs
- ScaleTransform3D.cs
- RepeaterDataBoundAdapter.cs
- ClientSettingsSection.cs
- ColorMatrix.cs
- Overlapped.cs
- ObjRef.cs
- FullTextBreakpoint.cs
- Brush.cs
- Dispatcher.cs
- BitmapInitialize.cs
- InvalidEnumArgumentException.cs
- FontDialog.cs
- TypeResolvingOptionsAttribute.cs
- DbProviderServices.cs
- XmlSchemaInclude.cs
- SimpleHandlerFactory.cs
- ResourceBinder.cs
- ResXResourceReader.cs
- PrimitiveType.cs
- ShaderRenderModeValidation.cs
- ToolStripComboBox.cs
- XmlLinkedNode.cs
- DeflateStream.cs
- SecurityIdentifierConverter.cs
- RegexCaptureCollection.cs
- LoginNameDesigner.cs
- Rule.cs
- ImageList.cs
- _KerberosClient.cs