forked from Sian-Lee-SA/StudioOne-LaunchKey-Mini-MK3
-
Notifications
You must be signed in to change notification settings - Fork 1
Midi mapping for MidiMessage format
Keith Kepler edited this page Jul 4, 2024
·
3 revisions
Here's the format for translating the midi message output into the XML block.
Status - Data1 - Data2 - Channel - Note
If you have a MIDI message like
9F 07 7F 16 G -1 Note On or 
It has to be mapped like so:
<MidiMessage status="#9F" address="#07"/>
or
<MidiMessage status="NoteOn" channel="15" address="#07"/>
90 to 9F are NoteOn messages (see the quick reference card below). The second digit (0..F) is the MIDI channel, so you won't need the channel attribute if you use 9F because the channel is included where "NoteOn" would need it.
Data1 is the address attribute and Data2 is the actual value of the message. In case of a NoteOn message it's the velocity.
