1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00
dockerfiles/piper
2024-03-26 17:19:18 +08:00
..
Dockerfile update piper 2024-03-26 17:19:18 +08:00
README.md update piper 2024-03-26 17:19:18 +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 -m /opt/piper/models/en_US-amy-medium.onnx'

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

# Play audio
$ play welcome.wav

List of voices: https://rhasspy.github.io/piper-samples/