|
uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
|
Pointers to MIDI message handling callbacks. More...
#include <midi.h>

Data Fields | |
| void(* | control_change )(midi_value_t controller, midi_value_t value) |
| void(* | note_off )(midi_value_t note, midi_value_t velocity) |
| void(* | note_on )(midi_value_t note, midi_value_t velocity) |
| void(* | program_change )(midi_value_t program) |
Pointers to MIDI message handling callbacks.
These event handlers are automatically called by ISR(USARTE0_RXC_vect) whenever a MIDI message was received successfully.
| void(* midi_event_handlers::control_change) (midi_value_t controller, midi_value_t value) |
Callback for control changes
| controller | the changed MIDI controller's number |
| value | the new MIDI controller value |
| void(* midi_event_handlers::note_off) (midi_value_t note, midi_value_t velocity) |
Callback for note off messges
| note | the MIDI note that was turned off |
| velocity | velocity of the key press |
| void(* midi_event_handlers::note_on) (midi_value_t note, midi_value_t velocity) |
Callback for not on messages
| note | the MIDI note that was turned on |
| velocity | velocity of the key press |
| void(* midi_event_handlers::program_change) (midi_value_t program) |
Callback for program changes
| note | the MIDI program to load |
1.8.13