View Single Post
Old 03-24-2011, 08:23 PM   #43
Mich
Human being with feelings
 
Join Date: May 2009
Posts: 1,265
Default

Quote:
Originally Posted by groundhum View Post
Doesn't file_mem() read from any open file? I'm just asking; the spec implies it.
Maybe, but I don't think JS allowa you to open any other files than wav, ogg and txt. I could be wrong though, best thing would be you go and try to open a MIDI file and see whether file_mem() returns something usable, however I doubt it will work because similar requests were already made multiple times, e.g.: http://forum.cockos.com/showthread.php?t=75323 but the answer todate has (sadly) always been no you can't read arbitrary files with JS.
Mich is offline   Reply With Quote