State Variable Peak + Shelf Filter

I think it would benefit many of us to have the State Variable Filters have a peak and shelve modes like IIR class.

Also a get magnitude for frequency function.


I have an implementation of the SVF transfer functions for peak/lowshelf/highshelf here (disclaimer, not C++).

The analog_xfer_fn function is directly translateable for realizing the SVF implementation of peak/shelving filters, the extra math is to efficiently get to a state/space representation and not relevant for the JUCE SVF.

1 Like