synthesizeTextToSpeech abstract method
Future<BackendTextToSpeechResult>
synthesizeTextToSpeech(
- int contextHandle,
- int mmContextHandle,
- BackendTextToSpeechRequest request, {
- void onProgress(
- BackendTextToSpeechProgress progress
Synthesizes one complete utterance.
Current implementations return PCM only after generation has completed.
onProgress does not imply incremental audio output.
Implementation
Future<BackendTextToSpeechResult> synthesizeTextToSpeech(
int contextHandle,
int mmContextHandle,
BackendTextToSpeechRequest request, {
void Function(BackendTextToSpeechProgress progress)? onProgress,
});