What is the max cutoff frequency for a low pass filter that can be used with either the
juce::IIRFilter or the
juce::dsp::StateVariableFilter::Filter. I assumed it would be
sampleRate / 2.
Docs don’t say anything, but the
IIRFilter has the following assert:
jassert (frequency > 0 && frequency <= static_cast<float> (sampleRate * 0.5));
However, when my cutoff frequency gets close to sampleRate / 2, the IIRFilter seems to feedback and get out of control.
I tried the StateVariableFilter, but when the cuttoff gets high, it either gives me noise as output or a DC signal. Also, the StateVariableFilter doesn’t have notch – is there any plan to add that?
Any idea what I should limit my max cut off too?