|
Gin
|
State storage for 12dB/octave lowpass filter in AudioEquationParser. More...
#include <gin_audiofunctions.h>
Public Member Functions | |
| LP12State (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 lowpass filter in AudioEquationParser.
LP12State implements a one-pole IIR lowpass filter for use in audio equations. The filter removes frequencies above the cutoff with a 12dB/octave slope, with adjustable Q for resonance control.
| LP12State::LP12State | ( | double | sr | ) |
References filter, and FuncState::sampleRate.