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
- ImagingCache.cs
- NetCodeGroup.cs
- ConnectionInterfaceCollection.cs
- TransactedReceiveScope.cs
- ResourceSet.cs
- WindowsFormsHelpers.cs
- PassportAuthentication.cs
- XsdValidatingReader.cs
- ReadOnlyHierarchicalDataSourceView.cs
- TextEditorSelection.cs
- ToolbarAUtomationPeer.cs
- BaseParaClient.cs
- MessagePropertyVariants.cs
- EntityDataSource.cs
- SmtpReplyReader.cs
- CharUnicodeInfo.cs
- DocumentApplicationDocumentViewer.cs
- Atom10FeedFormatter.cs
- EventHandlersDesigner.cs
- Deflater.cs
- ReflectionUtil.cs
- ReachUIElementCollectionSerializerAsync.cs
- XPathNavigatorReader.cs
- InputProcessorProfilesLoader.cs
- IProducerConsumerCollection.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- Module.cs
- RowSpanVector.cs
- RightsManagementInformation.cs
- httpstaticobjectscollection.cs
- RectangleGeometry.cs
- ClientTargetSection.cs
- FileDialogCustomPlace.cs
- FactoryGenerator.cs
- DiscriminatorMap.cs
- RuleProcessor.cs
- CorrelationKeyCalculator.cs
- GridItemPatternIdentifiers.cs
- RestClientProxyHandler.cs
- FreeFormDragDropManager.cs
- BindingExpressionBase.cs
- RelatedCurrencyManager.cs
- WebPartHeaderCloseVerb.cs
- DataGridTableCollection.cs
- GenerateDerivedKeyRequest.cs
- XamlReader.cs
- PageStatePersister.cs
- SmtpException.cs
- ModulesEntry.cs
- OleCmdHelper.cs
- DesignerPerfEventProvider.cs
- AddingNewEventArgs.cs
- RelationshipNavigation.cs
- SerialReceived.cs
- KeyboardEventArgs.cs
- CompletedAsyncResult.cs
- LinqDataSourceSelectEventArgs.cs
- SqlParameterizer.cs
- NonParentingControl.cs
- Subtree.cs
- PathGeometry.cs
- TransactionScopeDesigner.cs
- ValueTypeIndexerReference.cs
- LinqTreeNodeEvaluator.cs
- DocumentSequence.cs
- MetadataHelper.cs
- RuleRefElement.cs
- FixedHighlight.cs
- SqlRowUpdatedEvent.cs
- CharacterHit.cs
- PersianCalendar.cs
- KnownTypeAttribute.cs
- IPAddress.cs
- PathStreamGeometryContext.cs
- OdbcPermission.cs
- ImageMapEventArgs.cs
- XmlDataSourceNodeDescriptor.cs
- AmbientProperties.cs
- ModifierKeysValueSerializer.cs
- AudioException.cs
- ResolveMatches11.cs
- DodSequenceMerge.cs
- PaperSource.cs
- XsltArgumentList.cs
- TypeConverterAttribute.cs
- ChtmlCalendarAdapter.cs
- PropertyRecord.cs
- FileClassifier.cs
- TypeRestriction.cs
- EventHandlersStore.cs
- XpsFixedPageReaderWriter.cs
- MobileTextWriter.cs
- InputBuffer.cs
- ModifyActivitiesPropertyDescriptor.cs
- Int32EqualityComparer.cs
- FtpRequestCacheValidator.cs
- Timer.cs
- BindingContext.cs
- NotFiniteNumberException.cs
- MultiPageTextView.cs