Skip to content
New issue

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

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

Already on GitHub? # to your account

FR - Ability to switch voices in terminal #11

Open
Jopp-gh opened this issue Apr 11, 2024 · 3 comments
Open

FR - Ability to switch voices in terminal #11

Jopp-gh opened this issue Apr 11, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Jopp-gh
Copy link

Jopp-gh commented Apr 11, 2024

I want to be able to switch voices in terminal.
Eg. By default, my settings use english but sometimes I need the german voice aswell.

spd-say -o piper -l de-DE "Hallo alle zusammen"

My code should work, but it doesn't, as the speech dispatcher uses the configuration in ~/.config/speech-dispatcher/piper.conf

I could save both voice configurations (en & de settings) separately and rewrite the default piper.conf through a shell script, still i'd like to hear your opinion first. Maybe Pied offers other features I am not aware of.

@Elleo
Copy link
Owner

Elleo commented Apr 27, 2024

Hi @Jopp-gh,

I'm planning a bit of a rewrite of the way Pied handles the configuration, which will allow for switching voices without further modifying the configuration, but at the moment it's not possible I'm afraid.

@Elleo Elleo self-assigned this Apr 27, 2024
@Elleo Elleo added the enhancement New feature or request label Apr 27, 2024
@Jopp-gh
Copy link
Author

Jopp-gh commented Sep 7, 2024

"... which will allow for switching voices without further modifying the configuration..."

Sounds great- are your planning to implement a string check so Pied will pick the right language?

A string check wouldn't need much more than 30 most common words to identify the right language.

Also, to make this automatic switch possible we'd need to specify one favourite voice, each language.

Just wondering, is Pied able to read text input too and not "just" to download and configure voices?

What's the progress status of this project / feature request if I may ask?

@Jopp-gh
Copy link
Author

Jopp-gh commented Sep 13, 2024

Pied looks and works great, plus it's easy to use - just some configurations need tweaking for a more flexible integration with Piper and the speech dispatcher.
For this purpose, please consider reading these two links:

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants