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);
187 void noteOnInternal (
int midiChannel,
int midiNoteNumber,
float velocity);
188 void noteOffInternal (
int midiChannel,
int midiNoteNumber,
float velocity);
Holds a set of objects and can invoke a member function callback on each object in the set with a sin...
Holds a sequence of time-stamped midi events.
Receives events from a MidiKeyboardState object.
virtual void handleNoteOff(MidiKeyboardState *source, int midiChannel, int midiNoteNumber, float velocity)=0
Called when one of the MidiKeyboardState's keys is released.
virtual void handleNoteOn(MidiKeyboardState *source, int midiChannel, int midiNoteNumber, float velocity)=0
Called when one of the MidiKeyboardState's keys is pressed.
Represents a piano keyboard, keeping track of which keys are currently pressed.
Encapsulates a MIDI message.