The Speak Element

    The Speak element is used to read out text as speech to the caller. It is very useful for dynamic text that cannot be pre-recorded.

    Note: If you are using special characters like `é`, you need to encode these characters using the Numerical reference.

    Attributes

    voice string

    The tone to be used for reading out the text.

    Allowed values - WOMAN, MAN. Defaults to WOMAN.

    language string

    Language used to read out the text.

    Allowed values - See Supported voices and languages below. Defaults to en-US.

    loop integer

    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

    Danish value: da-DK
    • Woman - yes
    • Man - no
    Dutch value: nl-NL
    • Woman - yes
    • Man - yes
    English - Australian value: en-AU
    • Woman - yes
    • Man - yes
    English - British value: en-GB
    • Woman - yes
    • Man - yes
    English - USA value: en-US
    • Woman - yes
    • Man - yes
    French value: fr-FR
    • Woman - yes
    • Man - yes
    French - Canadian value: fr-CA
    • Woman - yes
    • Man - no
    German value: de-DE
    • Woman - yes
    • Man - yes
    Italian value: it-IT
    • Woman - yes
    • Man - yes
    Polish value: pl-PL
    • Woman - yes
    • Man - yes
    Portuguese value: pt-PT
    • Woman - no
    • Man - yes
    Portuguese - Brazilian value: pt-BR
    • Woman - yes
    • Man - yes
    Russian value: ru-RU
    • Woman - yes
    • Man - no
    Spanish value: es-ES
    • Woman - yes
    • Man - yes
    Spanish - USA value: es-US
    • Woman - yes
    • Man - yes
    Swedish value: sv-SE
    • Woman - yes
    • Man - no