Workflow update
parent
50de70df72
commit
6b605a6b1b
@ -0,0 +1,36 @@
|
||||
# [Piper](https://github.com/rhasspy/piper/) is a fast, local neural text to
|
||||
# speech system that sounds great and is optimized for the Raspberry Pi 4. This
|
||||
# container provides a Wyoming protocol server for Piper.
|
||||
|
||||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
piper:
|
||||
image: ghcr.io/linuxserver/piper
|
||||
container_name: piper
|
||||
environment:
|
||||
# for UserID
|
||||
- PUID=${PUID:-1024}
|
||||
# for GroupID
|
||||
- PGID=${PGID:-100}
|
||||
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
|
||||
- TZ=${TZ:-Europe/Amsterdam}
|
||||
# The [Piper voice](https://huggingface.co/rhasspy/piper-voices/tree/main) to use, in the format `<language>-<name>-<quality>`
|
||||
- PIPER_VOICE=en_US-lessac-medium
|
||||
# Voice speaking rate, 1.0 is default with < 1.0 being faster and > 1.0 being slower.
|
||||
- PIPER_LENGTH=1.0 # optional
|
||||
# Controls the variability of the voice by adding noise. Values above 1 will start to degrade audio.
|
||||
- PIPER_NOISE=0.667 # optional
|
||||
# Controls the variability of speaking cadence. Values above 1 produce extreme stutters and pauses.
|
||||
- PIPER_NOISEW=0.333 # optional
|
||||
# Speaker number to use if the voice supports multiple speakers.
|
||||
- PIPER_SPEAKER=0 # optional
|
||||
# Number of Piper processes to run simultaneously.
|
||||
- PIPER_PROCS=1 # optional
|
||||
volumes:
|
||||
# Local path for piper config files.
|
||||
- ${BASEDIR:-/volume1/docker}/piper/config:/config
|
||||
ports:
|
||||
# Wyoming connection port.
|
||||
- 10200:10200
|
||||
restart: unless-stopped
|
@ -0,0 +1,20 @@
|
||||
# [Piper](https://github.com/rhasspy/piper/) is a fast, local neural text to
|
||||
# speech system that sounds great and is optimized for the Raspberry Pi 4. This
|
||||
# container provides a Wyoming protocol server for Piper.
|
||||
|
||||
. ./.env
|
||||
docker run -d \
|
||||
--name=piper \
|
||||
-e PUID=${PUID:-1024} `# for UserID` \
|
||||
-e PGID=${PGID:-100} `# for GroupID` \
|
||||
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
|
||||
-e PIPER_VOICE=en_US-lessac-medium `# The [Piper voice](https://huggingface.co/rhasspy/piper-voices/tree/main) to use, in the format `<language>-<name>-<quality>`` \
|
||||
-e PIPER_LENGTH=1.0 `# optional` `# Voice speaking rate, 1.0 is default with < 1.0 being faster and > 1.0 being slower.` \
|
||||
-e PIPER_NOISE=0.667 `# optional` `# Controls the variability of the voice by adding noise. Values above 1 will start to degrade audio.` \
|
||||
-e PIPER_NOISEW=0.333 `# optional` `# Controls the variability of speaking cadence. Values above 1 produce extreme stutters and pauses.` \
|
||||
-e PIPER_SPEAKER=0 `# optional` `# Speaker number to use if the voice supports multiple speakers.` \
|
||||
-e PIPER_PROCS=1 `# optional` `# Number of Piper processes to run simultaneously.` \
|
||||
-p 10200:10200 `# Wyoming connection port.` \
|
||||
-v ${BASEDIR:-/volume1/docker}/piper/config:/config `# Local path for piper config files.` \
|
||||
--restart unless-stopped \
|
||||
ghcr.io/linuxserver/piper
|
@ -0,0 +1,3 @@
|
||||
ln -s ../docker-env.cfg ./.env
|
||||
. ./.env
|
||||
mkdir -p ${BASEDIR:-/volume1/docker}/piper/config
|
Loading…
Reference in New Issue