When I use synthesis.py files to synthesize audio,how to remove the mute part without do_trim_silence=True? #306

First of all, thank you very much for contributing the code.
I used this project to train a very good Mandarin model.

But there is a problem. Every time I use short text to synthesize audio, the end of the audio will have a long silence.

When I am not using WaveRnn, I can use do_trim_silence=True to valid vad (in the utils/syntheis.py Line 81).

But when I use Wavennn as a vocoder, this method doesn’t work. :frowning:

So Is there any way to stop the extra synthesis?

Welcome to the forum.

It looks like you dual posted this verbatim, but did so ~4hrs after @erogol replied to your post in the originally posted issue! Best to stick to one location :slightly_smiling_face:

Sorry, I actually sent it at the same time, but because I just registered my account,It took time to review.orz,I saw his reply, thank you.

Next I will communicate with him on github.thx~:smiley:

Ah, I see! Then it is I who am sorry for my misunderstanding. Glad you’ve got an answer!