SpeechSynthesizer.SynthesizeSsmlToStreamAsync(String) SpeechSynthesizer.SynthesizeSsmlToStreamAsync(String) SpeechSynthesizer.SynthesizeSsmlToStreamAsync(String) SpeechSynthesizer.SynthesizeSsmlToStreamAsync(String) SpeechSynthesizer.SynthesizeSsmlToStreamAsync(String) Method

Definition

Asynchronously generate and control speech output from a Speech Synthesis Markup Language (SSML) Version 1.1 string.

public : IAsyncOperation<SpeechSynthesisStream> SynthesizeSsmlToStreamAsync(Platform::String Ssml)
IAsyncOperation<SpeechSynthesisStream> SynthesizeSsmlToStreamAsync(winrt::hstring Ssml) const;
public IAsyncOperation<SpeechSynthesisStream> SynthesizeSsmlToStreamAsync(String Ssml)
Public Function SynthesizeSsmlToStreamAsync(Ssml As String) As IAsyncOperation(Of SpeechSynthesisStream)
Windows.Media.SpeechSynthesis.SpeechSynthesizer.synthesizeSsmlToStreamAsync(ssml).done( /* Your success and error handlers */ );

Parameters

Ssml
String String String

The SSML-modified text to speak.

Returns

Remarks

Voice characteristics, pronunciation, volume, pitch, rate or speed, emphasis, and so on can be customized through Speech Synthesis Markup Language (SSML) Version 1.1.

To generate speech from plain text, see SynthesizeTextToStreamAsync.

See also