Dela via


SpeechSynthesizerOptions.AppendedSilence Property

Definition

Gets or sets the amount of silence added to the end of the speech synthesis utterance (before another utterance begins).

public:
 property SpeechAppendedSilence AppendedSilence { SpeechAppendedSilence get(); void set(SpeechAppendedSilence value); };
SpeechAppendedSilence AppendedSilence();

void AppendedSilence(SpeechAppendedSilence value);
public SpeechAppendedSilence AppendedSilence { get; set; }
var speechAppendedSilence = speechSynthesizerOptions.appendedSilence;
speechSynthesizerOptions.appendedSilence = speechAppendedSilence;
Public Property AppendedSilence As SpeechAppendedSilence

Property Value

The SpeechAppendedSilence 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 to the end of each generated utterance. If the utterance is not a complete sentence, this can complicate concatenation of multiple utterances. For example, a streaming app that reads text from a document as it downloads, might start reading from its cache at a predetermined number of words.

Applies to

See also