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
- InvalidCastException.cs
- XmlHelper.cs
- PropertyExpression.cs
- DataGridViewComboBoxColumn.cs
- Style.cs
- BitmapEffectInput.cs
- DeploymentSection.cs
- InvalidMessageContractException.cs
- OracleSqlParser.cs
- ProfileEventArgs.cs
- PropertyRef.cs
- MonitorWrapper.cs
- ColorContext.cs
- HebrewNumber.cs
- InvalidWMPVersionException.cs
- IndexerNameAttribute.cs
- DocComment.cs
- EnumerableCollectionView.cs
- BamlRecordReader.cs
- MimeMapping.cs
- ListManagerBindingsCollection.cs
- ClassImporter.cs
- ResolveNextArgumentWorkItem.cs
- ButtonBaseAdapter.cs
- SemanticResolver.cs
- _NestedSingleAsyncResult.cs
- RtfNavigator.cs
- ActivityWithResult.cs
- LayoutExceptionEventArgs.cs
- Misc.cs
- DataGridTableCollection.cs
- CellIdBoolean.cs
- OLEDB_Util.cs
- GridViewCommandEventArgs.cs
- FileStream.cs
- FontDriver.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- SqlConnectionPoolProviderInfo.cs
- SignHashRequest.cs
- MulticastOption.cs
- ExceptionCollection.cs
- InputQueue.cs
- ApplicationSecurityManager.cs
- ChtmlTextWriter.cs
- NavigationProperty.cs
- BaseTemplateParser.cs
- DataProtection.cs
- MergablePropertyAttribute.cs
- ListView.cs
- HtmlControlPersistable.cs
- SiteMembershipCondition.cs
- Avt.cs
- SkewTransform.cs
- SqlUtil.cs
- PasswordRecovery.cs
- StylusTouchDevice.cs
- OpenTypeLayoutCache.cs
- DispatcherBuilder.cs
- OleStrCAMarshaler.cs
- IconBitmapDecoder.cs
- BooleanAnimationBase.cs
- PenThread.cs
- UpdateExpressionVisitor.cs
- EmptyStringExpandableObjectConverter.cs
- ComponentChangingEvent.cs
- SchemaRegistration.cs
- HTTPNotFoundHandler.cs
- QilDataSource.cs
- Point3DCollectionConverter.cs
- ThaiBuddhistCalendar.cs
- ChildTable.cs
- IProvider.cs
- GeometryConverter.cs
- WsdlInspector.cs
- TreeViewAutomationPeer.cs
- WebPermission.cs
- AppearanceEditorPart.cs
- Simplifier.cs
- WsatRegistrationHeader.cs
- XmlSchemaAnnotated.cs
- InputElement.cs
- TcpWorkerProcess.cs
- assertwrapper.cs
- QueryAccessibilityHelpEvent.cs
- XpsS0ValidatingLoader.cs
- ItemsPanelTemplate.cs
- SspiSecurityTokenParameters.cs
- RichTextBoxConstants.cs
- WebPartVerbCollection.cs
- TracedNativeMethods.cs
- WebPartTransformerCollection.cs
- RefreshEventArgs.cs
- InputScope.cs
- CompilerState.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- SortKey.cs
- RichTextBox.cs
- CompressedStack.cs
- LabelTarget.cs
- ListViewInsertEventArgs.cs