Skip to content

rhasspy/wyoming-piper

Repository files navigation

Wyoming Piper

Wyoming protocol server for the Piper text to speech system.

Home Assistant Add-on

Show add-on

Source

Local Install

Clone the repository and set up Python virtual environment:

git clone https://github.com/rhasspy/wyoming-piper.git
cd wyoming-piper
script/setup

Install Piper

curl -L -s "https://github.com/rhasspy/piper/releases/download/v1.2.0/piper_amd64.tar.gz" | tar -zxvf - -C /usr/share

Run a server that anyone can connect to:

script/run --piper '/usr/share/piper/piper' --voice en_US-lessac-medium --uri 'tcp://0.0.0.0:10200' --data-dir /data --download-dir /data 

Docker Image

docker run -it -p 10200:10200 -v /path/to/local/data:/data rhasspy/wyoming-piper \
    --voice en_US-lessac-medium

Source