MycroftAI / mimic3

A fast local neural text to speech engine for Mycroft
GNU Affero General Public License v3.0
1.07k stars 102 forks source link

[SSML] Line break and white space causing artefacts before </s> tag #31

Open Jiivee1 opened 1 year ago

Jiivee1 commented 1 year ago

Describe the bug When Mimic 3 plays SSML file, line break and white space at the end of spoken text before closing tag causes artefacts and noise to speech. I first noticed this when I tested SSML sample file found on page https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mimic-tts/mimic-3.

To Reproduce mimic3_ssml_cracks_and_noise.zip Steps to reproduce the behavior:

  1. Unzip attached file.
  2. Play SSML file interactively: mimic3 --ssml --interactive < mimic3_ssml_cracks_and_noise.ssml
  3. Alternatively play attached mimic3_ssml_cracks_and_noise.wav file.
  4. Note noise and artefacts and compare what your hear to how its is presented in SSML file.

Expected behavior There should not be any noise artefacts after spoken text in any of the cases.

Log files n/a

Environment (please complete the following information):

I have not touched config files at all in neither of the machines.

hephaisto commented 1 year ago

I have the same issue on debian python 3.11.2 mycroft-mimic3-tts 0.2.4 (via PyPi)