Gin
|
Base class to store an audio functions state But you say "functions don't have state!" Well, that's true, but to make things like filters act as functions, I need to hide a bit of state in them. More...
Public Member Functions | |
FuncState (double sr) | |
virtual | ~FuncState ()=default |
virtual void | setSampleRate (double sr) |
virtual void | reset () |
Public Attributes | |
double | sampleRate = 44100.0 |
Base class to store an audio functions state But you say "functions don't have state!" Well, that's true, but to make things like filters act as functions, I need to hide a bit of state in them.
FuncState::FuncState | ( | double | sr | ) |
|
virtualdefault |
|
virtual |
References sampleRate.
|
virtual |
Reimplemented in Notch24State, Notch12State, LP24State, LP12State, BP24State, BP12State, HP24State, HP12State, and OscState.
double FuncState::sampleRate = 44100.0 |