Building the MIDI payload