lmnt-com / diffwave

DiffWave is a fast, high-quality neural vocoder and waveform synthesizer.
Apache License 2.0
754 stars 111 forks source link

SpectrogramUpsampler only can be used when hop_samples=256 how to make it to support more hop_samples #44

Open 2651084156 opened 1 year ago

2651084156 commented 1 year ago

thecode in this repository only support hop_samples=256 图片

if i try change it i will get 图片 i try it to fix it 图片 but i think it not a good way to fix it could i have other way to fix it and make it support more hop_samples

sharvil commented 1 year ago

The hop size is tightly coupled with the upsampler module. You'll have to make changes to the transposed convolutions whenever you change the hop size. Here's an example of how you could change the hop size to 300: https://github.com/lmnt-com/diffwave/issues/6. In general, though, you'll have to compute the right arguments for the transposed convolutions.

2651084156 commented 1 year ago

The hop size is tightly coupled with the upsampler module. You'll have to make changes to the transposed convolutions whenever you change the hop size. Here's an example of how you could change the hop size to 300: #6. In general, though, you'll have to compute the right arguments for the transposed convolutions.

thank i fix it

and

if i want use sample_rate=44100 which Model params i should make it bigger than Default params?