EQ with dsp filters including gain control

sonaben

Active member
Hi,

I'm trying to implement an EQ with the following 4 stages:

EQ1. High-pass: 12dB/oct @ 50Hz
EQ2. Dip: -1.5dB @ 150Hz, Q=1.5
EQ3. Dip: -8dB @ 2000Hz, Q=0.7
EQ4. Dip: -6dB @ 9500Hz, Q=3

I was hoping to use the AudioFilterBiquad object with the following stages:

Code:
  biquadFilter.setHighpass(0, 50, 0.707);
  biquadFilter.setNotch(1, 150, 1.5);
  biquadFilter.setNotch(2, 2000, 0.7);
  biquadFilter.setNotch(3, 9500, 3);

But then I have no control of the gain attenuation...

I've had a look at the other filters but they don't seem to handle the gain either.

Do you know if this would be achievable with fir filters (had a try at http://t-filter.engineerjs.com but can't see how to replicate the Q resonance parameter)?

Any other ways to achieve this?

Thanks!

Ben
 
Back
Top