Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / 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
- MetadataCollection.cs
- ReflectionUtil.cs
- PageHandlerFactory.cs
- ExpanderAutomationPeer.cs
- StorageMappingItemCollection.cs
- WebPartMovingEventArgs.cs
- BaseParaClient.cs
- RegistrationProxy.cs
- MobileControlsSectionHandler.cs
- GlobalAclOperationRequirement.cs
- ClusterRegistryConfigurationProvider.cs
- ColorConvertedBitmap.cs
- WSHttpTransportSecurityElement.cs
- StyleSheetComponentEditor.cs
- ArraySubsetEnumerator.cs
- ProxyElement.cs
- DependencyPropertyChangedEventArgs.cs
- WindowsListViewGroupHelper.cs
- XmlSchemaAnyAttribute.cs
- ActivityBuilderHelper.cs
- ExpressionEditorAttribute.cs
- Logging.cs
- UnionExpr.cs
- ControllableStoryboardAction.cs
- EventProviderBase.cs
- ExceptionRoutedEventArgs.cs
- TableRowGroup.cs
- NumericUpDownAcceleration.cs
- Properties.cs
- RuntimeDelegateArgument.cs
- ReadOnlyCollectionBuilder.cs
- OperationInfo.cs
- TextTreeNode.cs
- HostVisual.cs
- WindowsIdentity.cs
- HandlerBase.cs
- StringFreezingAttribute.cs
- AlternateView.cs
- WebPartZoneCollection.cs
- CustomGrammar.cs
- WebPartCollection.cs
- SecurityUniqueId.cs
- ClrProviderManifest.cs
- Rectangle.cs
- path.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PageVisual.cs
- ListViewUpdateEventArgs.cs
- Filter.cs
- PointLight.cs
- ClientScriptItemCollection.cs
- _UncName.cs
- GenericEnumConverter.cs
- WebPartDisplayModeCancelEventArgs.cs
- CommentEmitter.cs
- ComboBoxItem.cs
- ConfigsHelper.cs
- TaskHelper.cs
- InvalidEnumArgumentException.cs
- ConfigurationStrings.cs
- ConfigPathUtility.cs
- Opcode.cs
- followingquery.cs
- DefaultTextStoreTextComposition.cs
- CharStorage.cs
- PageCodeDomTreeGenerator.cs
- XPathSelectionIterator.cs
- TextEffect.cs
- RadioButtonBaseAdapter.cs
- MouseButton.cs
- EventRoute.cs
- MenuCommandsChangedEventArgs.cs
- InheritanceContextHelper.cs
- QuaternionRotation3D.cs
- PropertyPath.cs
- PersonalizationStateInfoCollection.cs
- ProfilePropertySettings.cs
- Attributes.cs
- FileBasedResourceGroveler.cs
- Typeface.cs
- SafeCryptHandles.cs
- MarkupCompilePass2.cs
- XPathNodeIterator.cs
- WindowsFormsHostPropertyMap.cs
- RegexRunner.cs
- _ScatterGatherBuffers.cs
- HashCodeCombiner.cs
- WorkflowDefinitionDispenser.cs
- NativeMethods.cs
- HttpRawResponse.cs
- SourceSwitch.cs
- CompModHelpers.cs
- CompoundFileStreamReference.cs
- EntityDataSourceStatementEditorForm.cs
- HierarchicalDataBoundControl.cs
- ToolStripSeparatorRenderEventArgs.cs
- Speller.cs
- Operator.cs
- RemoteWebConfigurationHostServer.cs
- ISFClipboardData.cs