Without tags
$text
With tags
If tags are to be used in the TTS, then the following template can also be used, this allows the use of SSML tags.
See
https://www.w3.org/TR/speech-synthesis11/
https://www.cereproc.com/files/CereVoiceCloudGuide.pdf
This allows the generation of TTS texts, with tags. For example:
Dies ist ein Test. <prosody rate="+50%">Hier spreche ich ziemlich schnell.</prosody> Hier wieder normal. <prosody rate="-50%">Und hier ziemlich langsam.</prosody>
Do not forget to replace
xml:lang="de" with the appropriate language.