共用方式為


SpeechSynthesizer.SynthesizeSsmlToStreamAsync(String) 方法

定義

public:
 virtual IAsyncOperation<SpeechSynthesisStream ^> ^ SynthesizeSsmlToStreamAsync(Platform::String ^ Ssml) = SynthesizeSsmlToStreamAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SpeechSynthesisStream> SynthesizeSsmlToStreamAsync(winrt::hstring const& Ssml);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SpeechSynthesisStream> SynthesizeSsmlToStreamAsync(string Ssml);
function synthesizeSsmlToStreamAsync(Ssml)
Public Function SynthesizeSsmlToStreamAsync (Ssml As String) As IAsyncOperation(Of SpeechSynthesisStream)

參數

Ssml
String

Platform::String

winrt::hstring

要說話的 SSML 修改文字。

傳回

SpeechSynthesisStream,代表從SSML (SSML) 1.1 版所產生的語音

屬性

備註

語音特性、發音、音量、音調、速率或速度、強調等,可以透過 語音合成標記語言 (SSML) 1.1 版來自訂。

若要從純文字產生語音,請參閱 合成TextToStreamAsync

適用於

另請參閱