No project description provided
Project description
Rhasspy TTS Hermes MQTT Service
Implements hermes/tts
functionality from Hermes protocol using Google Wavenet
Use --play-command aplay
to play speech locally instead of using hermes/audioServer<siteId>/playBytes
.
Running With Docker
docker run -it rhasspy/rhasspy-tts-wavenet-hermes:<VERSION> <ARGS>
Building From Source
Clone the repository and create the virtual environment:
git clone https://github.com/rhasspy/rhasspy-tts-wavenet-hermes.git
cd rhasspy-tts-wavenet-hermes
make venv
Run the bin/rhasspy-tts-wavenet-hermes
script to access the command-line interface:
bin/rhasspy-tts-wavenet-hermes --help
Building the Debian Package
Follow the instructions to build from source, then run:
source .venv/bin/activate
make debian
If successful, you'll find a .deb
file in the dist
directory that can be installed with apt
.
Building the Docker Image
Follow the instructions to build from source, then run:
source .venv/bin/activate
make docker
This will create a Docker image tagged rhasspy/rhasspy-tts-wavenet-hermes:<VERSION>
where VERSION
comes from the file of the same name in the source root directory.
NOTE: If you add things to the Docker image, make sure to whitelist them in .dockerignore
.
Command-Line Options
usage: rhasspy-tts-wavenet-hermes [-h]
[--wavenet_dir] [--voice] [--gender] [--sample_rate] [--language_code]
[--play-command PLAY_COMMAND] [--host HOST]
[--port PORT] [--siteId SITEID] [--debug]
optional arguments:
-h, --help show this help message and exit
--wavenet_dir Directory of the Google Wavenet cache and credentials
--voice Chosen voice
--gender Chosen gender
--sample_rate Chosen sample rate of the outpt wave sample
--language_code Chosen language
--play-command PLAY_COMMAND
Command to play WAV data from stdin (default: publish
playBytes)
--host HOST MQTT host (default: localhost)
--port PORT MQTT port (default: 1883)
--siteId SITEID Hermes siteId of this server
--debug Print DEBUG messages to the console
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for rhasspy-tts-wavenet-hermes-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 532ca324427189961d5ef77a1164ad4c412539e4aadd686516ad4cf4e0921fea |
|
MD5 | 134c1451d8e11fc252155c14448d8490 |
|
BLAKE2b-256 | 7d79142b1369c609eed89666dc43e86758f5e47871a88a5f691767c961ff821b |