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

Add support for custom google voices #337

Closed
davehorton opened this issue Oct 24, 2023 · 3 comments
Closed

Add support for custom google voices #337

davehorton opened this issue Oct 24, 2023 · 3 comments
Assignees

Comments

@davehorton
Copy link
Contributor

google text-to-speech supports custom voices, as described here, here, and here.

Note that a custom voice is described not by a voice name, but by an object containing a model name and a reported usage.

I think in order to support this, it might be best to extend the Speech Credentials panel so that when google is selected, in addition to the JSON service key file there is a section below guarded by a checkbox labeled "Use custom voices". When checked, that opens a section that allows the user to add/edit/delete a list of custom voices. For each, they will provide a voice name that they choose, a language (from dropdown), the associated model, and the associated usage.

Then, in the applications view when they select google for TTS and a language, we will augment the list of voices with the custom voices, showing the name they gave, e.g. "Sally (custom)"

@davehorton davehorton self-assigned this Oct 24, 2023
@davehorton
Copy link
Contributor Author

davehorton commented Oct 24, 2023

image

balsamiq link here

@xquanluu
Copy link
Contributor

xquanluu commented Oct 27, 2023

Screenshot 2023-10-27 at 17 46 13

The add new voice, I guess we can follow this pattern, this much easier for add/edit/delete/update

@davehorton
Copy link
Contributor Author

yes but we need another input, which is usage (that should be a dropdown/enum)

@xquanluu xquanluu closed this as completed Nov 9, 2023
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

2 participants