Hallo, dmotd hat gesagt: // dmotd wrote:
here are some purepd representations of the [equalizer] [lowshelf] and [highshelf] objects for calculating eq biquad filter coefficients. i put these together as ggee was the only external lib dependency for a project which used these fairly extensively. the code is almost logic identical to the equivelent C internals, and i have avoided using [expr], so the math may look a little confusing.
i only ported the code for the objects i was using, but i will add the other eq-cookbook filters when i next get a chance.
Very nice. Actually these three cookbook filters are the three that I didn't yet port to purepd, so they are very welcome! :)
The others are included in the rjdj library as u_lowpass, u_lowpassq, u_highpass, u_highpassq, u_bandpass1, u_bandpass1q, u_bandpass2 and u_bandpass2q. There also is a signal biquad~ as e_beequad available (which just does linear interpolation of parameters, so it's of course not really correct if you do larger jumps).
Frank Barknecht Do You RjDj.me? _ ______footils.org__