Code:
/ DotNET / DotNET / 8.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- VolatileEnlistmentState.cs
- RuntimeHelpers.cs
- Polygon.cs
- PresentationSource.cs
- DBSqlParser.cs
- Control.cs
- Renderer.cs
- CleanUpVirtualizedItemEventArgs.cs
- ListViewAutomationPeer.cs
- HttpClientCertificate.cs
- ZipIOCentralDirectoryFileHeader.cs
- Metafile.cs
- DataColumnMapping.cs
- ImageAutomationPeer.cs
- ReachFixedDocumentSerializer.cs
- ValidationPropertyAttribute.cs
- XmlSchemaAnnotated.cs
- TrustManager.cs
- ResponseStream.cs
- ModelService.cs
- OracleBinary.cs
- VisualStyleInformation.cs
- SmtpException.cs
- TreeNodeCollectionEditor.cs
- IndicCharClassifier.cs
- InvokeWebService.cs
- DbBuffer.cs
- ReferenceService.cs
- DiscoveryOperationContextExtension.cs
- ParseHttpDate.cs
- VBCodeProvider.cs
- TextEditorTyping.cs
- SystemNetworkInterface.cs
- PathSegment.cs
- ReceiveSecurityHeaderElementManager.cs
- SmiXetterAccessMap.cs
- SignedXml.cs
- ColumnCollectionEditor.cs
- LineInfo.cs
- ViewSimplifier.cs
- SmiMetaDataProperty.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- FlowLayout.cs
- ImmutableCommunicationTimeouts.cs
- TypeResolvingOptions.cs
- DataView.cs
- ApplicationFileParser.cs
- InstanceKeyCollisionException.cs
- HttpListenerTimeoutManager.cs
- StringCollection.cs
- TypographyProperties.cs
- FilterRepeater.cs
- FileUpload.cs
- Control.cs
- RuleSettings.cs
- HTMLTagNameToTypeMapper.cs
- FormViewModeEventArgs.cs
- DependencyPropertyKey.cs
- ComponentDispatcher.cs
- TiffBitmapDecoder.cs
- SequenceQuery.cs
- DataPagerFieldCommandEventArgs.cs
- HtmlContainerControl.cs
- SqlRowUpdatedEvent.cs
- Message.cs
- WindowsServiceCredential.cs
- DbgUtil.cs
- JsonDataContract.cs
- ProfileServiceManager.cs
- LineBreakRecord.cs
- KeyValueConfigurationElement.cs
- SoapElementAttribute.cs
- UnauthorizedWebPart.cs
- HuffCodec.cs
- CancellableEnumerable.cs
- UnSafeCharBuffer.cs
- RectKeyFrameCollection.cs
- CodeMemberField.cs
- ServerValidateEventArgs.cs
- ClientSideProviderDescription.cs
- CallSiteOps.cs
- ItemCollection.cs
- PageBreakRecord.cs
- Oci.cs
- ListItemConverter.cs
- Char.cs
- Tablet.cs
- GeneralTransformGroup.cs
- ExpressionBindingCollection.cs
- ExpressionSelection.cs
- IndexedString.cs
- BrowserCapabilitiesCodeGenerator.cs
- ContainerUtilities.cs
- EventSchemaTraceListener.cs
- AssemblyCollection.cs
- UIPermission.cs
- DataGridColumn.cs
- ColumnMapCopier.cs
- VisualBrush.cs
- UIEndRequest.cs