Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / 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
- HotSpotCollection.cs
- BackEase.cs
- ScrollViewerAutomationPeer.cs
- OpenTypeMethods.cs
- ContainerParagraph.cs
- ButtonField.cs
- BamlMapTable.cs
- SelectorItemAutomationPeer.cs
- ObjectReferenceStack.cs
- MetabaseServerConfig.cs
- CqlParser.cs
- SiteMapNode.cs
- DbXmlEnabledProviderManifest.cs
- TableProvider.cs
- DefaultProxySection.cs
- PreApplicationStartMethodAttribute.cs
- ClrProviderManifest.cs
- TextBoxAutoCompleteSourceConverter.cs
- UpDownEvent.cs
- ExtensionWindowResizeGrip.cs
- SchemaConstraints.cs
- WebPartMinimizeVerb.cs
- Equal.cs
- GridViewDeleteEventArgs.cs
- dataobject.cs
- UserControlBuildProvider.cs
- OdbcException.cs
- Range.cs
- HttpPostLocalhostServerProtocol.cs
- HtmlWindowCollection.cs
- ColorTranslator.cs
- IdentityValidationException.cs
- NavigationPropertyAccessor.cs
- ApplicationSettingsBase.cs
- RootContext.cs
- TemplateControlParser.cs
- LogRestartAreaEnumerator.cs
- Error.cs
- LinkDescriptor.cs
- ContractCodeDomInfo.cs
- MethodCallTranslator.cs
- ContextStaticAttribute.cs
- UInt32Converter.cs
- PassportAuthenticationModule.cs
- Comparer.cs
- SoundPlayer.cs
- DesigntimeLicenseContext.cs
- _ProxyRegBlob.cs
- DataGridViewButtonColumn.cs
- UrlPropertyAttribute.cs
- FolderBrowserDialog.cs
- OperationContractGenerationContext.cs
- RemoveStoryboard.cs
- CheckBoxRenderer.cs
- DecoderReplacementFallback.cs
- IteratorFilter.cs
- _ListenerResponseStream.cs
- SHA512Managed.cs
- SecurityContext.cs
- TextCharacters.cs
- GatewayDefinition.cs
- AmbientProperties.cs
- Process.cs
- ReadOnlyObservableCollection.cs
- ElementsClipboardData.cs
- ConstraintConverter.cs
- PackageProperties.cs
- ScriptModule.cs
- TextEndOfLine.cs
- XmlAnyElementAttribute.cs
- ClientProxyGenerator.cs
- QueryCursorEventArgs.cs
- ImmutableObjectAttribute.cs
- PeerNameResolver.cs
- AutomationPeer.cs
- FixedSOMTextRun.cs
- ColorTranslator.cs
- CqlLexerHelpers.cs
- SamlSubject.cs
- PerfCounters.cs
- Matrix3D.cs
- NonVisualControlAttribute.cs
- DebugHandleTracker.cs
- BasicExpandProvider.cs
- CharAnimationBase.cs
- RtfToken.cs
- RegexInterpreter.cs
- grammarelement.cs
- MailMessage.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- DatePicker.cs
- String.cs
- PackWebResponse.cs
- FixedSOMContainer.cs
- SuppressMergeCheckAttribute.cs
- HostedElements.cs
- Expression.cs
- Privilege.cs
- LoginViewDesigner.cs
- LineServicesRun.cs