Say

The <Say> verb is used to synthesize text to speech and play it back to the remote party.

Say Attributes

Name

Description

Allowed Values

Default Value

language

Voice and Language

listed at the bottom

kevin

loop

How many times to play the synthesized text. Zero will loop indefinitely.

non-negative integer

1

Nesting

The <Say> verb cannot have any other verbs or nouns nested. Only text can be part of the <say> verb.

Examples

Below is an example of using the <say> verb.

<Response>
    <Say>Hello World</Say>
</Response>

Choose your voice and language based on the list at the bottom of this page

<Response>
    <Say language="joanna-en-US-female">Hello World</Say>
</Response>

Voices

To use a specific provider specify it in the language attribute, as shown below. Voices are all from AWS Polly.

JSON of all supported languages:

Last updated