rany2 / edge-srt-to-speech

Convert SubRip to speech using Microsoft Edge's TTS service
https://pypi.org/project/edge-srt-to-speech/
GNU General Public License v3.0
43 stars 10 forks source link

How to change the voice? #16

Closed gersooonn closed 11 months ago

gersooonn commented 11 months ago

I liked your project, I need it for my studies to transform srt into audio, but I can't make it work. Could you give me instructions on how to make it work?

rany2 commented 11 months ago

What issue are you facing right now?

gersooonn commented 11 months ago

image

I got to this part, how do I choose the voice? Do you have a Brazilian Portuguese voice?

image

rany2 commented 11 months ago

Yes, run edge-tts --list-voices and pick a Brazilian Portuguese voice. When you picked a voice use the ShortName as a parameter to edge-srt-to-speech like this: edge-srt-to-speech --voice VoiceShortName SRT MP3