11 bool canPlaySound(juce::SynthesiserSound *)
override;
12 void startNote(
int midiNoteNumber,
float velocity, juce::SynthesiserSound *sound,
13 int currentPitchWheelPosition)
override;
14 void stopNote(
float velocity,
bool allowTailOff)
override;
15 void controllerMoved(
int controllerNumber,
int newControllerValue)
override;
16 void pitchWheelMoved(
int newPitchWheelValue)
override;
17 void renderNextBlock(juce::AudioBuffer<float> &outputBuffer,
int startSample,
int numSamples)
override;
18 void setOscillatorType(Oscillator::OscType oscType)
20 oscillator.setType(oscType);
24 using juce::SynthesiserVoice::renderNextBlock;