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
- InnerItemCollectionView.cs
- ListControlDataBindingHandler.cs
- SafeNativeMethods.cs
- EncryptedPackage.cs
- AnnotationResourceCollection.cs
- VariableReference.cs
- TextRange.cs
- WebPartEditorApplyVerb.cs
- TypeUsageBuilder.cs
- ToolStripPanelRenderEventArgs.cs
- ToolStripItemRenderEventArgs.cs
- ComponentDesigner.cs
- SqlDataSource.cs
- ConditionalWeakTable.cs
- CryptoHandle.cs
- ContextMenuStrip.cs
- MenuItemBinding.cs
- HttpWebRequest.cs
- GeneratedContractType.cs
- ByteStorage.cs
- SelectionChangedEventArgs.cs
- FloaterBaseParaClient.cs
- QuerySettings.cs
- TargetControlTypeCache.cs
- ListViewInsertionMark.cs
- BasicViewGenerator.cs
- IOThreadTimer.cs
- CatchBlock.cs
- wgx_sdk_version.cs
- path.cs
- WebCategoryAttribute.cs
- StringPropertyBuilder.cs
- ComponentCommands.cs
- LookupNode.cs
- StringFormat.cs
- ValueType.cs
- Helpers.cs
- XmlSchemaException.cs
- TextTreeNode.cs
- WaitForChangedResult.cs
- ProgressBar.cs
- MethodAccessException.cs
- BinaryNode.cs
- COAUTHINFO.cs
- TreeBuilder.cs
- XmlMembersMapping.cs
- RelationshipConstraintValidator.cs
- PageWrapper.cs
- OlePropertyStructs.cs
- ConfigXmlWhitespace.cs
- HScrollProperties.cs
- DriveInfo.cs
- DynamicDataRoute.cs
- SerializationHelper.cs
- TabOrder.cs
- FastEncoder.cs
- FileFormatException.cs
- FontDialog.cs
- ExtensionSurface.cs
- LinearGradientBrush.cs
- CommandManager.cs
- MaterialGroup.cs
- SqlDataSourceConnectionPanel.cs
- BitStream.cs
- COM2ExtendedUITypeEditor.cs
- BamlMapTable.cs
- ToolStripSeparator.cs
- WmlPageAdapter.cs
- XmlCountingReader.cs
- NativeMethods.cs
- CatalogPartCollection.cs
- CodeAccessSecurityEngine.cs
- RandomDelayQueuedSendsAsyncResult.cs
- FontStretches.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SerializationSectionGroup.cs
- IPPacketInformation.cs
- InteropAutomationProvider.cs
- InternalBufferOverflowException.cs
- ObjectStateFormatter.cs
- Point3D.cs
- RightsManagementEncryptedStream.cs
- MarkerProperties.cs
- RelatedCurrencyManager.cs
- FunctionNode.cs
- XPathQueryGenerator.cs
- PropertySet.cs
- SecurityUtils.cs
- _SSPIWrapper.cs
- DelegatingTypeDescriptionProvider.cs
- ParameterInfo.cs
- CompressionTracing.cs
- SHA1CryptoServiceProvider.cs
- ResourceManagerWrapper.cs
- CodeAssignStatement.cs
- LZCodec.cs
- shaperfactoryquerycacheentry.cs
- KnownAssembliesSet.cs
- sortedlist.cs
- SoapFormatterSinks.cs