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