Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SpeechSynthesizer.SynthesizeTextToStreamAsync(String) Method
Definition
- Namespace:
- Windows.Media.SpeechSynthesis
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously generate speech output from a string.
public:
virtual IAsyncOperation<SpeechSynthesisStream ^> ^ SynthesizeTextToStreamAsync(Platform::String ^ text) = SynthesizeTextToStreamAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SpeechSynthesisStream> SynthesizeTextToStreamAsync(winrt::hstring const& text);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SpeechSynthesisStream> SynthesizeTextToStreamAsync(string text);
function synthesizeTextToStreamAsync(text)
Public Function SynthesizeTextToStreamAsync (text As String) As IAsyncOperation(Of SpeechSynthesisStream)
Parameters
- text
-
String
Platform::String
winrt::hstring
The text to speak.
Returns
A SpeechSynthesisStream that represents the speech generated from the text.
- Attributes
Remarks
To generate speech from Speech Synthesis Markup Language (SSML) Version 1.1, see SynthesizeSsmlToStreamAsync.
Applies to
See also
Feedback
Was this page helpful?
