I have been using the gTTS module for python 3.4 to make mp3 files of spoken text. It has been working, but all of the speech is in a certain adult female voice. Is there a way to customize the voice that gTTS reads the text in?
Unfortunately it does not appear you can do that. The script uses this webpage to grab voice from, and it appears all you can do is have one voice per language.
Reading the actual source shows that your next best bet would be to try to pass a different language that is still English (for example, en-uk). It may produce a different result that is still English but with a different dialect.
If you call "gtts-cli --all" from a command prompt, you can see that gTTS actually supports a lot of voices. However, you can only change the accents, and not the gender.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With