Closed JulianMBr closed 4 years ago
Hi Julian sonospollytts doesn't support emphasis at this time. You need to pass simple texts, for example "Guten Morgen! Gerade sind es 24 Grad draußen.", without the "<" and ">" brackets.
Hey,
but that means I cannot use SSML, correct?
Yes, sorry, i mean SSML. As soon as Amazon will add more SSML tags, i'll begin to work on that as well.
Alright, thanks for the clarification! No worries and thank you for all those great nodes!
The following payload with SSML produces the following error:
Payload:
'<speak>Guten Morgen! Gerade sind es <emphasis level="strong">' & roofTemp & ' Grad</emphasis> draußen.</speak>'
"SonosPollyTTS: notifyError - msg: /opt/iobroker/iobroker-data/node-red//sonospollyttsstorage/ttsfiles/_less_speak_greater_Guten Morgen_em_ Gerade sind es _less_emphasis level="strong"_greater_25 Grad_less_/emphasis_greater_ draußen_stop__less_/speak_greater__Hans_ssml.mp3 error: ENOENT: no such file or directory, open '/opt/iobroker/iobroker-data/node-red//sonospollyttsstorage/ttsfiles/_less_speak_greater_Guten Morgen_em_ Gerade sind es _less_emphasis level="strong"_greater_25 Grad_less_/emphasis_greater_ draußen_stop__less_/speak_greater__Hans_ssml.mp3'"
Without using SSML (and therefore the tags) it is working fine.