SpeechSynthesizer.StartSpeakingAsync(SpeechSynthesisRequest) 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.
Queue the speech synthesis on request, as an asynchronous operation. This API could be used to synthesize speech from an input text stream, to reduce latency for text generation scenarios. Note: the feature is in preview and is subject to change. Added in version 1.37.0
public System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.SpeechSynthesisResult> StartSpeakingAsync (Microsoft.CognitiveServices.Speech.SpeechSynthesisRequest request);
member this.StartSpeakingAsync : Microsoft.CognitiveServices.Speech.SpeechSynthesisRequest -> System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.SpeechSynthesisResult>
Public Function StartSpeakingAsync (request As SpeechSynthesisRequest) As Task(Of SpeechSynthesisResult)
Parameters
- request
- SpeechSynthesisRequest
The speech synthesis request.
Returns
A task representing the started synthesis operation.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET