Dela via


SpeechSynthesizerOptions.PunctuationSilence Property

Definition

Gets or sets the amount of silence added after punctuation in the speech synthesis utterance (before another utterance begins).

public:
 property SpeechPunctuationSilence PunctuationSilence { SpeechPunctuationSilence get(); void set(SpeechPunctuationSilence value); };
SpeechPunctuationSilence PunctuationSilence();

void PunctuationSilence(SpeechPunctuationSilence value);
public SpeechPunctuationSilence PunctuationSilence { get; set; }
var speechPunctuationSilence = speechSynthesizerOptions.punctuationSilence;
speechSynthesizerOptions.punctuationSilence = speechPunctuationSilence;
Public Property PunctuationSilence As SpeechPunctuationSilence

Property Value

The SpeechPunctuationSilence duration.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

By default, approximately 750ms of silence is appended after 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.

Applies to

See also