Adds some MIDI code.