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
- ListViewInsertionMark.cs
- VisualTreeUtils.cs
- GridViewColumnCollectionChangedEventArgs.cs
- EventsTab.cs
- TransformGroup.cs
- SyntaxCheck.cs
- StringReader.cs
- XmlCustomFormatter.cs
- GridItemProviderWrapper.cs
- ColorTranslator.cs
- MergeFilterQuery.cs
- ExpressionReplacer.cs
- Cursors.cs
- SyntaxCheck.cs
- TextStore.cs
- FontStretch.cs
- InlineObject.cs
- SkipStoryboardToFill.cs
- FormatConvertedBitmap.cs
- MemberInfoSerializationHolder.cs
- SizeIndependentAnimationStorage.cs
- AxisAngleRotation3D.cs
- ColumnResizeUndoUnit.cs
- ManifestResourceInfo.cs
- WebRequestModuleElementCollection.cs
- SequentialOutput.cs
- SerializerWriterEventHandlers.cs
- TransportConfigurationTypeElementCollection.cs
- ScriptingWebServicesSectionGroup.cs
- GZipDecoder.cs
- SetStateDesigner.cs
- HandlerWithFactory.cs
- DataGridViewBand.cs
- EventlogProvider.cs
- NavigationCommands.cs
- CodeGeneratorAttribute.cs
- VideoDrawing.cs
- CompilerCollection.cs
- EntityReference.cs
- Aggregates.cs
- VectorCollection.cs
- CodeCompiler.cs
- ScaleTransform3D.cs
- AttributeCollection.cs
- ImportedNamespaceContextItem.cs
- ContainerControl.cs
- coordinator.cs
- HuffModule.cs
- SerializationStore.cs
- XmlProcessingInstruction.cs
- TypeUtil.cs
- CloudCollection.cs
- ListView.cs
- CodeTypeDeclaration.cs
- HtmlTextBoxAdapter.cs
- DecoderReplacementFallback.cs
- ObjectViewEntityCollectionData.cs
- SpellerError.cs
- OneWayBindingElementImporter.cs
- ClassGenerator.cs
- ContextInformation.cs
- FilterableData.cs
- Vector3DAnimationUsingKeyFrames.cs
- BinaryWriter.cs
- JsonQueryStringConverter.cs
- DetailsViewInsertedEventArgs.cs
- ConfigurationCollectionAttribute.cs
- QuaternionKeyFrameCollection.cs
- infer.cs
- StrongNameKeyPair.cs
- DefaultWorkflowTransactionService.cs
- DataGridViewComboBoxCell.cs
- TypeDescriptorContext.cs
- AsyncCallback.cs
- CodeIdentifier.cs
- Int32Converter.cs
- VirtualizedCellInfoCollection.cs
- XmlDeclaration.cs
- EventLogEntry.cs
- ScriptBehaviorDescriptor.cs
- OrderPreservingSpoolingTask.cs
- WebChannelFactory.cs
- BrowserCapabilitiesFactory.cs
- MouseButtonEventArgs.cs
- PeerNameResolver.cs
- AncestorChangedEventArgs.cs
- XmlSchemaAppInfo.cs
- ApplicationSecurityInfo.cs
- TextDecoration.cs
- PropertyDescriptorCollection.cs
- SafeNativeMemoryHandle.cs
- BamlCollectionHolder.cs
- KeyPressEvent.cs
- ObjectAnimationBase.cs
- Section.cs
- XPathDescendantIterator.cs
- MessageQueueCriteria.cs
- XDeferredAxisSource.cs
- HMACMD5.cs
- DeclaredTypeValidator.cs