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

skipping a few sentences #17

Closed gersooonn closed 11 months ago

gersooonn commented 11 months ago

When I'm watching the clip with the subtitles, I see that some phrases were not spoken, it seems that some words are skipped. Is there any command that you can put the second voice behind, to be able to speak all the lines of the subtitle?

rany2 commented 11 months ago

Yes it's possible, just add edge_tts{voice:YOUR_VOICE} at the end of the subtitle line where you want to override the voice.

gersooonn commented 11 months ago

He still doesn't say a few words, leaving that sound space empty. image

I sent you the print to take a look, where the speech was not reproduced, which was absent from the spoken sentence. I can't send you the audio and .srt to analyze. image

https://github.com/rany2/edge-srt-to-speech/assets/128495179/022b8747-dbbc-48c9-a579-efdf067f4512

gersooonn commented 10 months ago

Sabe como posso fazer para corrigir isso? Fica acontecendo em alguns áudios gerado

rany2 commented 10 months ago

If you do a rerun is it always the same piece that gets ignored?

gersooonn commented 10 months ago

Sometimes it happens elsewhere, not in the same place. But sometimes it happens anyway.