jwaes
(Jaco)
March 24, 2020, 8:57pm
1
The documentation suggests that the addon supports text as well as SSML
https://cloud.google.com/text-to-speech/docs/ssml
I have not found a way to pass on SSML syntax’ed messages. I am quite interested in the <break time="3s"/>
option.
Anyone has more info about whether SSML is actually supported by the addon ?
1 Like
wborn
(Wouter Born)
April 4, 2020, 2:56pm
2
I’ve tested this some time ago and it still works today.
Just make sure the text to be synthesized starts with <speak>
and ends with </speak>
You can test that it works on the Console.
1 Like
jwaes
(Jaco)
April 4, 2020, 3:42pm
3
Thanks ! That indeed works
say("<speak>the temperature <break time=\"3s\"/> is " + Math::round(Float::parseFloat(gTemperatureAverage.state.toString)) + "</speak>")
2 Likes