kkumatani / distant_speech_recognition

spatial signal processing toolkit a.k.a beamforming toolkit 2.0 (BTK2.0)
MIT License
167 stars 84 forks source link

design_de_haan_filter.py does not work well. #20

Open jie-fei opened 4 years ago

jie-fei commented 4 years ago

Use "python design_de_haan_filter.py -M 4 -m 2 -r 1 -w 1.0 -v 1.0" to design filter: "Solving for synthesis prototype 'g' ... Done. eps_t = 2.750273 eps_r = -12.536268" It is not correct, but the analysis filter is correct!

and I print the _E _f _p, they are abnorml. "0.625415 1.09791e-309 1.09791e-309 0 1.97626e-323 0 0 0" image

kkumatani commented 4 years ago

Hi Jie-fei,

The number of subbands is too small (M=4). It won't be able to reconstruct the signal. You will need to increase it at least to 64 for practice. Those aliasing error terms may not print correct values. I will check them. Those small values are known. It is supposed to be zero, but it won't be perfectly zero in practice.