from Hacker News

Ask HN: How to run Piper text-to-speech on a Mac (using Docker)?

by dv35z on 6/18/24, 4:35 AM with 0 comments

Hello HN -

My goal is to have a high-quality open-source text-to-speech engine running on my Mac. Research has led me to evaluate Piper TTS (https://github.com/rhasspy/piper) - the voices sound good, and it can run on a RaspberryPi. There seems to be a blocker in getting it to run directly on a Mac (this person explains why: https://www.youtube.com/watch?v=hQe861JElXc).

So, I've been trying to get Piper to run in a Docker container on my Mac.

I've spent all evening trying to get this to work, and haven't succeeded. I can't seem to get the right incantation of Docker files & compose.yml to get it running.

Who's been able to get Piper running locally in a Docker container, and can you share guidance?

Here are my working notes for Piper & Docker: https://jonathan.rogivue.net/notes/piper-text-to-speech/

Thank you!