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
- SharedPersonalizationStateInfo.cs
- WebBrowserPermission.cs
- Missing.cs
- DiscardableAttribute.cs
- SmiMetaData.cs
- CrossAppDomainChannel.cs
- JsonWriterDelegator.cs
- HttpException.cs
- ParameterToken.cs
- CredentialCache.cs
- ZipArchive.cs
- Vector3dCollection.cs
- NCryptSafeHandles.cs
- SyndicationContent.cs
- QuotedPrintableStream.cs
- MissingMemberException.cs
- NetCodeGroup.cs
- CompleteWizardStep.cs
- Part.cs
- OleStrCAMarshaler.cs
- StylusCollection.cs
- LongTypeConverter.cs
- WebPartAuthorizationEventArgs.cs
- DbParameterCollection.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- DefinitionUpdate.cs
- TextSelectionHighlightLayer.cs
- HttpConfigurationSystem.cs
- PropVariant.cs
- CachedPathData.cs
- rsa.cs
- DataSourceCacheDurationConverter.cs
- TransactionOptions.cs
- GreenMethods.cs
- XmlMtomReader.cs
- ListSourceHelper.cs
- QilUnary.cs
- XmlCharCheckingWriter.cs
- DataGridViewTopLeftHeaderCell.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- SelectorItemAutomationPeer.cs
- ConstructorNeedsTagAttribute.cs
- BevelBitmapEffect.cs
- smtppermission.cs
- DesignerUtility.cs
- AudioException.cs
- TreeViewImageIndexConverter.cs
- CssStyleCollection.cs
- Point4D.cs
- HashHelper.cs
- ICollection.cs
- UrlMappingCollection.cs
- BindableAttribute.cs
- XslUrlEditor.cs
- SiteMapNode.cs
- HostingEnvironmentException.cs
- Int16AnimationBase.cs
- StateMachineExecutionState.cs
- ItemCollection.cs
- RequestSecurityTokenSerializer.cs
- BaseAddressPrefixFilterElementCollection.cs
- TextWriter.cs
- SqlFileStream.cs
- TextAutomationPeer.cs
- EventLogException.cs
- RuleSettingsCollection.cs
- CaseStatement.cs
- UrlMapping.cs
- HtmlButton.cs
- compensatingcollection.cs
- RegexRunner.cs
- QilExpression.cs
- XPathDocumentNavigator.cs
- KeyedCollection.cs
- TextRangeBase.cs
- DataGridViewColumnStateChangedEventArgs.cs
- QilPatternFactory.cs
- CountAggregationOperator.cs
- PrintDialog.cs
- LoadWorkflowAsyncResult.cs
- CodeAttributeArgumentCollection.cs
- BoolExpressionVisitors.cs
- ProcessInfo.cs
- oledbmetadatacollectionnames.cs
- SemanticAnalyzer.cs
- InheritanceAttribute.cs
- DataListItem.cs
- SubqueryRules.cs
- basemetadatamappingvisitor.cs
- SystemWebSectionGroup.cs
- TemplateBindingExtension.cs
- PointCollectionConverter.cs
- RecordsAffectedEventArgs.cs
- SystemIPInterfaceStatistics.cs
- MeshGeometry3D.cs
- Line.cs
- DataGridColumnCollection.cs
- AxisAngleRotation3D.cs
- PointAnimationUsingKeyFrames.cs
- PlanCompiler.cs