Polly Voice Tag Attribute Details
Voice Tag Attributes
<gender>
This attribute is not supported.
<age>
This attribute is not supported.
<name>
Notes:
* This voice is bilingual and can speak both English and Hindi. For more information, see Bilingual Voices https://docs.aws.amazon.com/polly/latest/dg/bilingual-voices.html.
## These voices can be used with both the Conversational and Newscaster speaking styles when used with the Neural format. For more information, see NTTS Speaking Styles https://docs.aws.amazon.com/polly/latest/dg/ntts-speakingstyles.html.
Voice selection notes for Polly
If you specify the Amazon Polly TTS, and neither a <speak>
nor <voice>
tag are specified, Plum Voice uses the en_US, standard, female voice Joanna by default.
<speak>
The <speak> tag should be used to specify the desired language through the attribute xml:lang=”lg-CN”, where lg-CN is the language-country pair specified in the Language column from that table of supported languages here: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html.
Please note that each voice has an associated language. Selecting a language that is not associated with the voice will result in unpredictable behavior; however, in many cases, you will hear the language the text was written in accented by that voice’s associated language.
<voice>
The <voice> tag should be used to specify the desired voice through the attribute name=”name”, where name is the voice specified in the Name/ID column for the table of supported voices here: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html.
If another voice is desired, it should specified using the <speak>
and <voice>
tags as follows within the prompt block:
To sequentially use multiple languages and voices within a <prompt>
block, use multiple <speak>
and <voice>
blocks. For example:
<xml:lang>
This option is specified in the <speak>
tag.
See the list of available languages in the <name>
section.
SSML Tags
For more details on these SSML tags as they relate to Amazon Polly, please visit: https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html.
Note that Plum Voice does not currently support all the tags listed on Amazon's website. We may add support for additional tags in the future.
<emphasis>
The <emphasis>
tag lets you change the rate and volume of words and phrases.
For more information, consult: https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html#emphasis-tag
<phoneme>
This tag lets you use phonetic pronunciation.
For more information, consult: https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html#phoneme-tag
<prosody>
The Amazon Polly engine provides granular control over volume, rate, and pitch. For detailed information about how to use this tag, consult https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html#prosody-tag.
<say-as>
Polly enables you to control the way in which certain special words and phrases get spoken.
A full list is available here:
https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html#say-as-tag
<sub>
This tag allows you to substitute a term or phrase for the selected text.
For more information, consult: https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html#sub-tag
Last updated