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 / PhonemeEventArgs.cs / 1 / PhonemeEventArgs.cs
//------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- #if !SPEECHSERVER using System; namespace System.Speech.Synthesis { ////// Summary description for PhonemeEventArgs. /// public class PhonemeReachedEventArgs : PromptEventArgs { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors ////// TODOC /// /// /// /// /// /// /// internal PhonemeReachedEventArgs (Prompt prompt, string currentPhoneme, TimeSpan audioPosition, TimeSpan duration, SynthesizerEmphasis emphasis, string nextPhoneme) : base(prompt) { _currentPhoneme = currentPhoneme; _audioPosition = audioPosition; _duration = duration; _emphasis = emphasis; _nextPhoneme = nextPhoneme; } #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region Public Properties ////// TODOC /// ///public string Phoneme { get { return _currentPhoneme; } } /// /// TODOC /// ///public TimeSpan AudioPosition { get { return _audioPosition; } } /// /// TODOC /// ///public TimeSpan Duration { get { return _duration; } } /// /// TODOC /// ///public SynthesizerEmphasis Emphasis { get { return _emphasis; } } /// /// TODOC /// ///public string NextPhoneme { get { return _nextPhoneme; } } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields // Current phoneme being synthesized private string _currentPhoneme; // Audio position of current phoneme private TimeSpan _audioPosition; // Duration of current phoneme private TimeSpan _duration; // Features of the current phoneme private SynthesizerEmphasis _emphasis; // Next phoneme to be synthesized private string _nextPhoneme; #endregion } } #endif // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- #if !SPEECHSERVER using System; namespace System.Speech.Synthesis { ////// Summary description for PhonemeEventArgs. /// public class PhonemeReachedEventArgs : PromptEventArgs { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors ////// TODOC /// /// /// /// /// /// /// internal PhonemeReachedEventArgs (Prompt prompt, string currentPhoneme, TimeSpan audioPosition, TimeSpan duration, SynthesizerEmphasis emphasis, string nextPhoneme) : base(prompt) { _currentPhoneme = currentPhoneme; _audioPosition = audioPosition; _duration = duration; _emphasis = emphasis; _nextPhoneme = nextPhoneme; } #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region Public Properties ////// TODOC /// ///public string Phoneme { get { return _currentPhoneme; } } /// /// TODOC /// ///public TimeSpan AudioPosition { get { return _audioPosition; } } /// /// TODOC /// ///public TimeSpan Duration { get { return _duration; } } /// /// TODOC /// ///public SynthesizerEmphasis Emphasis { get { return _emphasis; } } /// /// TODOC /// ///public string NextPhoneme { get { return _nextPhoneme; } } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields // Current phoneme being synthesized private string _currentPhoneme; // Audio position of current phoneme private TimeSpan _audioPosition; // Duration of current phoneme private TimeSpan _duration; // Features of the current phoneme private SynthesizerEmphasis _emphasis; // Next phoneme to be synthesized private string _nextPhoneme; #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
- XmlWrappingReader.cs
- KnownBoxes.cs
- Msmq4PoisonHandler.cs
- Queue.cs
- RenderingBiasValidation.cs
- HandlerBase.cs
- SessionEndingCancelEventArgs.cs
- ServiceCredentialsElement.cs
- ActivityTrace.cs
- ExtensionQuery.cs
- XmlHierarchicalDataSourceView.cs
- HttpContext.cs
- Evidence.cs
- InputBuffer.cs
- CollectionViewGroupInternal.cs
- EmptyEnumerable.cs
- dbenumerator.cs
- MeshGeometry3D.cs
- FlowLayoutSettings.cs
- Paragraph.cs
- EntityDataSourceConfigureObjectContext.cs
- PropertyTabAttribute.cs
- Popup.cs
- ProxyAssemblyNotLoadedException.cs
- SqlComparer.cs
- TypeToTreeConverter.cs
- ImageSource.cs
- EntityDescriptor.cs
- EntitySet.cs
- ImageConverter.cs
- PromptBuilder.cs
- CodeObjectCreateExpression.cs
- MediaTimeline.cs
- SqlRemoveConstantOrderBy.cs
- PerformanceCounterPermissionAttribute.cs
- SetterBase.cs
- Line.cs
- TypeInfo.cs
- WebResourceUtil.cs
- ICspAsymmetricAlgorithm.cs
- CommonProperties.cs
- OuterGlowBitmapEffect.cs
- SoapServerMethod.cs
- _UriSyntax.cs
- BoundPropertyEntry.cs
- Row.cs
- TextEditorTyping.cs
- ZipFileInfoCollection.cs
- Application.cs
- InstanceDataCollectionCollection.cs
- precedingquery.cs
- CachedPathData.cs
- PriorityItem.cs
- WinCategoryAttribute.cs
- TextDecorations.cs
- DataGridViewCheckBoxCell.cs
- Transform3DGroup.cs
- ECDiffieHellmanPublicKey.cs
- FullTrustAssembly.cs
- DataDocumentXPathNavigator.cs
- Stroke2.cs
- EntityContainerAssociationSet.cs
- SimpleModelProvider.cs
- DataServiceContext.cs
- ClrPerspective.cs
- RuntimeEnvironment.cs
- BitmapEffectGroup.cs
- GridViewRowPresenterBase.cs
- ApplicationTrust.cs
- TextHidden.cs
- Verify.cs
- CssClassPropertyAttribute.cs
- RectangleConverter.cs
- UrlPropertyAttribute.cs
- MissingSatelliteAssemblyException.cs
- XslTransform.cs
- XPathSingletonIterator.cs
- CompilerLocalReference.cs
- ObjectRef.cs
- X509Extension.cs
- OrthographicCamera.cs
- DecoderFallbackWithFailureFlag.cs
- GC.cs
- PermissionToken.cs
- NavigationExpr.cs
- ErrorWrapper.cs
- EventBuilder.cs
- DockAndAnchorLayout.cs
- SqlUtils.cs
- DESCryptoServiceProvider.cs
- FixedTextView.cs
- X500Name.cs
- ColumnResizeUndoUnit.cs
- DataGridViewIntLinkedList.cs
- ArrangedElement.cs
- RoutedUICommand.cs
- BaseDataList.cs
- MexBindingElement.cs
- SqlConnectionFactory.cs
- RelOps.cs