Read MIDI files to consistent structure and wrap around WebMIDI APIs