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
- PageSettings.cs
- PointLight.cs
- Font.cs
- WSFederationHttpSecurity.cs
- HScrollProperties.cs
- CodeChecksumPragma.cs
- DisplayClaim.cs
- FtpWebResponse.cs
- GlyphInfoList.cs
- SessionPageStatePersister.cs
- DetailsViewPagerRow.cs
- CaseStatement.cs
- CommandEventArgs.cs
- Wizard.cs
- ColorBlend.cs
- bidPrivateBase.cs
- TimeSpanHelper.cs
- SendMessageContent.cs
- MenuAdapter.cs
- XmlNode.cs
- WindowsStatusBar.cs
- MediaElement.cs
- DbConnectionInternal.cs
- CalendarDateRangeChangingEventArgs.cs
- AddingNewEventArgs.cs
- Identifier.cs
- Geometry.cs
- ScriptControlDescriptor.cs
- ValidatedControlConverter.cs
- CollectionType.cs
- RangeValueProviderWrapper.cs
- HotSpot.cs
- LineBreakRecord.cs
- TextMessageEncodingBindingElement.cs
- BasicCellRelation.cs
- HttpCacheVaryByContentEncodings.cs
- TrackingExtract.cs
- SrgsDocument.cs
- CodeCommentStatementCollection.cs
- DefaultTextStoreTextComposition.cs
- TypeLibraryHelper.cs
- ReadOnlyDataSourceView.cs
- PageBuildProvider.cs
- SelectionChangedEventArgs.cs
- CustomCategoryAttribute.cs
- CapiSafeHandles.cs
- CallSiteOps.cs
- DESCryptoServiceProvider.cs
- SpeechRecognitionEngine.cs
- Missing.cs
- AggregatePushdown.cs
- ComponentDesigner.cs
- BitmapEffectDrawingContent.cs
- SqlColumnizer.cs
- CqlQuery.cs
- PeerTransportSecuritySettings.cs
- COAUTHIDENTITY.cs
- EdmItemError.cs
- DbParameterHelper.cs
- RelationshipManager.cs
- GenericParameterDataContract.cs
- Point4D.cs
- _DomainName.cs
- TdsEnums.cs
- StorageAssociationSetMapping.cs
- HTMLTagNameToTypeMapper.cs
- FormatConvertedBitmap.cs
- ToolStripPanelRow.cs
- autovalidator.cs
- CoTaskMemUnicodeSafeHandle.cs
- RawStylusInput.cs
- InputReport.cs
- RestHandler.cs
- ConfigurationManagerInternalFactory.cs
- ToolStripCodeDomSerializer.cs
- QfeChecker.cs
- ComponentCollection.cs
- TypeBrowser.xaml.cs
- GetCryptoTransformRequest.cs
- Effect.cs
- COM2ExtendedTypeConverter.cs
- CompModSwitches.cs
- WebServiceData.cs
- LeaseManager.cs
- SQLBytes.cs
- _FtpDataStream.cs
- ToolStripHighContrastRenderer.cs
- DerivedKeySecurityTokenStub.cs
- Win32SafeHandles.cs
- AddInToken.cs
- WmpBitmapDecoder.cs
- ObjectKeyFrameCollection.cs
- HtmlWindowCollection.cs
- TabPage.cs
- TextEditorThreadLocalStore.cs
- ClockGroup.cs
- XmlSchemaCollection.cs
- AnnotationDocumentPaginator.cs
- PagedDataSource.cs
- ScrollViewerAutomationPeer.cs