Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .editorconfig
100755 → 100644
Empty file.
Empty file modified LICENSE
100755 → 100644
Empty file.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ services:
- PIPER_NOISEW=0.333 #optional
- PIPER_SPEAKER=0 #optional
- PIPER_PROCS=1 #optional
- STREAMING= #optional
volumes:
- /path/to/piper/data:/config
ports:
Expand All @@ -110,6 +111,7 @@ docker run -d \
-e PIPER_NOISEW=0.333 `#optional` \
-e PIPER_SPEAKER=0 `#optional` \
-e PIPER_PROCS=1 `#optional` \
-e STREAMING= `#optional` \
-p 10200:10200 \
-v /path/to/piper/data:/config \
--restart unless-stopped \
Expand All @@ -132,6 +134,7 @@ Containers are configured using parameters passed at runtime (such as those abov
| `-e PIPER_NOISEW=0.333` | Controls the variability of speaking cadence. Values above 1 produce extreme stutters and pauses. |
| `-e PIPER_SPEAKER=0` | Speaker number to use if the voice supports multiple speakers. |
| `-e PIPER_PROCS=1` | Number of Piper processes to run simultaneously. |
| `-e STREAMING=` | Setting to `true`, or any other value, will enable support for streaming audio on sentence boundaries. |
| `-v /config` | Local path for piper config files. |
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |

Expand Down Expand Up @@ -297,5 +300,6 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **10.08.25:** - Add streaming support.
* **18.07.24:** - Rebase to Ubuntu Noble.
* **25.11.23:** - Initial Release.
3 changes: 2 additions & 1 deletion readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ opt_param_env_vars:
- {env_var: "PIPER_NOISEW", env_value: "0.333", desc: "Controls the variability of speaking cadence. Values above 1 produce extreme stutters and pauses."}
- {env_var: "PIPER_SPEAKER", env_value: "0", desc: "Speaker number to use if the voice supports multiple speakers."}
- {env_var: "PIPER_PROCS", env_value: "1", desc: "Number of Piper processes to run simultaneously."}
- {env_var: "STREAMING", env_value: "", desc: "Setting to `true`, or any other value, will enable support for streaming audio on sentence boundaries."}
readonly_supported: true
# application setup block
app_setup_block_enabled: true
Expand Down Expand Up @@ -85,6 +86,6 @@ init_diagram: |
"piper:latest" <- Base Images
# changelog
changelogs:
#- {date: "26.11.24:", desc: "Add GPU branch."}
- {date: "10.08.25:", desc: "Add streaming support."}
- {date: "18.07.24:", desc: "Rebase to Ubuntu Noble."}
- {date: "25.11.23:", desc: "Initial Release."}
3 changes: 2 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/svc-piper/run
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ exec \
--voice "${PIPER_VOICE}" \
--max-piper-procs "${PIPER_PROCS:-1}" \
--data-dir /config \
--download-dir /config --update-voices
--download-dir /config --update-voices \
${STREAMING:+--streaming}