Emphasis
Last updated
Last updated
The <emphasis>
tag is used to emphasize specific words or phrases, helping to draw attention or set a desired tone in conversational AI interactions. It functions similarly to the <prosody> tag, without requiring individual settings for speech attributes.
Level – The level
attribute adjusts the emphasis level, with possible values:
none
: Default emphasis.
strong
: Louder volume and slower speaking rate.
moderate
: Slightly louder volume and slower speaking rate (default).
reduced
: Slightly quieter volume and faster speaking rate.
The default setting is moderate
if no level is specified.
The strong
level would be used to convey a particularly important point or to express heightened emotion.
To use the <emphasis>
tag effectively:
Identify the words or phrases in your dialog that require emphasis.
Choose the appropriate level of emphasis for your desired effect.
Implement the tag within your SSML script, for example:
In the provided screenshot, the word "really" is emphasized with a strong
level, which will make the synthesized voice speak this word with louder volume and a slower rate, thus drawing the listener's attention to the speaker's emotion.