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
- LinqDataSourceView.cs
- SecurityNegotiationException.cs
- BypassElementCollection.cs
- UIAgentMonitor.cs
- TypeTypeConverter.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- AssemblyBuilder.cs
- SafeNativeMethods.cs
- Binding.cs
- ConstraintCollection.cs
- PrimitiveDataContract.cs
- Vector.cs
- GraphicsPath.cs
- FeatureManager.cs
- SchemaElement.cs
- SkinBuilder.cs
- Module.cs
- util.cs
- WindowsAuthenticationModule.cs
- sqlinternaltransaction.cs
- PriorityItem.cs
- GridViewUpdateEventArgs.cs
- TypeExtension.cs
- XmlSchemaSimpleTypeList.cs
- CleanUpVirtualizedItemEventArgs.cs
- RuleElement.cs
- DataViewSetting.cs
- SqlCommandBuilder.cs
- CachedBitmap.cs
- PieceNameHelper.cs
- SystemIPGlobalProperties.cs
- XmlNullResolver.cs
- _AutoWebProxyScriptWrapper.cs
- WebReferencesBuildProvider.cs
- VariableDesigner.xaml.cs
- SimpleTypeResolver.cs
- SrgsSemanticInterpretationTag.cs
- UnaryExpression.cs
- Control.cs
- SecurityManager.cs
- MailHeaderInfo.cs
- SqlTriggerAttribute.cs
- DateTimeFormatInfoScanner.cs
- DataGridHeaderBorder.cs
- DbConnectionPoolCounters.cs
- regiisutil.cs
- ImplicitInputBrush.cs
- TaskFileService.cs
- RegistrationServices.cs
- PageRanges.cs
- PrintDialog.cs
- TextWriterTraceListener.cs
- LinkLabelLinkClickedEvent.cs
- UndirectedGraph.cs
- DataGridTextBox.cs
- SiteOfOriginPart.cs
- FamilyTypefaceCollection.cs
- DoubleCollection.cs
- FixUpCollection.cs
- _HeaderInfoTable.cs
- AtomServiceDocumentSerializer.cs
- Completion.cs
- WaitHandle.cs
- SwitchAttribute.cs
- RuntimeCompatibilityAttribute.cs
- KnownAssemblyEntry.cs
- TextTreeTextElementNode.cs
- CollectionsUtil.cs
- Vector3D.cs
- _TransmitFileOverlappedAsyncResult.cs
- HtmlInputFile.cs
- XmlRootAttribute.cs
- NCryptNative.cs
- ListViewCancelEventArgs.cs
- RootBrowserWindow.cs
- Switch.cs
- Function.cs
- Socket.cs
- LogFlushAsyncResult.cs
- SafeEventLogWriteHandle.cs
- SettingsPropertyNotFoundException.cs
- InternalsVisibleToAttribute.cs
- ExtendedProtectionPolicy.cs
- EventLogTraceListener.cs
- InstanceHandleConflictException.cs
- WindowsHyperlink.cs
- SafeArrayRankMismatchException.cs
- HtmlValidationSummaryAdapter.cs
- TextEffectCollection.cs
- dataSvcMapFileLoader.cs
- UseAttributeSetsAction.cs
- ColumnReorderedEventArgs.cs
- SchemaImporterExtensionElementCollection.cs
- FullTextLine.cs
- FeatureSupport.cs
- CompilerScope.Storage.cs
- ServiceTimeoutsBehavior.cs
- XmlSchemaAnnotated.cs
- JavaScriptObjectDeserializer.cs
- MDIClient.cs