integration of jasmid library to read MIDI files

    Aug 08 2016 | 6:03 pm
    I'd like to be able to use the jasmid Javascript tools within Max, to allow for reading info from MIDI files. I'm aware of the new ability within Max to "include" javascript files , but in general I suck at Javascript so I've not been able to get very far. I believe I need the stream.js and midifile.js pieces; my goal is to be able to give a js object within Max the path to the MIDI file, and then get the note and other info out of the js object for use in Max-land.
    Can anyone help?

    • Aug 08 2016 | 7:22 pm
      It will be probably more handy use [jweb] instead of [js]. [jweb] is actually a WWW browser "inside max" - you may work with JavaScript nested on webpage loaded into [jweb] as with any "typical" JavaScript - and you send messages from/to [jweb] from your Max patch.
      [jweb] is in general very interesting object, there are some, relatively current, topics on this forum about the [jweb].
    • Aug 08 2016 | 8:34 pm
      Thanks Yaniki - I'm aware of jweb, and that's a good tip to give it a look, I will do so as I've not done that yet.
      Nonetheless I'm still eager to see if there's a more streamlined way to do it within a plain old js object; seems a fair amount of overhead to run jweb within my patch if all I need to be able to do is invoke these relatively small two .js files...