SpeechSynthesizer.SpeakTextAsync(String) Method
Definition
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.
Synthesize speech from plain text asynchronously (returns when done synthesizing).
public System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.SpeechSynthesisResult> SpeakTextAsync (string text);
member this.SpeakTextAsync : string -> System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.SpeechSynthesisResult>
Public Function SpeakTextAsync (text As String) As Task(Of SpeechSynthesisResult)
Parameters
- text
- String
Plain text to synthesize.
Returns
A task representing the completed synthesis operation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET