1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/piper/README.md

20 lines
517 B
Markdown
Raw Normal View History

2024-03-10 06:18:53 +02:00
piper
=====
[piper][1] is a fast, local neural text to speech system that sounds great and is optimized for the Raspberry Pi 4.
```bash
# Create an alias
2024-03-26 11:19:18 +02:00
$ 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'
2024-03-10 06:18:53 +02:00
# Do text-to-speech
$ echo 'Welcome to the world of speech synthesis!' | piper -f /tmp/welcome.wav
# Play audio
$ play welcome.wav
```
2024-03-25 11:48:08 +02:00
List of voices: https://rhasspy.github.io/piper-samples/
2024-03-10 06:18:53 +02:00
[1]: https://github.com/rhasspy/piper