https://github.com/openvoiceos/ovos-tts-plugin-piper
https://github.com/openvoiceos/ovos-tts-plugin-piper
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/openvoiceos/ovos-tts-plugin-piper
- Owner: OpenVoiceOS
- License: apache-2.0
- Created: 2023-04-28T03:56:29.000Z (about 3 years ago)
- Default Branch: dev
- Last Pushed: 2025-02-02T02:08:09.000Z (over 1 year ago)
- Last Synced: 2025-04-02T19:07:29.870Z (about 1 year ago)
- Language: Python
- Size: 115 KB
- Stars: 24
- Watchers: 4
- Forks: 12
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Description
[OpenVoiceOS (OVOS)](https://openvoiceos.org) TTS plugin for [piper](https://github.com/rhasspy/piper)
## Install
`pip install ovos-tts-plugin-piper`
## Configuration
voice models are automatically downloaded from https://huggingface.co/rhasspy/piper-voices into `~/.local/share/piper_tts`
full list of voices can be found [here](https://huggingface.co/rhasspy/piper-voices/blob/main/voices.json)
you can also pass a short name alias without lang code, eg `"alan-low"` instead of `"en_GB-alan-low"`
```json
"tts": {
"module": "ovos-tts-plugin-piper",
"ovos-tts-plugin-piper": {
"voice": "alan-low"
}
}
```
if no voice is set it will be auto selected based on language
you can also define a local path for your own model
```json
"tts": {
"module": "ovos-tts-plugin-piper",
"ovos-tts-plugin-piper": {
"model": "/path/to/model.onnx",
"model_config": "/path/to/model.onnx.json"
}
}
```
or a remote url
```json
"tts": {
"module": "ovos-tts-plugin-piper",
"ovos-tts-plugin-piper": {
"model": "https://huggingface.co/poisson-fish/piper-vasco/resolve/main/onnx/vasco.onnx",
"model_config": "https://huggingface.co/poisson-fish/piper-vasco/resolve/main/onnx/vasco.onnx.json"
}
}
```