Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / 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
- SerialPinChanges.cs
- Matrix3D.cs
- MenuItemCollection.cs
- ScriptHandlerFactory.cs
- Nullable.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- DataMemberAttribute.cs
- StackBuilderSink.cs
- BitmapFrameEncode.cs
- StateRuntime.cs
- Keyboard.cs
- ListItemConverter.cs
- CryptographicAttribute.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- NetPipeSection.cs
- KeySpline.cs
- BindingSourceDesigner.cs
- ListViewItem.cs
- XmlSchemaSubstitutionGroup.cs
- Quaternion.cs
- AssemblyCache.cs
- Types.cs
- NetDataContractSerializer.cs
- DataGridViewMethods.cs
- CodeMemberEvent.cs
- Win32Native.cs
- SeparatorAutomationPeer.cs
- StateFinalizationDesigner.cs
- IdnMapping.cs
- Operators.cs
- GACMembershipCondition.cs
- SiteOfOriginPart.cs
- NetDataContractSerializer.cs
- Timeline.cs
- IisTraceWebEventProvider.cs
- ChangeInterceptorAttribute.cs
- DataGridViewTopRowAccessibleObject.cs
- GridEntryCollection.cs
- PageTheme.cs
- Mappings.cs
- TimeStampChecker.cs
- IpcPort.cs
- BrushValueSerializer.cs
- XmlWriterTraceListener.cs
- ClientRolePrincipal.cs
- DispatcherEventArgs.cs
- OrthographicCamera.cs
- SoapSchemaImporter.cs
- OperandQuery.cs
- HttpInputStream.cs
- AuthenticationConfig.cs
- SqlErrorCollection.cs
- PolicyValidationException.cs
- SHA512.cs
- DataGridViewRowPrePaintEventArgs.cs
- EncoderParameter.cs
- QilChoice.cs
- AppearanceEditorPart.cs
- TextRangeEdit.cs
- SelectedCellsChangedEventArgs.cs
- XmlWellformedWriterHelpers.cs
- HttpCacheVary.cs
- InfoCardKeyedHashAlgorithm.cs
- ConfigXmlWhitespace.cs
- RegisteredDisposeScript.cs
- SharedStatics.cs
- UnmanagedMemoryStreamWrapper.cs
- ModelEditingScope.cs
- QilList.cs
- PrintSchema.cs
- FixedDSBuilder.cs
- HMACMD5.cs
- DashStyle.cs
- FileVersion.cs
- DataControlField.cs
- RowToParametersTransformer.cs
- SafeCryptContextHandle.cs
- BindingSourceDesigner.cs
- WebPartsPersonalization.cs
- WebServicesSection.cs
- XmlElementElement.cs
- ListenDesigner.cs
- Listbox.cs
- MsmqChannelListenerBase.cs
- ToolStripSeparator.cs
- CompositeActivityCodeGenerator.cs
- NativeMethods.cs
- BuildTopDownAttribute.cs
- CompositeActivityValidator.cs
- EventToken.cs
- SetterTriggerConditionValueConverter.cs
- DoubleUtil.cs
- InputScopeConverter.cs
- VersionPair.cs
- DataGridAutoFormatDialog.cs
- MsmqHostedTransportConfiguration.cs
- RSACryptoServiceProvider.cs
- NonBatchDirectoryCompiler.cs
- BaseParaClient.cs
- Processor.cs