14 Oscillator(
float fs, Oscillator::Type type = sine)
20 void setup(
float fs, Oscillator::Type type = sine);
23 float process(
float frequency);
24 void setType(Oscillator::Type type) {
27 void setFrequency(
float frequency) {
28 frequency_ = frequency;
30 void setPhase(
float phase) {
34 float getPhase() {
return phase_; }
35 float getFrequency() {
return frequency_; }
36 int getType() {
return type_; }
42 unsigned int type_ = sine;
Definition: Oscillator.h:3