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
- ErrorTableItemStyle.cs
- OrderPreservingSpoolingTask.cs
- dtdvalidator.cs
- ScheduleChanges.cs
- CodeGenHelper.cs
- DesignerActionItemCollection.cs
- ChannelSinkStacks.cs
- HttpCookieCollection.cs
- _WinHttpWebProxyDataBuilder.cs
- sortedlist.cs
- DbDataRecord.cs
- ThreadStartException.cs
- WhereQueryOperator.cs
- CompositeActivityValidator.cs
- FunctionDescription.cs
- prefixendpointaddressmessagefiltertable.cs
- ValueExpressions.cs
- X509Certificate2Collection.cs
- PersonalizableTypeEntry.cs
- OdbcTransaction.cs
- BamlLocalizableResourceKey.cs
- SystemColors.cs
- DetailsView.cs
- FontStyles.cs
- Atom10FormatterFactory.cs
- RoleService.cs
- _LocalDataStoreMgr.cs
- TranslateTransform3D.cs
- NativeMethods.cs
- DecoderFallbackWithFailureFlag.cs
- IncrementalReadDecoders.cs
- MetaDataInfo.cs
- ProfileBuildProvider.cs
- ClientType.cs
- TableLayoutCellPaintEventArgs.cs
- DesignerWidgets.cs
- WebCategoryAttribute.cs
- AnnotationAdorner.cs
- HitTestResult.cs
- HttpException.cs
- UnsafeNativeMethodsMilCoreApi.cs
- WorkflowDefinitionDispenser.cs
- LinqDataSourceContextEventArgs.cs
- Sequence.cs
- Pen.cs
- UnsafeNativeMethodsPenimc.cs
- DataControlReferenceCollection.cs
- WebRequestModuleElementCollection.cs
- PropertyTabChangedEvent.cs
- InputScopeManager.cs
- ConnectionStringSettings.cs
- ConstructorNeedsTagAttribute.cs
- PerformanceCounterPermissionEntry.cs
- PeerNearMe.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- Attribute.cs
- CompleteWizardStep.cs
- Row.cs
- Regex.cs
- UidPropertyAttribute.cs
- VisualBrush.cs
- Rotation3D.cs
- ServerReliableChannelBinder.cs
- PrimarySelectionAdorner.cs
- ResourceManager.cs
- Gdiplus.cs
- DataAdapter.cs
- BufferModeSettings.cs
- BindingExpression.cs
- SqlTrackingService.cs
- QueryModel.cs
- MimeWriter.cs
- OutputScopeManager.cs
- ExtensibleClassFactory.cs
- DataGridViewComponentPropertyGridSite.cs
- Transactions.cs
- EntityCommandCompilationException.cs
- ChangeProcessor.cs
- WrappedReader.cs
- EventSinkActivityDesigner.cs
- ThicknessKeyFrameCollection.cs
- HtmlControl.cs
- AuthenticationManager.cs
- HostUtils.cs
- XmlCharCheckingReader.cs
- WriteStateInfoBase.cs
- DataRowComparer.cs
- AuthenticationServiceManager.cs
- EnumUnknown.cs
- HttpClientCertificate.cs
- COM2Properties.cs
- XmlElementList.cs
- LinkedList.cs
- StringValidator.cs
- PopupRoot.cs
- DefaultMemberAttribute.cs
- XamlFxTrace.cs
- ListBase.cs
- WorkflowInstanceProvider.cs
- Slider.cs