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
- CollectionViewGroupRoot.cs
- ToolTipService.cs
- JumpTask.cs
- WithParamAction.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- Quaternion.cs
- DateTimeHelper.cs
- SqlMetaData.cs
- ZipIOExtraFieldPaddingElement.cs
- DefaultTextStoreTextComposition.cs
- ConnectionPointCookie.cs
- QueryConverter.cs
- LingerOption.cs
- ReadingWritingEntityEventArgs.cs
- Cloud.cs
- Stylesheet.cs
- Query.cs
- InvokeWebService.cs
- FormViewCommandEventArgs.cs
- Column.cs
- CallbackDebugBehavior.cs
- HTMLTextWriter.cs
- RemoteWebConfigurationHostServer.cs
- XomlCompilerHelpers.cs
- ToggleProviderWrapper.cs
- ColumnWidthChangedEvent.cs
- PreviewPageInfo.cs
- IsolationInterop.cs
- Focus.cs
- RoleServiceManager.cs
- StateValidator.cs
- ListBoxChrome.cs
- Int64KeyFrameCollection.cs
- CallbackValidatorAttribute.cs
- MultiView.cs
- ValueConversionAttribute.cs
- CompilerScopeManager.cs
- reliableinputsessionchannel.cs
- BindingList.cs
- ModuleElement.cs
- BitmapImage.cs
- ConditionBrowserDialog.cs
- HwndMouseInputProvider.cs
- QueryRewriter.cs
- TrackBarRenderer.cs
- Relationship.cs
- CodeMethodInvokeExpression.cs
- KnownBoxes.cs
- WebBrowsableAttribute.cs
- DesignerOptionService.cs
- StrokeSerializer.cs
- HwndSourceKeyboardInputSite.cs
- UmAlQuraCalendar.cs
- CredentialSelector.cs
- SemaphoreSecurity.cs
- CustomValidator.cs
- DateTime.cs
- IIS7UserPrincipal.cs
- PersonalizationStateQuery.cs
- XMLSchema.cs
- ListBindableAttribute.cs
- TreeViewImageKeyConverter.cs
- UpDownEvent.cs
- Command.cs
- ToolStripCustomTypeDescriptor.cs
- SchemaNamespaceManager.cs
- Verify.cs
- CloseSequenceResponse.cs
- DependencyObject.cs
- UrlMappingCollection.cs
- WebHttpDispatchOperationSelector.cs
- Empty.cs
- CacheEntry.cs
- ProtocolsInstallComponent.cs
- SizeChangedEventArgs.cs
- MultiSelectRootGridEntry.cs
- XDRSchema.cs
- MobileUserControl.cs
- RuntimeConfig.cs
- SqlPersonalizationProvider.cs
- ConstrainedDataObject.cs
- StackOverflowException.cs
- ToolStripButton.cs
- FileLevelControlBuilderAttribute.cs
- TCPClient.cs
- Propagator.Evaluator.cs
- DataFormat.cs
- CultureMapper.cs
- UidPropertyAttribute.cs
- Image.cs
- _NegotiateClient.cs
- OracleInternalConnection.cs
- CacheModeConverter.cs
- PerfCounters.cs
- SessionStateItemCollection.cs
- ObjectAnimationUsingKeyFrames.cs
- HybridDictionary.cs
- ClientScriptManagerWrapper.cs
- UnsafeNativeMethods.cs
- MethodExpr.cs