SpeechSynthesizerOptions.PunctuationSilence 屬性

定義

取得或設定在另一個語句開始) 之前,語音合成語句 (標點符號之後新增的無聲數量。

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

屬性值

SpeechPunctuationSilence持續時間。

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

備註

根據預設,每個標點符號後面會附加大約 750 毫秒的無聲,以確保語句音效盡可能自然。 在某些情況下,例如應用程式內容的加速播放或螢幕助讀程式描述,不需要此行為,或使用者必須加以設定。

適用於

另請參閱