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
- WCFServiceClientProxyGenerator.cs
- COM2AboutBoxPropertyDescriptor.cs
- EditingCoordinator.cs
- ObjectTag.cs
- HtmlContainerControl.cs
- StylusTouchDevice.cs
- VisualBrush.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SqlTrackingWorkflowInstance.cs
- FrameSecurityDescriptor.cs
- XPathExpr.cs
- OperationAbortedException.cs
- KeyValueConfigurationElement.cs
- WebPartCatalogAddVerb.cs
- TimelineGroup.cs
- IntegerValidatorAttribute.cs
- ProfilePropertySettings.cs
- Tracking.cs
- CustomError.cs
- TrackingMemoryStreamFactory.cs
- Pen.cs
- UiaCoreProviderApi.cs
- ListControlDataBindingHandler.cs
- FlowDocumentView.cs
- SelectionChangedEventArgs.cs
- XmlValueConverter.cs
- PreviewPrintController.cs
- HyperLinkField.cs
- WebEventCodes.cs
- UserPrincipalNameElement.cs
- OutputScope.cs
- RemotingServices.cs
- RequestCacheManager.cs
- AggregateNode.cs
- XpsSerializationManager.cs
- GlyphRunDrawing.cs
- PerformanceCounterPermissionAttribute.cs
- RadioButton.cs
- DataGridDesigner.cs
- SymbolUsageManager.cs
- filewebresponse.cs
- PerformanceCounterPermissionEntryCollection.cs
- TypeProvider.cs
- StaticExtension.cs
- SafeArrayRankMismatchException.cs
- MenuItemStyle.cs
- AutomationElementIdentifiers.cs
- Win32SafeHandles.cs
- KoreanCalendar.cs
- HtmlInputRadioButton.cs
- LinqDataSource.cs
- SourceLocation.cs
- BuiltInExpr.cs
- Stroke2.cs
- FixedTextContainer.cs
- DeviceContexts.cs
- fixedPageContentExtractor.cs
- HttpStreamXmlDictionaryReader.cs
- CurrentChangingEventArgs.cs
- NativeObjectSecurity.cs
- WebUtil.cs
- InkCanvasSelection.cs
- BitmapEffectState.cs
- IisNotInstalledException.cs
- login.cs
- Opcode.cs
- DataGridHelper.cs
- XmlSchemaSimpleContent.cs
- TableRowGroupCollection.cs
- DataException.cs
- ProcessProtocolHandler.cs
- HttpCachePolicyWrapper.cs
- MetadataItemCollectionFactory.cs
- SubclassTypeValidator.cs
- ParameterBinding.cs
- XmlRootAttribute.cs
- Translator.cs
- DeviceFilterDictionary.cs
- DataGridViewControlCollection.cs
- Part.cs
- Convert.cs
- CompensatableSequenceActivity.cs
- NonSerializedAttribute.cs
- MenuEventArgs.cs
- ReaderWriterLock.cs
- _ListenerAsyncResult.cs
- ImmutablePropertyDescriptorGridEntry.cs
- Header.cs
- OdbcDataAdapter.cs
- Matrix3DValueSerializer.cs
- DataGridViewRowCancelEventArgs.cs
- CounterSampleCalculator.cs
- QuotaExceededException.cs
- AddressingProperty.cs
- ErrorWebPart.cs
- BrowserCapabilitiesCompiler.cs
- OdbcEnvironment.cs
- DispatchProxy.cs
- DefaultMemberAttribute.cs
- SyndicationElementExtension.cs