mimic3 icon indicating copy to clipboard operation
mimic3 copied to clipboard

SSML doesn't work as expected

Open Slyke opened this issue 7 months ago • 0 comments

Describe the bug SSML doesn't work as expected

To Reproduce Steps to reproduce the behavior:

  1. Click 'Enabled SSML'
  2. Paste the following:
<speak>
<prosody rate="10%">
The weather today is rainy and clouds.
With a current temperature of 7 degrees, with it feeling like 7 degrees.
The highest temperature will be 9 and a lowest of 5.
Have a good day.
</prosody>
</speak>

or

<speak>
<prosody rate="10%">
<break time="1000ms"/>
The weather today is rainy and clouds.
With a current temperature of 7 degrees, with it feeling like 7 degrees.
The highest temperature will be 9 and a lowest of 5.
Have a good day.
</prosody>
</speak>

Expected behavior Everything should be at 10% speed.

Log files There are no logs

image

Environment (please complete the following information):

  • Device type: Kubernetes
  • OS: Docker
  • Mycroft-core version: mycroftai/mimic3:0.2.4

Additional context Seems to happen with any voice. It's like the prosody parameter is ignored for the first sentence. If I tell it to use a different voice from the begging, the first sentence will be in the default voice before it switches. It does this when running on Home Assistant, or when running in Docker on my main computer.

Slyke avatar Jan 05 '24 01:01 Slyke