HTML5 MIDI file parser