SSML (Speech Synthesis Markup Language )

SSML assists in generating natural sounding synthesized speech. It supports 27 languages and over 40 voices, and allows developers to also control pronunciation, pitch, volume, etc.

For more information on SSML, see Getting Started with SSML.

Speak with SSML can also be nested inside GetDigits XML tag.

Response

<Response>
  <Speak voice="Polly.Amy">
    <prosody rate="medium">
    Hello and welcome to Plivo Text To Speech Engine.
    <break/>
    <break/>
    We are now testing the
    <say-as interpret-as="spell-out">SSML</say-as>
    feature.
    </prosody>
  </Speak>
</Response>
<Response>
  <GetDigits numDigits="1 " playBeep="true">
  <Speak voice="Polly.Salli">
  <prosody rate="fast">
  Please press 1 to proceed.
  <break/>
  <break/>
  We are now testing the
  <say-as interpret-as="spell-out">SSML</say-as>
  feature.
  </prosody>
  </Speak>
  </GetDigits>
</Response>