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
- RowParagraph.cs
- CurrencyWrapper.cs
- PrivilegeNotHeldException.cs
- EntityDataSourceContextCreatedEventArgs.cs
- HashAlgorithm.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- MergeFailedEvent.cs
- AssemblyCache.cs
- CalendarBlackoutDatesCollection.cs
- ArrayList.cs
- SecurityKeyIdentifier.cs
- StrongNameHelpers.cs
- _TransmitFileOverlappedAsyncResult.cs
- FormsAuthentication.cs
- CodeDomDecompiler.cs
- XmlSignificantWhitespace.cs
- FastEncoderWindow.cs
- Clipboard.cs
- CompilerCollection.cs
- LogicalExpr.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ISAPIWorkerRequest.cs
- DbParameterCollectionHelper.cs
- MethodExpr.cs
- ToolboxItem.cs
- VSWCFServiceContractGenerator.cs
- sortedlist.cs
- DSASignatureFormatter.cs
- OdbcRowUpdatingEvent.cs
- GenericNameHandler.cs
- XmlUtf8RawTextWriter.cs
- WorkItem.cs
- CodeDomLoader.cs
- MatrixTransform3D.cs
- AutomationEvent.cs
- WindowsIPAddress.cs
- StructuralType.cs
- MetafileHeader.cs
- GenericIdentity.cs
- MdiWindowListItemConverter.cs
- JsonUriDataContract.cs
- OdbcErrorCollection.cs
- ValidationHelper.cs
- ElementAction.cs
- InputMethodStateTypeInfo.cs
- OdbcEnvironmentHandle.cs
- SqlNodeTypeOperators.cs
- AnonymousIdentificationModule.cs
- JournalEntryStack.cs
- FileDialog.cs
- TextTreeNode.cs
- CollectionEditor.cs
- CqlQuery.cs
- DataGridViewRowHeaderCell.cs
- WmfPlaceableFileHeader.cs
- HandlerMappingMemo.cs
- XPathException.cs
- SerializableAttribute.cs
- DataErrorValidationRule.cs
- ItemType.cs
- Int64Animation.cs
- CultureMapper.cs
- BindingOperations.cs
- WindowsFont.cs
- DBConnection.cs
- Invariant.cs
- MultiAsyncResult.cs
- ReflectionServiceProvider.cs
- ScaleTransform.cs
- ScaleTransform3D.cs
- ZipFileInfo.cs
- FamilyTypefaceCollection.cs
- ResourceWriter.cs
- CustomWebEventKey.cs
- ClonableStack.cs
- CompositeControl.cs
- EncryptedData.cs
- SamlDoNotCacheCondition.cs
- WindowsProgressbar.cs
- FixedTextView.cs
- PropertyReferenceSerializer.cs
- SmiEventSink_DeferedProcessing.cs
- XPathParser.cs
- DropTarget.cs
- Attributes.cs
- CompositionAdorner.cs
- ConfigurationException.cs
- ListSourceHelper.cs
- StyleReferenceConverter.cs
- ReliableOutputSessionChannel.cs
- OdbcCommand.cs
- EntityClassGenerator.cs
- StringInfo.cs
- ItemAutomationPeer.cs
- SmiEventSink.cs
- BlurEffect.cs
- PageWrapper.cs
- ColorContext.cs
- TextRunCacheImp.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs