So I have a working highpass and lowpass slider for my plugin. The problem is i have the highpass filter at 20 and the lowpass filter at 20k by default but i still hear them filtering out some of the lows and the highs even at those set parameters. ( I set them up just like on TheAudioProgrammer tutorial for iir filters without adding sliders for the q, just leaving them at .1 ). It sounds like theres still some sort of filtering going on as i’m mostly hearing the mids when i should be hearing everything… I’m definetely doing something wrong but i know its not the distortion processing as is sounds fine when i just comment out the filter processing.
I see now, i had though the slope would start exactly at that frequency… guess i need to do some more research on filters lol. Thanks for the quick response!
The slope can’t start exactly at any frequency, otherwise the response wouldn’t be continuous. For 2nd order filters it tends to zero at one extreme and to 12 dB/octave at the other, with a transition around the cutoff. Q is the gain at the cutoff -it’s 1/sqrt(2) for Butterworth (maximally flat frequency response), 1/2 for critical damping (fastest lowpass decay without overshoot). So 20*log10(Q) is your cutoff gain in dB: -3 for Butterworth, -6 for critical damping, etc.