kan-bayashi / ParallelWaveGAN

Unofficial Parallel WaveGAN (+ MelGAN & Multi-band MelGAN & HiFi-GAN & StyleMelGAN) with Pytorch
https://kan-bayashi.github.io/ParallelWaveGAN/
MIT License
1.57k stars 343 forks source link

How to select num_taps and beta for PQMF? #404

Closed bfs18 closed 1 year ago

bfs18 commented 1 year ago

Hi, thanks for the great repo. How to select num_taps and beta for PQMF? I tried scipy.signal.kaiserord(100, 1 / (2*4)), however the result is different from the parameter in the code.

bfs18 commented 1 year ago

62, 9.0 seems conforms to the following equation num_taps, beta = kaiserord(90, 0.5 / num_subbands * 1.5)

kan-bayashi commented 1 year ago

You can check the notebook: https://github.com/kan-bayashi/ParallelWaveGAN/blob/master/notebooks/filter_design_example.ipynb