34 inline void Init(
float sample_rate,
float freq,
float initial_phase)
36 sample_rate_ = sample_rate;
43 inline void Init(
float sample_rate,
float freq)
45 Init(sample_rate, freq, 0.0f);
50 inline void Init(
float sample_rate) {
Init(sample_rate, 1.0f, 0.0f); }
67 float sample_rate_, inc_, phs_;
float Process()
Definition phasor.cpp:13
void SetFreq(float freq)
Definition phasor.cpp:7
void Init(float sample_rate)
Definition phasor.h:50
void Init(float sample_rate, float freq)
Definition phasor.h:43
void Init(float sample_rate, float freq, float initial_phase)
Definition phasor.h:34
float GetFreq()
Definition phasor.h:63
FIR Filter implementation, generic and ARM CMSIS DSP based.
Definition adenv.h:16