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
- BooleanAnimationBase.cs
- UnitySerializationHolder.cs
- WriteFileContext.cs
- Brush.cs
- UpDownEvent.cs
- Hyperlink.cs
- FragmentQueryKB.cs
- EventLogPermissionAttribute.cs
- SHA384Managed.cs
- RenameRuleObjectDialog.cs
- IOThreadTimer.cs
- HttpPostedFile.cs
- ApplicationFileParser.cs
- CodeCastExpression.cs
- DataTableCollection.cs
- WebEventCodes.cs
- ConfigViewGenerator.cs
- DataDocumentXPathNavigator.cs
- NavigationPropertyEmitter.cs
- EntityParameterCollection.cs
- InputReportEventArgs.cs
- AdornerLayer.cs
- Substitution.cs
- TreeNodeBindingCollection.cs
- RestHandler.cs
- RootProfilePropertySettingsCollection.cs
- DataGridViewSortCompareEventArgs.cs
- SparseMemoryStream.cs
- SetIndexBinder.cs
- DataSourceHelper.cs
- RegexMatch.cs
- FlowDocumentFormatter.cs
- AnnotationResource.cs
- JulianCalendar.cs
- InvalidEnumArgumentException.cs
- PageParser.cs
- DispatchProxy.cs
- SeverityFilter.cs
- ObjectComplexPropertyMapping.cs
- CodeBinaryOperatorExpression.cs
- SrgsElementFactory.cs
- KeyGesture.cs
- EntityContainerEntitySet.cs
- RtfControls.cs
- ComAwareEventInfo.cs
- ApplicationFileParser.cs
- RequestQueue.cs
- Popup.cs
- WebPartZone.cs
- securitycriticaldataformultiplegetandset.cs
- ActivityMarkupSerializationProvider.cs
- MemoryMappedViewStream.cs
- CodeAssignStatement.cs
- TextRenderingModeValidation.cs
- ResourceReferenceExpressionConverter.cs
- DataGridViewImageColumn.cs
- HttpApplicationStateWrapper.cs
- GetReadStreamResult.cs
- InfiniteIntConverter.cs
- IIS7WorkerRequest.cs
- DataGridViewAccessibleObject.cs
- SessionPageStateSection.cs
- XmlSerializationGeneratedCode.cs
- XmlSchemaSimpleTypeList.cs
- AppDomainFactory.cs
- IItemContainerGenerator.cs
- EventOpcode.cs
- ClientCredentials.cs
- WebPartMenuStyle.cs
- RelationalExpressions.cs
- MouseEvent.cs
- Panel.cs
- PropertyToken.cs
- BStrWrapper.cs
- Set.cs
- ProcessModelInfo.cs
- RoleGroupCollectionEditor.cs
- NativeMethods.cs
- TraceSwitch.cs
- IntegerValidatorAttribute.cs
- Single.cs
- DateTimeFormatInfoScanner.cs
- WindowInteropHelper.cs
- IntSecurity.cs
- ReferenceSchema.cs
- DataServiceQueryOfT.cs
- OleDbSchemaGuid.cs
- ProcessHostMapPath.cs
- Duration.cs
- GeneratedContractType.cs
- WinFormsComponentEditor.cs
- FigureParagraph.cs
- Rotation3D.cs
- DbDataReader.cs
- HtmlString.cs
- ScriptingScriptResourceHandlerSection.cs
- ResXResourceWriter.cs
- Type.cs
- CompositeFontInfo.cs
- SqlConnection.cs