I need help with understanding how the MIDI format works