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...
#include <gin_audiofunctions.h>
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 |
References sampleRate.
Reimplemented in OscState, HP12State, HP24State, BP12State, BP24State, LP12State, LP24State, Notch12State, and Notch24State.
double FuncState::sampleRate = 44100.0 |