is there a way to make the gainFactor of a Peak Filter (IIR, using makePeakFilter()) logaritmic and going from 0db to 60db? Here’s the actual code I have:
where gain going from value 0 to 60 linearly.
As filter says, it start to “grown” from 1.0 value (i.e. gain = 0.5 is a negative peak).
So also this need to be compensate (i.e. start from 1.0, converting logaritmically to 0-60).
If I put a gain = 40 on the code, I see a peak with actual gain of +31db (i.e. from -60db to -29db), not 40: