Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Rhasspy Piper TTS #385

Open
aaronchantrill opened this issue Jun 1, 2023 · 1 comment
Open

Support for Rhasspy Piper TTS #385

aaronchantrill opened this issue Jun 1, 2023 · 1 comment

Comments

@aaronchantrill
Copy link
Contributor

Detailed Description

See https://github.com/rhasspy/piper

Context

It adds additional voices and supports a large number of languages (about 20).

Possible Implementation

Currently it has to be downloaded and compiled. Then a voice needs to be selected. It should be possible to select voices based on the language selected in Naomi, as the filename includes the locale code.

@aaronchantrill
Copy link
Contributor Author

There is a library called Dimits that makes using piper much easier. Just pip install dimits then from dimits import Dimits and dt = Dimits("en_US-amy-low") and audio_file = td.text_2_audio_file(text, "speech_output", "."). The last command will generate an audio file and return the name that can just be passed to your audio playback method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant