You can use the <amazon:breath> and <amazon:auto-breaths> tags, or a combination of both, to incorporate breath sounds into your speech output.
- Automated mode: Amazon Polly inserts breathing sounds automatically into the speech output, to simulate normal breathing without input from you. (You can also set the frequency of these intervals, as well as their volume and duration.)
- Manual mode: you set the location, duration, and volume of a breath sound for the text.
- Mixed mode: a combination of customized breathing sounds that you insert, and that are inserted automatically by Amazon Polly.
By incorporating breath sounds into speech output from text, Amazon Polly is able to provide more naturally sounding speech, particularly for long-form narration of text.
Log in the Amazon Polly console and try the SSML Breath feature, or visit the Amazon Polly documentation for more information about SSML tags.
Advertisements