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
- ToolStripLabel.cs
- QilInvokeLateBound.cs
- Ref.cs
- WmpBitmapDecoder.cs
- XmlElementList.cs
- MemberExpression.cs
- ColumnHeaderConverter.cs
- SqlRewriteScalarSubqueries.cs
- ConfigUtil.cs
- KeyEvent.cs
- FeatureSupport.cs
- SocketAddress.cs
- StickyNoteContentControl.cs
- Int16.cs
- SystemGatewayIPAddressInformation.cs
- UserNameServiceElement.cs
- ChainOfResponsibility.cs
- Source.cs
- CursorConverter.cs
- XmlWriterSettings.cs
- ContainerTracking.cs
- OracleCommandBuilder.cs
- DetailsViewPageEventArgs.cs
- AxisAngleRotation3D.cs
- Misc.cs
- PersonalizationState.cs
- WindowsHyperlink.cs
- SystemDiagnosticsSection.cs
- MimeFormImporter.cs
- StylusButtonEventArgs.cs
- XsltContext.cs
- ContentPropertyAttribute.cs
- SafeMemoryMappedViewHandle.cs
- NegatedCellConstant.cs
- ToolboxCategory.cs
- CompoundFileStreamReference.cs
- ServiceManager.cs
- DragDropHelper.cs
- XmlJsonWriter.cs
- EmptyEnumerator.cs
- NodeFunctions.cs
- Vector3D.cs
- AdapterUtil.cs
- Attributes.cs
- DocobjHost.cs
- Package.cs
- DataReaderContainer.cs
- DesignerActionKeyboardBehavior.cs
- PolyLineSegmentFigureLogic.cs
- SerializationStore.cs
- CategoryNameCollection.cs
- MetadataArtifactLoader.cs
- DynamicValidatorEventArgs.cs
- InheritanceRules.cs
- ConnectionPool.cs
- OneWayChannelListener.cs
- WebBrowserPermission.cs
- TemplatePropertyEntry.cs
- ExtensionFile.cs
- EncryptedXml.cs
- Single.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- Image.cs
- EdmEntityTypeAttribute.cs
- ParagraphResult.cs
- BitmapCodecInfoInternal.cs
- HttpClientCertificate.cs
- DataTableTypeConverter.cs
- TransactedBatchingElement.cs
- InstanceCreationEditor.cs
- ToolStripGrip.cs
- ChangeDirector.cs
- DockPanel.cs
- AsyncStreamReader.cs
- ComponentChangedEvent.cs
- SmtpMail.cs
- WorkItem.cs
- TableProviderWrapper.cs
- ReflectionServiceProvider.cs
- NGCSerializationManagerAsync.cs
- BoundingRectTracker.cs
- _NestedSingleAsyncResult.cs
- TemplateEditingFrame.cs
- SourceFileInfo.cs
- Emitter.cs
- PopupEventArgs.cs
- CodeBinaryOperatorExpression.cs
- ToolStripRenderEventArgs.cs
- ThicknessAnimationBase.cs
- WebHttpSecurity.cs
- XmlFormatExtensionAttribute.cs
- WindowShowOrOpenTracker.cs
- SessionEndedEventArgs.cs
- ContentElement.cs
- ComponentResourceKeyConverter.cs
- PersonalizationStateInfoCollection.cs
- DataServiceRequestException.cs
- SR.cs
- WebResourceAttribute.cs
- ContentType.cs