Custom Speech-to-Text (STT) and Text-to-Speech (TTS) Servers for Mycroft AI | Digi-Key Electronics

Sdílet
Vložit
  • čas přidán 8. 09. 2024
  • Additionally, you will need a separate computer to host your STT and TTS servers. While they might run on a Pi, they will be incredibly slow. I highly recommend using a computer with a CUDA-capable Nvidia graphics card, which will speed up the STT and TTS processes.
    In the first part of the guide, we show you how to install the Mozilla DeepSpeech program, which performs speech-to-text. We run it inside a web server, which we enable on boot through systemd. From here, we can send audio data (including .wav files) to the server to have it respond with text data (in string format).
    Next, we install Coqui TTS, which is a fork of the Mozilla TTS project with a web server frontend. We again enable the server on boot with systemd. From here, you can send the server strings to have it spoken as audio data.
    Finally, we configure Mycroft AI to use these two servers rather than its default STT and TTS services.
    Mycroft still requires a remote backend to enable various skills. While the backend is open source (github.com/Myc..., it is a pain to set up. We will save making Mycroft fully offline for another time.
    Product Links:
    Raspberry Pi 4B: www.digikey.co...
    Related Videos:
    Jayy’s companion bot with Mycroft AI:
    / 1495921164497076224
    How to create a custom skill for Mycroft AI: • How to Create a Custom...
    How to create a custom wake word for Mycroft AI: • How to Create a Custom...
    Related Project Links:
    How to create custom STT and TTS servers for Mycroft AI: www.digikey.co...
    Related Articles:
    How to create a custom skill for Mycroft AI: www.digikey.co...
    How to create a custom wake word for Mycroft AI: www.digikey.co...
    Learn more:
    Maker.io - www.digikey.co...
    Digi-Key’s Blog - TheCircuit www.digikey.co...
    Connect with Digi-Key on Facebook / digikey.electronics
    And follow us on Twitter / digikey

Komentáře • 14