Advanced TTS with Google SSML
Table of Contents
Admins can use SSML — a lightweight markup language — to enhance prompt voice output. Here's how you can leverage SSML tags to add richness and control:
1. Pause and pacing control with <break>
Short pause: <break time="500ms"/>
Longer pause: <break time="2s"/>
Useful for emphasising sections:
<speak>Your case is currently on hold.<break time="1s"/> Thank you for waiting.</speak>
2. Emphasis with <emphasis>
Adjust emphasis level: "strong"
, "moderate"
, "reduced"
<emphasis level="strong">Important notice:</emphasis> please read carefully.
3. Pronunciation control with <say-as>
Format numbers, dates, times, and acronyms: