Code:
/ DotNET / DotNET / 8.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RotateTransform.cs
- PeerCollaborationPermission.cs
- MethodImplAttribute.cs
- Logging.cs
- AssemblyFilter.cs
- LowerCaseStringConverter.cs
- TableItemStyle.cs
- ComponentDispatcher.cs
- HtmlTable.cs
- DocumentViewerAutomationPeer.cs
- loginstatus.cs
- SourceFileBuildProvider.cs
- TemplatedWizardStep.cs
- DrawingContextDrawingContextWalker.cs
- XmlArrayItemAttributes.cs
- RemotingConfiguration.cs
- DirectoryObjectSecurity.cs
- PathSegment.cs
- XmlSchemaSimpleContentExtension.cs
- PublisherIdentityPermission.cs
- WebBrowserNavigatingEventHandler.cs
- FtpRequestCacheValidator.cs
- ColumnResizeUndoUnit.cs
- MouseCaptureWithinProperty.cs
- InvalidOleVariantTypeException.cs
- CommandPlan.cs
- QueryStringParameter.cs
- ArgIterator.cs
- LexicalChunk.cs
- PolicyAssertionCollection.cs
- CmsInterop.cs
- _TransmitFileOverlappedAsyncResult.cs
- shaperfactory.cs
- TemplatePagerField.cs
- ConnectionManagementElement.cs
- EventTrigger.cs
- Baml2006KeyRecord.cs
- CodeObjectCreateExpression.cs
- ViewPort3D.cs
- SqlGatherConsumedAliases.cs
- ResourceDisplayNameAttribute.cs
- WebHttpBehavior.cs
- HtmlFormWrapper.cs
- TextureBrush.cs
- PointAnimationUsingKeyFrames.cs
- TemplatePropertyEntry.cs
- NonSerializedAttribute.cs
- WindowsImpersonationContext.cs
- Identity.cs
- WindowsBrush.cs
- CorrelationManager.cs
- PointHitTestParameters.cs
- ApplicationProxyInternal.cs
- HttpApplication.cs
- GatewayIPAddressInformationCollection.cs
- HashMembershipCondition.cs
- RootBuilder.cs
- TextParaLineResult.cs
- ServiceParser.cs
- DictionaryBase.cs
- Queue.cs
- PropertyRef.cs
- PageHandlerFactory.cs
- FastEncoder.cs
- FixedPageAutomationPeer.cs
- Timeline.cs
- CodeCompiler.cs
- TraceUtility.cs
- RestClientProxyHandler.cs
- DtdParser.cs
- PolicyDesigner.cs
- TypeToken.cs
- EntityDataSourceContextDisposingEventArgs.cs
- DeobfuscatingStream.cs
- XmlDomTextWriter.cs
- ToolStripPanelCell.cs
- ValidatorCompatibilityHelper.cs
- CommandField.cs
- ComponentRenameEvent.cs
- RegexCapture.cs
- ProfessionalColorTable.cs
- SystemFonts.cs
- BreakRecordTable.cs
- ToolStripPanelDesigner.cs
- BrowserDefinitionCollection.cs
- RadioButtonList.cs
- SingleKeyFrameCollection.cs
- StoragePropertyMapping.cs
- __Filters.cs
- ExpiredSecurityTokenException.cs
- FrameworkElementFactoryMarkupObject.cs
- LowerCaseStringConverter.cs
- BitmapEffectvisualstate.cs
- CompilationUtil.cs
- AssemblySettingAttributes.cs
- BoolExpression.cs
- CollectionViewProxy.cs
- DataSpaceManager.cs
- ServiceOperationViewControl.cs
- CfgArc.cs