1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/piper
2024-03-10 12:18:53 +08:00
..
Dockerfile add piper 2024-03-10 12:18:53 +08:00
README.md add piper 2024-03-10 12:18:53 +08:00

piper

piper is a fast, local neural text to speech system that sounds great and is optimized for the Raspberry Pi 4.

# Create an alias
$ alias piper='docker run -i --rm -u $(id -u):$(id -g) -v $PWD:/tmp vimagick/piper'

# Do text-to-speech
$ echo 'Welcome to the world of speech synthesis!' | piper -f /tmp/welcome.wav

# Play audio
$ play welcome.wav