The Speak Element
You can use the Speak element to read out text as speech to the caller. It's useful for communicating dynamic text that cannot be prerecorded.
Attributes
| Attribute | Description |
|---|---|
voicestring | The tone to be used for reading out the text. Allowed values: WOMAN, MAN Defaults to WOMAN. |
languagestring | Language used to read out the text. Allowed values: See the table "Supported voices and languages" below. Defaults to en-US. |
loopinteger | Specifies number of times to speak out the text. If value set to 0, speaks indefinitely. Allowed values: integer >= 0 (0 indicates a continuous loop) Defaults to 1. |
Supported voices and languages
| Language | Woman | Man |
|---|---|---|
Danish value: da-DK | yes | no |
Dutch value: nl-NL | yes | yes |
English — Australian value: en-AU | yes | yes |
English — British value: en-GB | yes | yes |
English — USA value: en-US | yes | yes |
French value: fr-FR | yes | yes |
French — Canadian value: fr-CA | yes | no |
German value: de-DE | yes | yes |
Italian value: it-IT | yes | yes |
Polish value: pl-PL | yes | yes |
Portuguese value: pt-PT | no | yes |
Portuguese — Brazilian value: pt-BR | yes | yes |
Russian value: ru-RU | yes | no |
Spanish value: es-ES | yes | yes |
Spanish — USA value: es-US | yes | yes |
Swedish value: sv-SE | yes | no |