Are IIRFilters stateful?


Are IIRFilters stateful?

Meaning, if I am doing filtering in my plugin, should I create one per channel? Or can I use the same plugin to process all the audio channels sequentially?


FIR and IIR filters are stateful, you should have one for each channel, and initialize each one once in the prepareToPlay functions :wink:


Thank you - suspected that much but wanted to make sure :slight_smile: