An open API service indexing awesome lists of open source software.

https://github.com/openvoiceos/ovos-tts-plugin-piper


https://github.com/openvoiceos/ovos-tts-plugin-piper

Last synced: about 1 year ago
JSON representation

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"
}
}
```