bryan-brancotte / subtitle_to_speech

convert subtitle (.srt) to speech (.wav) using google API
Apache License 2.0
38 stars 22 forks source link

Use difference voice like man's google assitant? #3

Open txs opened 3 years ago

txs commented 3 years ago

Hi! I love this project! And it works pretty well! However, I would like to ask if it's possible to have different voice options like man's voice! Thanks!

bryan-brancotte commented 3 years ago

Hi, it's using gTTS and it seems that you are not the first wanting different voice but it might not be possible (cf https://github.com/pndurette/gTTS/issues/31) while we can see that they exist in https://cloud.google.com/text-to-speech/docs/voices. If you find how I'm interesting in knowing !

Tizioincognit0 commented 2 years ago

This could be done using pyttsx3 instead of gTTS as I noticed in the issue #5.