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
- SamlAttribute.cs
- SystemKeyConverter.cs
- XamlToRtfParser.cs
- UrlPath.cs
- CodePropertyReferenceExpression.cs
- XPathNodeHelper.cs
- TreeViewImageIndexConverter.cs
- DBBindings.cs
- SQLUtility.cs
- Attributes.cs
- SymDocumentType.cs
- RotateTransform3D.cs
- TextLineResult.cs
- ExpressionVisitor.cs
- ByteAnimationBase.cs
- ClientFormsAuthenticationMembershipProvider.cs
- EntityExpressionVisitor.cs
- ViewService.cs
- WorkflowCommandExtensionItem.cs
- InheritablePropertyChangeInfo.cs
- RenameRuleObjectDialog.cs
- ConversionContext.cs
- DoubleUtil.cs
- httpapplicationstate.cs
- CssClassPropertyAttribute.cs
- FixedFindEngine.cs
- Int32AnimationBase.cs
- PrivilegedConfigurationManager.cs
- DeliveryStrategy.cs
- UserControlBuildProvider.cs
- TextServicesContext.cs
- DisplayMemberTemplateSelector.cs
- ChineseLunisolarCalendar.cs
- InfoCardXmlSerializer.cs
- EnvelopedPkcs7.cs
- SchemaMerger.cs
- Win32Exception.cs
- EmptyQuery.cs
- FunctionImportMapping.cs
- MethodAccessException.cs
- TableCell.cs
- ActivityExecutionWorkItem.cs
- EmptyEnumerator.cs
- SafeRightsManagementHandle.cs
- DbDataRecord.cs
- DataContractSerializerSection.cs
- ScriptingAuthenticationServiceSection.cs
- CompositionTarget.cs
- JsonUriDataContract.cs
- DelegateSerializationHolder.cs
- IIS7WorkerRequest.cs
- LayoutSettings.cs
- FixedSOMTableRow.cs
- sqlpipe.cs
- FontInfo.cs
- xmlsaver.cs
- SessionSwitchEventArgs.cs
- StorageEntitySetMapping.cs
- TypeDefinition.cs
- Parallel.cs
- TextTreeObjectNode.cs
- PeerChannelFactory.cs
- SecurityResources.cs
- EntityDataSourceContextCreatingEventArgs.cs
- CompilationSection.cs
- ListBoxChrome.cs
- DataMemberAttribute.cs
- AxisAngleRotation3D.cs
- XmlReflectionImporter.cs
- MessageFault.cs
- Tuple.cs
- LinqDataSourceInsertEventArgs.cs
- ApplicationDirectoryMembershipCondition.cs
- EntityObject.cs
- SystemPens.cs
- MessageDescription.cs
- DataViewManager.cs
- EmbeddedMailObjectsCollection.cs
- SignatureToken.cs
- URLAttribute.cs
- Suspend.cs
- EditCommandColumn.cs
- CoreSwitches.cs
- CreateUserWizardStep.cs
- ContextMenuStrip.cs
- UnsafeNativeMethodsTablet.cs
- XmlElementCollection.cs
- DocumentOrderQuery.cs
- Bezier.cs
- ImplicitInputBrush.cs
- HtmlInputText.cs
- Filter.cs
- ServiceHostingEnvironment.cs
- IpcClientManager.cs
- MSAAWinEventWrap.cs
- ListViewEditEventArgs.cs
- ScalarOps.cs
- ReferenceEqualityComparer.cs
- ipaddressinformationcollection.cs
- ObjectDataSourceView.cs