Use Mycroft with offline TTS based on Coqui

Hi.
I posted a technical walkthrough video on how you can use offline TTS in Mycroft with Coqui TTS.

8 Likes

Thorsten, Nice work! Very informational. I will try it at some point.

-Mike M
1 Like

Thanks for your video! It helped me overcome the last little hurdle I had trying to figure out how to switch to Coqui. The instructions on the page Text-To-Speech - Mycroft AI say to use the same configuration as the Mozilla example, which is not quite accurate.

Now I have Mycroft speaking clearly and consistently in the same voice! :slight_smile:

Thanks for all your work!

2 Likes

Could

Do you mind to share your configuration? Just in case someone is looking for the same problem you had.

1 Like

Sure – the instructions give the “url” value in the Mozilla TTS config section as:
“url”: “http://my-mozilla-tts-server/api/tts
with a note saying the default is “http://0.0.0.0:5002/api/tts

The value that worked for me is:
“url”:“http://my-coqui-server:5002

I kept looking for errors in the Mycroft log – saw the video and realized the config shown there was without the “/api/tts” – which probably would have been obvious if I’d been looking at the coqui server’s monitor and paying attention… :thinking:

I’m a complete noob to Mycroft/picroft and anything related to TTS, so the video was very informative.

2 Likes

ENVIRONMENT: Python 3.10.2

Thanks a lot for your video.
On Manjaro-Linux I don’t get any tts via pip.
I got this response, if I do pip install tts

ERROR: Could not find a version that satisfies the requirement tts (from versions: none)
ERROR: No matching distribution found for tts

Do you have an Idea, what’s wrong here?

… found this… might this the issue… that python 3.10 is to new: https://github.com/coqui-ai/TTS/issues/1017 ?

TTS is tested on Ubuntu 18.04 with python >= 3.6, < 3.9

But i think python 3.10 support is on it’s way.

1 Like