Say
Generate text-to-speech audio.
Parameters
earlyMedia
If true and the call has not yet been answered, play the audio without answering the call.
Default: false
.
loop
The number of times a text is to be repeated.
0
means repeat forever.
Default: 1
.
stream
If set to true streaming text input is enabled.
synthesizer.gender
(Google only) MALE
, FEMALE
, or NEUTRAL
.
synthesizer.language
Language code to use.
synthesizer.vendor
Speech vendor to use (see list below, along with any others added via the
custom speech API).
synthesizer.voice
Voice to use.
Note that the voice list differs depending on whether you are using AWS or Google.
Defaults to application setting, if provided.
text
Text to speak; may contain SSML tags.