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
- DBCSCodePageEncoding.cs
- OleStrCAMarshaler.cs
- UserInitiatedNavigationPermission.cs
- StreamGeometry.cs
- BamlRecords.cs
- RegexInterpreter.cs
- PublishLicense.cs
- DoWhileDesigner.xaml.cs
- ProjectionCamera.cs
- TextBox.cs
- ModifiableIteratorCollection.cs
- SqlBulkCopyColumnMappingCollection.cs
- DrawingBrush.cs
- Win32MouseDevice.cs
- PropertyGridCommands.cs
- DynamicQueryableWrapper.cs
- StaticResourceExtension.cs
- ReplyChannelBinder.cs
- OdbcInfoMessageEvent.cs
- UserControl.cs
- PointLightBase.cs
- RowSpanVector.cs
- SingleStorage.cs
- AssertFilter.cs
- CompilerErrorCollection.cs
- Odbc32.cs
- DataGridViewSelectedColumnCollection.cs
- SqlTrackingQuery.cs
- SHA512Managed.cs
- ByteStorage.cs
- APCustomTypeDescriptor.cs
- DbConnectionPoolGroup.cs
- SplineKeyFrames.cs
- SettingsPropertyValue.cs
- EditorBrowsableAttribute.cs
- Odbc32.cs
- ProjectedSlot.cs
- SafeThreadHandle.cs
- RegexCode.cs
- TypeUtils.cs
- FileEnumerator.cs
- OverlappedAsyncResult.cs
- versioninfo.cs
- TextPenaltyModule.cs
- BrushValueSerializer.cs
- AstNode.cs
- VariableQuery.cs
- CatalogPartDesigner.cs
- PocoPropertyAccessorStrategy.cs
- DynamicUpdateCommand.cs
- PrintDocument.cs
- SessionStateSection.cs
- HtmlSelectionListAdapter.cs
- WebGetAttribute.cs
- BrowserDefinition.cs
- ExtentKey.cs
- RuntimeWrappedException.cs
- DrawToolTipEventArgs.cs
- DetailsViewCommandEventArgs.cs
- MeasureData.cs
- ProviderConnectionPoint.cs
- RuleEngine.cs
- EditBehavior.cs
- PrimaryKeyTypeConverter.cs
- EditorPartCollection.cs
- XmlFileEditor.cs
- EntityDataSourceQueryBuilder.cs
- File.cs
- ProviderSettingsCollection.cs
- InfoCardHelper.cs
- ControlIdConverter.cs
- RadioButtonFlatAdapter.cs
- WebServiceFault.cs
- TagMapCollection.cs
- WebBrowserPermission.cs
- MatrixAnimationUsingKeyFrames.cs
- SourceExpressionException.cs
- LeaseManager.cs
- milexports.cs
- Wildcard.cs
- X509Chain.cs
- FloaterParaClient.cs
- XmlILStorageConverter.cs
- EditorAttribute.cs
- XmlUtil.cs
- Color.cs
- ExtensionQuery.cs
- Button.cs
- GridViewRow.cs
- CodePrimitiveExpression.cs
- TracingConnectionInitiator.cs
- Console.cs
- BaseDataListDesigner.cs
- ListViewSortEventArgs.cs
- DeclarativeCatalogPart.cs
- DeploymentSection.cs
- RestClientProxyHandler.cs
- DataObjectAttribute.cs
- ToolStripContentPanelRenderEventArgs.cs
- EastAsianLunisolarCalendar.cs