Crosstales.RTVoice.Azure.Synthesize Class Reference
Sample synthesize request More...
Classes | |
class | InputOptions |
Inputs Options for the TTS Service. More... | |
Public Member Functions | |
Synthesize () | |
Initializes a new instance of the Synthesize class. More... | |
async System.Threading.Tasks.Task< System.IO.Stream > | Speak (System.Threading.CancellationToken cancellationToken, InputOptions inputOptions) |
Sends the specified text to be spoken to the TTS service and saves the response audio to a file. More... | |
Detailed Description
Sample synthesize request
Constructor & Destructor Documentation
◆ Synthesize()
Crosstales.RTVoice.Azure.Synthesize.Synthesize | ( | ) |
Initializes a new instance of the Synthesize class.
Member Function Documentation
◆ Speak()
async System.Threading.Tasks.Task<System.IO.Stream> Crosstales.RTVoice.Azure.Synthesize.Speak | ( | System.Threading.CancellationToken | cancellationToken, |
InputOptions | inputOptions | ||
) |
Sends the specified text to be spoken to the TTS service and saves the response audio to a file.
- Parameters
-
cancellationToken The cancellation token. inputOptions Input options for the speech.
- Returns
- A Task
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/RTVoice/RTVoicePro/Assets/Plugins/crosstales/RTVoice/3rd party/Azure/Scripts/TTSClient.cs