SpeakProgressEventArgs.AudioPosition Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the audio position of the event.

Namespace:   System.Speech.Synthesis
Assembly:  System.Speech (in System.Speech.dll)

public TimeSpan AudioPosition { get; }

Property Value

Type: System.TimeSpan

Returns the position of the event in the audio output stream.

The SpeechSynthesizer normalizes numbers to the words that correspond to how the number will be spoken. For example, the synthesizer speaks the number “4003” as “four thousand three”. It raises a SpeakProgress event for each of the spoken words, and returns the AudioPosition for each word.

.NET Framework
Available since 3.0
Return to top