18 float generateSample();
19 void setAmplitude(
float amplitude) { mAmplitude = amplitude; }
20 void setFrequency(
float frequency) { mFrequency = frequency; }
21 void setType(OscType oscType);
29 std::function<float()> generateSampleFunc;
32 std::function<float()> sineFunc;
33 std::function<float()> squareFunc;
34 std::function<float()> sawFunc;
35 std::function<float()> triangleFunc;