voice attribute of Plivo’s <Speak> XML tag. Note that Polly voices must be namespaced with a Polly prefix.
For example:
SSML tags
You can use these SSML tags within Plivo XML.| SSML Tag | Action | Description |
|---|---|---|
| <break> | Add a pause | Use this tag to include a pause in the speech. |
| <emphasis> | Emphasize words | Use this tag to change the rate and voice of the speech. |
| <lang> | Specify another language for specific words | Use this tag to set the natural language of the text. |
| <p> | Add a pause between paragraphs | Use this tag to represent a paragraph. |
| <phoneme> | Use phonetic pronunciation | Use this tag to set phonetic pronunciation for specific text. |
| <prosody> | Control volume, speaking rate, and pitch | Use this tag to modify the volume, speaking rate, and pitch of the tagged text. |
| <s> | Add a pause between sentences | Use this tag to represent a sentence. This adds a strong break before and after the tag. |
| <say-as> | Control how special types of words are spoken | Use this tag to describe how to interpret the text. |
| <sub> | Pronounce acronyms and abbreviations | Use this tag to pronounce the specified words or phrases as different words or phrases. |
| <w> | Improve pronunciation by specifying parts of speech | Use this tag to customize the pronunciation of words by specifying the part of speech they are. |
- <amazon:auto-breaths>
- <amazon:effect name=“drc”>
- <amazon:effect phonation=“soft”>
- <amazon:effect vocal-tract-length>
- <amazon: effect name=“whispered”>