Got an audio related question here; So I have two IIR low pass filters that work in parallel to do a filter sweep. Basically:
filtered_sample = filterSweepA(xn) + filterSweepB(xn);
End result: it sounds beautiful! However, now I want to optimize it. I was thinking about combining the two IIR filters into one so I'd only have to call filterSweep
only once but I'm pretty sure you can't do that because of the recursive properties...
I think I understand that FIR filters would be the way to go but I've searched the internets and I've seen nothing about FIR filter sweeps.
- Is this possible/just difficult to do?
- If this can be implemented how would I be doing this?
I don't really know how to figure out FIR filter coefficients so I guess that would be the place to start...
FYI I am controlling the start, stop filter frequency cutoffs and the sweep time (usually around 1.5 seconds).