Skip to content

SSML doesn't work as expected #55

@Slyke

Description

@Slyke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions