Adds MIDI-compatible events.
Note that this introduces duplicated events that should be sorted out.