|
Gin
|
State storage for 12dB/octave bandpass filter in AudioEquationParser. More...
#include <gin_audiofunctions.h>
Public Member Functions | |
| BP12State (double sr) | |
| double | process (double v, double freq, double q) |
| void | reset () override |
Public Member Functions inherited from FuncState | |
| FuncState (double sr) | |
| virtual | ~FuncState ()=default |
| virtual void | setSampleRate (double sr) |
Public Attributes | |
| juce::IIRFilter | filter |
Public Attributes inherited from FuncState | |
| double | sampleRate = 44100.0 |
State storage for 12dB/octave bandpass filter in AudioEquationParser.
BP12State implements a one-pole IIR bandpass filter for use in audio equations. The filter passes frequencies near the center frequency while attenuating frequencies above and below with adjustable Q for bandwidth control.
| BP12State::BP12State | ( | double | sr | ) |
References filter, and FuncState::sampleRate.