Share via


SpeechSynthesizer.SynthesizeSsmlToStreamAsync(String) Method

Definition

Asynchronously generate and control speech output from a Speech Synthesis Markup Language (SSML) Version 1.1 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)

Parameters

Ssml
String

Platform::String

winrt::hstring

The SSML-modified text to speak.

Returns

A SpeechSynthesisStream that represents the speech generated from the Speech Synthesis Markup Language (SSML) Version 1.1.

Attributes

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.

Applies to

See also