
Answer-first summary for fast verification
Answer: Adjust the pitch and speaking rate using <prosody> tags and emphasize words using <emphasis> tags.
SSML allows for precise control over the speech synthesis output. Using <prosody> tags, you can adjust the pitch and speaking rate, and <emphasis> tags can be used to emphasize specific words. This provides a flexible and powerful way to customize the speech output, making option B the correct choice.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are developing an application that requires the use of Speech Synthesis Markup Language (SSML) to enhance the quality of the text-to-speech output. Describe how you would use SSML to achieve the following: adjust the pitch, control the speaking rate, and emphasize specific words. Provide a code snippet demonstrating the use of SSML for these purposes.
A
Use default SSML settings without any adjustments.
B
Adjust the pitch and speaking rate using <prosody> tags and emphasize words using <emphasis> tags.
C
Use CSS styles to control the pitch and speaking rate.
D
Manually adjust the audio files after synthesis.
No comments yet.