saySSMLWait

Audio.saySSMLWait(ssml)

Parameters

ssml Text to say.

Returns

Nothing

Description

Speak the text given in the provided SSML using text-to-speech through the computer’s audio system. Execution of the script will be suspended until the audio is finished playing.

Read about how to format SSML in this document here: https://www.w3.org/standards/history/speech-synthesis/