live.drop streaming output to OSC

    Aug 27 2014 | 4:19 pm
    I'm working on a patch that sends SYSEX to a helper Max patch and then to hardware.
    I want to add a drag and drop feature for .syx files but I'm really at a loss on how to use live.drop to open and output the contents of the file, and then to send it through a udpsend object to my midi out on the other patch.
    Any help please, thanks.

    • Aug 27 2014 | 8:06 pm
      By the power of Grayskull I figured it out. Here's a subpather that takes a path. Is it the best way? I don't know. I couldn't figure out coll and streaming the message to syxout one byte at a time doesn't work. I needed to read the whole file as 8 bit numbers then bang as one message. So I used metro on file in to read one byte at a time and [m append $1] to a [m] until the whole file is read. Bang it out and clear the [m] for the next read.
      Works well for patch files which are only 122 bytes for the device patch I'm using this for