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
- DecimalConstantAttribute.cs
- XmlSchemaAppInfo.cs
- TagMapInfo.cs
- Win32.cs
- DesignerObjectListAdapter.cs
- TemplateGroupCollection.cs
- ParentUndoUnit.cs
- ObsoleteAttribute.cs
- ThreadExceptionEvent.cs
- NotifyInputEventArgs.cs
- Flowchart.cs
- SendMessageRecord.cs
- PropertyManager.cs
- Int16.cs
- DetailsViewUpdatedEventArgs.cs
- TableCell.cs
- MultipartContentParser.cs
- AdPostCacheSubstitution.cs
- ThreadStateException.cs
- BuildProvider.cs
- SR.cs
- GlyphCache.cs
- ECDiffieHellman.cs
- ProviderConnectionPointCollection.cs
- PropertyEntry.cs
- XmlSchemaParticle.cs
- InheritanceAttribute.cs
- PrintDialog.cs
- TableDetailsCollection.cs
- _DomainName.cs
- MutexSecurity.cs
- PageWrapper.cs
- InternalConfigRoot.cs
- ComplexBindingPropertiesAttribute.cs
- CellConstantDomain.cs
- MenuItem.cs
- ScaleTransform3D.cs
- DrawingGroup.cs
- Timer.cs
- FlowPanelDesigner.cs
- CodeDomConfigurationHandler.cs
- OdbcConnectionHandle.cs
- HttpWebRequestElement.cs
- ToolTip.cs
- GridViewDesigner.cs
- LinkedResource.cs
- TemplatedWizardStep.cs
- SqlUserDefinedAggregateAttribute.cs
- ErasingStroke.cs
- SingleTagSectionHandler.cs
- UnsafeNativeMethods.cs
- RichTextBox.cs
- SqlCaseSimplifier.cs
- OperationCanceledException.cs
- XmlBoundElement.cs
- EncodingInfo.cs
- ModuleElement.cs
- safePerfProviderHandle.cs
- _Events.cs
- AsymmetricSignatureFormatter.cs
- XmlSiteMapProvider.cs
- IsolatedStorageFile.cs
- TreeNodeCollection.cs
- Range.cs
- SettingsProperty.cs
- CatalogZone.cs
- SetIndexBinder.cs
- SignedXml.cs
- HelpEvent.cs
- WebPartManager.cs
- CollectionBuilder.cs
- DataMemberFieldEditor.cs
- WindowsClaimSet.cs
- EntityCollection.cs
- XmlEnumAttribute.cs
- SqlVersion.cs
- MimeFormatExtensions.cs
- SimpleBitVector32.cs
- EventSourceCreationData.cs
- PersistChildrenAttribute.cs
- XmlAtomErrorReader.cs
- Visual3DCollection.cs
- Automation.cs
- TypographyProperties.cs
- Vector3DCollectionConverter.cs
- ScriptingWebServicesSectionGroup.cs
- HyperLink.cs
- MissingMemberException.cs
- PipelineModuleStepContainer.cs
- BitmapEditor.cs
- AtomMaterializerLog.cs
- SqlConnectionPoolGroupProviderInfo.cs
- CompatibleComparer.cs
- SafeEventLogWriteHandle.cs
- ISAPIApplicationHost.cs
- XmlIlTypeHelper.cs
- DrawingCollection.cs
- WindowShowOrOpenTracker.cs
- UnsafeNativeMethods.cs
- SafeNativeMethods.cs