mirror of
https://github.com/liuhaozhe6788/voice-cloning-collab.git
synced 2025-12-18 20:49:52 +01:00
new commits
This commit is contained in:
@@ -311,7 +311,7 @@ if __name__ == '__main__':
|
||||
# Synthesizing the waveform is fairly straightforward. Remember that the longer the
|
||||
# spectrogram, the more time-efficient the vocoder.
|
||||
if not args.griffin_lim:
|
||||
wav = vocoder.infer_waveform(spec, target=4000, overlap=400)
|
||||
wav = vocoder.infer_waveform(spec, target=vocoder.hp.voc_target, overlap=vocoder.hp.voc_overlap, crossfade=vocoder.hp.is_crossfade)
|
||||
else:
|
||||
wav = Synthesizer.griffin_lim(spec)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user