We are facing an issue with TTS playout where Tag names are getting played instead of the string within <value>.
Is it because we have multiple <audio> tag within Prompt tag? What is the issue here?
Kindly let us know. Thanks.
Error in log:
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------
<speak xml:lang="fr-CA"><voice name="Julie"><speak> Pour continuer, s'il vous plait, veuillez choisir parmi les options suivantes qui vous seront proposees dans ce message. </speak></voice></speak>
Sample code:
<prompt cond="isCultureEnUk(language, locale)">
<audio expr="Prompt16A"> <speak xml:lang="en-GB"> <voice name="Emily"> <value expr="Verbiage16A"/> </voice> </speak> </audio>
<audio expr="Prompt16B"> <speak xml:lang="en-GB"> <voice name="Emily"> <value expr="Verbiage16B"/> </voice> </speak> </audio>
<audio expr="Prompt16C"> <speak xml:lang="en-GB"> <voice name="Emily"> <value expr="Verbiage16C"/> </voice> </speak> </audio>
<audio expr="Prompt16D"> <speak xml:lang="en-GB"> <voice name="Emily"> <value expr="Verbiage16D"/> </voice> </speak> </audio>
<audio expr="Prompt16E"> <speak xml:lang="en-GB"> <voice name="Emily"> <value expr="Verbiage16E"/> </voice> </speak> </audio>
</prompt>
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Issue with TTS playout
Re: Issue with TTS playout
Hi,
This is a slight nuance specific to the RealSpeak TTS engine. When using RealSpeak, it's best to use a <prompt> tag for each nested <audio> tag.
This formation will read back the tags when the audio files aren't found:
Where as this should not read back the tags when the audio files aren't found:
Hopefully that help, please let us know if you have any further questions.
Regards,
Plum Support
This is a slight nuance specific to the RealSpeak TTS engine. When using RealSpeak, it's best to use a <prompt> tag for each nested <audio> tag.
This formation will read back the tags when the audio files aren't found:
Code: Select all
<prompt>
<audio src="some_file.wav"><speak xml:lang="en-GB"><voice name="Emily"> Some text. </voice></speak></audio>
<audio src="some_file.wav"><speak xml:lang="en-GB"><voice name="Emily"> Some text. </voice></speak></audio>
</prompt>
Code: Select all
<prompt>
<audio src="some_file.wav"><speak xml:lang="en-GB"><voice name="Emily"> Some text. </voice></speak></audio>
</prompt>
<prompt>
<audio src="some_file.wav"><speak xml:lang="en-GB"><voice name="Emily"> Some text. </voice></speak></audio>
</prompt>
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com