Are IIRFilters stateful?


#1

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?


#2

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


#3

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