zamaudio / zam-plugins

Collection of LADSPA/LV2/VST/JACK audio plugins for high-quality processing
http://www.zamaudio.com/?p=976
GNU General Public License v2.0
265 stars 37 forks source link

ZamEQ31: disable the bands outside of filterable range #72

Closed jpcima closed 5 years ago

jpcima commented 5 years ago

When the plugin runs at 44100 Hz sample rate, the upper limit of 20k band is outside of Nyquist range. This filter computation puts the DSP in unstable state.

When the rate is within a certain range below Nyquist frequency and making the band unusable, I'll disable its computation. It disables the last band at 44.1k, and has no effect at 48k and up.

fixes #68

zamaudio commented 5 years ago

This is a good idea, I'll merge it soon

zamaudio commented 5 years ago

Closing as I have merged it manually.