I wanted to raise an issue I’m facing with the StateVariableTPTFilter. After couple of days trying to solve it following multiple threads on the forum and tutorials, I’m a bit lost with these… “pops”.
TPT filters shouldn’t pop. It’s one of the main attractions to using them over the usual direct form biquads. Without running your code, the pop could be causing frequencies to appear or you might be seeing side bands which also appear under phase modulation.
At what modulation frequency in Hz are you hearing the pops?
First thing, don’t set the filter type inside updateParameters. It may be that the filter state is being reset there which could well cause audio glitches.
Yes I tried directly with adhoc lowpass filter set up in the “FilterData::prepareToPlay” and no luck
EDIT: it is true that if any voice is playing and I change the filter type then it Clicks. I can improve that part to avoid those clicks but for sure removing the update filter type on the “updateParameters” is not fixing the pops due to fast modulation