Take a very basic thing like this eq component from Reaqson. there is a frequency, a gain, and a Q value. to my mind that looks like a notch filter, but the dsp::IIR::CoefficientsmakeNotch() doesn’t allow for a gain. Is it a bandpass instead?
Also what if the user is specifying different gain, q, and filter values, do I need to initialise the coefficients Ptr each time? That sounds like a lot of dynamic memory allocating based on user input, I’d like to mitigate that as much as possible, is there anyway around that?
Thanks, I should probably read that before asking anymore, it will no doubt answer another question I had about Q values, there’s clealry some voodoo I don’t understand there, I know it’s the steepness of the band but my grasp of it isn’t as tangiable as it could be. I found the peak filter and was playing with it as you posted about it, it looks like it’s not a -ve value but a value between 0-1 that acts as -ve gain. Things have improved slightly, still far to go.