anybody have a solution for reading a Sysex file and then sending it to a MIDI port? I know I could use something like Sysex Librarian, however, I would like to do this automatically in Max when the patch is loaded. Would appreciate any help.
[sxformat] is for editing/formatting the output, but mind that it uses the decimal system ([midiout] translates everything back to hex) and you should know about the [expr] object as [sxformat] can use its methods to handle variables.
[midiin] takes sysex as any any other incoming midi data but there is also a [sysexin] midi-filter.