|
Gin
|
Multi-channel biquad filter with multiple types and slopes. More...
#include <gin_filter.h>
Public Types | |
| enum | Type { none = 0 , lowpass , highpass , bandpass , notch , lowshelf , highshelf , peak , allpass } |
| enum | Slope { db12 = 0 , db24 } |
Public Member Functions | |
| Filter (int maxOrder=2) | |
| void | setSampleRate (double sr) |
| void | setNumChannels (int ch) |
| void | setType (Type t) |
| void | setSlope (Slope s) |
| void | reset () |
| float | getFrequency () |
| void | setParams (float freq_, float q_, float g_=0.0f) |
| void | process (juce::AudioSampleBuffer &buffer) |
| float | getResponseMagnitude (float atFreq) |
Multi-channel biquad filter with multiple types and slopes.
Filter provides a flexible multi-channel filtering solution supporting common filter types (lowpass, highpass, bandpass, etc.) with selectable 12dB or 24dB/octave slopes. It uses high-quality biquad filters with matched z-transform (MZTi) coefficient calculation.
Key Features:
Filter Types:
Slopes:
Usage:
| Filter::Filter | ( | int | maxOrder = 2 | ) |
References Point< T >::Point().
| void Filter::reset | ( | ) |
| float Filter::getFrequency | ( | ) |
References db12, db24, Point< T >::Point(), and Q.