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
- DebugInfoGenerator.cs
- ProjectionCamera.cs
- SQLDouble.cs
- SQLChars.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- ValidatingReaderNodeData.cs
- Keywords.cs
- DesignerActionVerbItem.cs
- BindingContext.cs
- CheckPair.cs
- AbsoluteQuery.cs
- CodeMemberProperty.cs
- Part.cs
- SessionStateItemCollection.cs
- SiteMapNodeItem.cs
- EntityCommandDefinition.cs
- AssertFilter.cs
- KnownTypesProvider.cs
- Utils.cs
- IISUnsafeMethods.cs
- ListViewItemMouseHoverEvent.cs
- HtmlImage.cs
- WindowsRegion.cs
- FixedSOMPage.cs
- XamlGridLengthSerializer.cs
- AttributeXamlType.cs
- SelfIssuedAuthProofToken.cs
- UidPropertyAttribute.cs
- XmlArrayAttribute.cs
- MultiBinding.cs
- NameSpaceEvent.cs
- WebBrowserEvent.cs
- RTLAwareMessageBox.cs
- XPathNodeInfoAtom.cs
- CellIdBoolean.cs
- XmlSchemaAttributeGroupRef.cs
- SamlDelegatingWriter.cs
- LinqDataSourceHelper.cs
- ButtonBase.cs
- FloaterBaseParagraph.cs
- SignHashRequest.cs
- ImportCatalogPart.cs
- AncillaryOps.cs
- Binding.cs
- MatrixKeyFrameCollection.cs
- ReadingWritingEntityEventArgs.cs
- OdbcUtils.cs
- MiniCustomAttributeInfo.cs
- WorkflowInstanceContextProvider.cs
- NumberFormatInfo.cs
- SortQueryOperator.cs
- SecUtil.cs
- Asn1IntegerConverter.cs
- ApplicationServiceManager.cs
- AppDomainShutdownMonitor.cs
- SqlNotificationRequest.cs
- WebReferenceOptions.cs
- ResXDataNode.cs
- LinqDataView.cs
- CacheMemory.cs
- DataGridViewCellValueEventArgs.cs
- BinaryParser.cs
- Italic.cs
- SocketAddress.cs
- DataGridViewRowsRemovedEventArgs.cs
- PaginationProgressEventArgs.cs
- SQLDecimalStorage.cs
- ConnectionStringsExpressionBuilder.cs
- EventToken.cs
- DataSvcMapFile.cs
- _ConnectOverlappedAsyncResult.cs
- HttpListenerPrefixCollection.cs
- PerformanceCounterLib.cs
- EditCommandColumn.cs
- Root.cs
- HttpListenerContext.cs
- FormatVersion.cs
- Connector.cs
- WorkflowClientDeliverMessageWrapper.cs
- UTF7Encoding.cs
- RelationshipFixer.cs
- Object.cs
- Message.cs
- FaultConverter.cs
- StyleSheet.cs
- TagPrefixInfo.cs
- TableProvider.cs
- IriParsingElement.cs
- BindingGroup.cs
- ToggleButtonAutomationPeer.cs
- ProfileGroupSettingsCollection.cs
- SystemWebSectionGroup.cs
- XmlJsonWriter.cs
- TemplateAction.cs
- TextElementAutomationPeer.cs
- ThreadInterruptedException.cs
- TextFormatterHost.cs
- PasswordTextNavigator.cs
- Pkcs7Signer.cs
- LinearGradientBrush.cs