An interface for handling MIDI note events within a synthesizer or audio system.
Definition note_handler.h:16
virtual void allNotesOff(int sample, int channel)=0
Turns off all currently active notes on a specific MIDI channel, optionally specifying a sample index...
virtual ~NoteHandler()
Virtual destructor.
Definition note_handler.h:21
virtual void allNotesOff(int sample)=0
Turns off all currently active notes, optionally specifying a sample index for timing.
virtual void noteOn(int note, mono_float velocity, int sample, int channel)=0
Handles a MIDI note-on event, starting a note with a specified velocity and timing.
virtual void noteOff(int note, mono_float lift, int sample, int channel)=0
Handles a MIDI note-off event, releasing a currently active note.
virtual void allSoundsOff()=0
Immediately turns off all sounding notes and stops all sound production.
Contains classes and functions used within the Vital synthesizer framework.
float mono_float
Definition common.h:33