Hopefully you can help me understand what i’m trying to figure out. I have a synth using classes built around the IIRFilter in -12dB, -24dB, -48dB, and notch configurations. Right now in my synth the filter is being controlled by cutoffFreq and resonance parameter Sliders, as well as ADSR and LFO modulation, and it’s being processed every sample in mono. (I break out the signal to stereo at the end of my process block.)
I want to add a visualization of the different filters’ rolloff and resonance. After several days of trying to pick apart and decipher different bits of code or math i’ve found online, on the forum, or in the different Juce filter & coefficient classes, I’m stuck.
What do you suggest is the best way to tackle this? Or is there some resource that would help a non-math-expert explain exactly what i need to calculate to draw a Path component along the frequency response of the different filters?
I’ve thought about changing to the dsp::IIR::Filter to try to utilize dsp::IIR::Coefficients getMagnitude method, but when i implemented a dsp::IIR::Filter, it was nothing but pops and clicks, as expected because of the ADSR/LFO.
I’m also willing to fake-it, and draw curved paths that emulate what the different filters look like, if it’ll save me more grief.
If you need to see any specific bits of my code, let me know. Didn’t want to just plaster my post with needless code-clutter.