Originally Posted by caseyjames
Not that I'd be able to write a handler for them, but is it not possible to write something within JS to read a midi file? Is it not able to load arbitrary files, even if it can't cope with them?
Unless Cockos changed something and they forgot to update the JS documentation, yes.
Here are all available file functions in JS:
MIDI is not among then and neither is arbitrary file access. Only wav, ogg and specially formated txt files.