Share via


SpeechSynthesizerOptions.SpeakingRate Property

Definition

Gets or sets the tempo (including pauses and hesitations) of the speech synthesis utterance.

public:
 property double SpeakingRate { double get(); void set(double value); };
double SpeakingRate();

void SpeakingRate(double value);
public double SpeakingRate { get; set; }
var double = speechSynthesizerOptions.speakingRate;
speechSynthesizerOptions.speakingRate = double;
Public Property SpeakingRate As Double

Property Value

Double

double

The tempo, relative to the default rate of the selected speech synthesis engine (voice).

This value can range from 0.5 (half the default rate) to 6.0 (6x the default rate), inclusive. The default value is 1.0 (the "normal" speaking rate for the current voice).

Some voices have minimum speaking rates faster than 0.5 and maximum speaking rates slower than 6.0.

Note

Speaking rate cannot be directly translated to words-per-minute because each voice and language can have a different default speaking rate.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

If Speech Synthesis Markup Language (SSML) is used, SpeakingRate is combined with any prosody tags in the markup.

Note

Prosody are properties of syllables and larger units of speech, not individual phonetic segments (vowels and consonants).

By default, approximately 750ms of silence is appended after each utterance and each punctuation mark to ensure the utterance sounds as natural as possible. In some cases, such as accelerated playback or screen-reader descriptions of app content, this behavior is not required or needs to be configurable by the user. For more info, see AppendedSilence and PunctuationSilence.

Applies to

See also