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

Document how to select the different WaveNet voices on cloud text-to-speech #85

Open
alexanderkjeldaas opened this issue Mar 5, 2021 · 3 comments
Labels
tts-cli applies to the CLI app

Comments

@alexanderkjeldaas
Copy link

The cli documentation doesn't explain how to choose the specific cloud text-to-speech voices. Adding an example would be useful.

@eheikes
Copy link
Owner

eheikes commented Mar 6, 2021

Hi @alexanderkjeldaas. Did you see the --voice option in the docs? What information is missing that you would like to see?

@eheikes eheikes added the tts-cli applies to the CLI app label Mar 6, 2021
@alexanderkjeldaas
Copy link
Author

I think maybe an example of a text-to-spech voice name in the documentation would solve the issue. The problem is that there are no examples for GCP, only for Polly.

I also think a comment regarding how to specify wavelet vs normal voices would be useful. As it stands, it says the voice is selected using --language and --gender, but that begs the question whether it will be standard or wavelet, and how to choose.

@eheikes
Copy link
Owner

eheikes commented Mar 10, 2021

GCP provides 2 methods for selecting a voice -- automatically choosing one from the language and gender you specify, or using the one you explicitly specify with voice.

As I understand it, Google doesn't let you specify WaveNet vs normal with the language + gender option. If you want one type specifically, you should use --voice instead to explicitly choose one from their list of voices, e.g.:

$ tts test.ssml test.mp3 --service gcp --voice en-US-Wavenet-B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tts-cli applies to the CLI app
Projects
None yet
Development

No branches or pull requests

2 participants