Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / 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
- NonBatchDirectoryCompiler.cs
- WinFormsSpinner.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- FormViewDeleteEventArgs.cs
- VirtualPathProvider.cs
- DiscoveryReferences.cs
- WebPartConnectionsEventArgs.cs
- TablePatternIdentifiers.cs
- SrgsOneOf.cs
- ExpressionNormalizer.cs
- AspNetHostingPermission.cs
- GridPattern.cs
- WebReferencesBuildProvider.cs
- DelegatingStream.cs
- D3DImage.cs
- SafeArrayTypeMismatchException.cs
- MobileCategoryAttribute.cs
- FixedPageStructure.cs
- URLMembershipCondition.cs
- ProxyOperationRuntime.cs
- SettingsPropertyNotFoundException.cs
- MailHeaderInfo.cs
- OleDbInfoMessageEvent.cs
- HttpServerVarsCollection.cs
- StructuralObject.cs
- UriWriter.cs
- ExceptionWrapper.cs
- ApplicationTrust.cs
- NetMsmqBindingElement.cs
- base64Transforms.cs
- FilteredSchemaElementLookUpTable.cs
- MarkupProperty.cs
- ListenerAdapter.cs
- DecoderFallback.cs
- StorageTypeMapping.cs
- ResXBuildProvider.cs
- MetadataItemSerializer.cs
- CachedFontFace.cs
- RegexCapture.cs
- MiniModule.cs
- DataGridAddNewRow.cs
- WebPartVerb.cs
- ConfigurationStrings.cs
- InvalidEnumArgumentException.cs
- ZipFileInfoCollection.cs
- Utility.cs
- LineGeometry.cs
- DesignTimeParseData.cs
- printdlgexmarshaler.cs
- OraclePermissionAttribute.cs
- FileSystemInfo.cs
- GenericIdentity.cs
- NavigatorOutput.cs
- TextBoxRenderer.cs
- HandlerBase.cs
- EditingScopeUndoUnit.cs
- RtfFormatStack.cs
- XsltException.cs
- EmbeddedObject.cs
- Visitors.cs
- UInt16Storage.cs
- TargetPerspective.cs
- RayMeshGeometry3DHitTestResult.cs
- CodeAccessPermission.cs
- ISFClipboardData.cs
- PrePrepareMethodAttribute.cs
- ElapsedEventArgs.cs
- SystemResourceKey.cs
- AssemblyBuilder.cs
- DataMember.cs
- HitTestWithPointDrawingContextWalker.cs
- MemberHolder.cs
- CodeMethodInvokeExpression.cs
- ProcessHostConfigUtils.cs
- DBNull.cs
- RadioButtonPopupAdapter.cs
- HttpModulesSection.cs
- DetectEofStream.cs
- ObjectNotFoundException.cs
- ThreadInterruptedException.cs
- IsolatedStorageFilePermission.cs
- TempEnvironment.cs
- TreeSet.cs
- DragEvent.cs
- ErrorWebPart.cs
- assertwrapper.cs
- OutputScopeManager.cs
- DataGridViewCellParsingEventArgs.cs
- ApplicationSecurityManager.cs
- TypeDependencyAttribute.cs
- AnnotationHelper.cs
- ComponentEvent.cs
- Rotation3DKeyFrameCollection.cs
- WindowsFont.cs
- SystemGatewayIPAddressInformation.cs
- WebPartManager.cs
- PartialCachingAttribute.cs
- SqlOuterApplyReducer.cs
- DataTable.cs
- HtmlInputImage.cs