Code:
/ DotNET / DotNET / 8.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MediaCommands.cs
- FormViewRow.cs
- ContentAlignmentEditor.cs
- ToolStripContainerActionList.cs
- InternalException.cs
- Highlights.cs
- RunInstallerAttribute.cs
- OutputCacheProfileCollection.cs
- DynamicValidatorEventArgs.cs
- SizeAnimationBase.cs
- AuthenticateEventArgs.cs
- DNS.cs
- StylusPointProperties.cs
- Part.cs
- Hash.cs
- ParseChildrenAsPropertiesAttribute.cs
- DataObject.cs
- ClientType.cs
- coordinatorscratchpad.cs
- DependencyPropertyKey.cs
- prefixendpointaddressmessagefiltertable.cs
- WeakHashtable.cs
- XmlSchemaAppInfo.cs
- DropDownList.cs
- TreeNode.cs
- PolyLineSegmentFigureLogic.cs
- SHA512.cs
- ThreadLocal.cs
- RegexGroupCollection.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- EditorZone.cs
- CorePropertiesFilter.cs
- IsolatedStorage.cs
- ToolStripSplitButton.cs
- TdsParserSafeHandles.cs
- WebPartAuthorizationEventArgs.cs
- DataObject.cs
- XmlHierarchicalDataSourceView.cs
- DbProviderFactoriesConfigurationHandler.cs
- InstalledFontCollection.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- PermissionToken.cs
- PathData.cs
- ByteViewer.cs
- GcSettings.cs
- TableColumn.cs
- AsnEncodedData.cs
- Point3DCollection.cs
- ClientScriptManagerWrapper.cs
- ClusterRegistryConfigurationProvider.cs
- PageParser.cs
- TextFindEngine.cs
- XmlAttributes.cs
- XmlTextAttribute.cs
- WebPermission.cs
- ActivitySurrogate.cs
- XsltCompileContext.cs
- Point4DConverter.cs
- HideDisabledControlAdapter.cs
- Wildcard.cs
- EdmComplexTypeAttribute.cs
- SqlDataRecord.cs
- MsmqIntegrationElement.cs
- TraceData.cs
- DateTimeValueSerializerContext.cs
- DesignerRegionCollection.cs
- MailSettingsSection.cs
- IndexingContentUnit.cs
- MatrixCamera.cs
- Timer.cs
- LogicalExpressionEditor.cs
- WpfGeneratedKnownProperties.cs
- ScrollItemPatternIdentifiers.cs
- ConditionalAttribute.cs
- EventsTab.cs
- DefaultHttpHandler.cs
- ObjectAnimationUsingKeyFrames.cs
- OutputScopeManager.cs
- TransformPatternIdentifiers.cs
- SystemIPGlobalProperties.cs
- PingOptions.cs
- FlowchartSizeFeature.cs
- TextPointer.cs
- TableCell.cs
- WmlTextBoxAdapter.cs
- EventPrivateKey.cs
- BrowserDefinitionCollection.cs
- DataColumn.cs
- AsmxEndpointPickerExtension.cs
- Vector3DCollectionConverter.cs
- NonBatchDirectoryCompiler.cs
- ConnectionsZoneDesigner.cs
- CharacterHit.cs
- DBDataPermission.cs
- Menu.cs
- UpdateCommand.cs
- FlowPosition.cs
- OdbcErrorCollection.cs
- CodeAccessPermission.cs
- HierarchicalDataBoundControl.cs