INSTRUMENT design – multi-purpose equalizer (filter) object
The Oequalizer object uses a biquad filter algorithm to instantiate a number of different filter types (low-pass, high-pass, band-pass, etc.). The code was based on work done by Tom St. Denis, using formulas for the filter coeeficients from Robert Bristow-Johnson’s on-line document The Audio-EQ-Cookbook.
The older functions reson and resonz do similar signal-processing actions, but using different and somewhat less flexible algorithms. For very simple filtering, the Oonepole object may be more appropriate.
Oequalizer(float SR, OeqType filter_type)
*SR* is the current sampling rate (an
Instrument class variable).
*filter\_type* is the kind of filter that will be implemented by
the biquad equation. These types are defined in the OeqType structure
found in the RTcmix/genlib/Oequalizer.h file: