63 bool isNoteOn (
int midiChannel,
int midiNoteNumber)
const noexcept;
72 bool isNoteOnForChannels (
int midiChannelMask,
int midiNoteNumber)
const noexcept;
82 void noteOn (
int midiChannel,
int midiNoteNumber,
float velocity);
94 void noteOff (
int midiChannel,
int midiNoteNumber,
float velocity);
103 void allNotesOff (
int midiChannel);
111 void processNextMidiEvent (
const MidiMessage& message);
131 void processNextMidiBuffer (
MidiBuffer& buffer,
134 bool injectIndirectEvents);
155 int midiChannel,
int midiNoteNumber,
float velocity) = 0;
167 int midiChannel,
int midiNoteNumber,
float velocity) = 0;
173 void addListener (
Listener* listener);
178 void removeListener (
Listener* listener);
183 std::atomic<uint16> noteStates[128];
187 void noteOnInternal (
int midiChannel,
int midiNoteNumber,
float velocity);
188 void noteOffInternal (
int midiChannel,
int midiNoteNumber,
float velocity);
virtual void handleNoteOff(MidiKeyboardState *source, int midiChannel, int midiNoteNumber, float velocity)=0
virtual void handleNoteOn(MidiKeyboardState *source, int midiChannel, int midiNoteNumber, float velocity)=0