RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

How to change the voice to male

Open Khal-ID opened this issue 4 years ago • 5 comments

This is not an issue, as the title says, is there a way to change the TTS voice to male? If so how? If not, maybe you could add in the option? Thank you!

Khal-ID avatar May 31 '22 23:05 Khal-ID

I don't believe so but there is always TTS.setPitch() Either way I'm currently almost done on a redesign of that module using the TikTok TTS API versus the Google One (on my fork)

JasonLovesDoggo avatar Jun 01 '22 00:06 JasonLovesDoggo

update: I'm done with the redesign and it's a drop-in replacement if anyone wants to use it.

TTSwrapper and voices.py

JasonLovesDoggo avatar Jun 01 '22 03:06 JasonLovesDoggo

I'll definitely give it a try tomorrow. Thank you! :)

Khal-ID avatar Jun 01 '22 05:06 Khal-ID

The google TTS isn't very robust (which is currently being used). I used this because it requires almost no configuration.

I have a branch up that uses the Google Cloud Text to speech service where you can choose what voice you would like: https://cloud.google.com/text-to-speech/docs/voices

The only drawback is this requires a bit more configuration and to have Google Cloud.

elebumm avatar Jun 01 '22 12:06 elebumm

How can i use one of the voices from Google Cloud?

IdkHowAreYOU avatar Jun 01 '22 12:06 IdkHowAreYOU