Won't happen. ReaScript cannot access midi ports directly. But, it's still doable with oscii-bot.
Something like this:
@output midi_out MIDI "your_midi_port__exact_name"
function mmcSend () (
deviceID = "yourID"; // you should know what this is
command = "\x02"; // Play command, according to specs?
strcpy(mmcCommand=#,""); // clear mmc variable
strcat(mmcCommand, sprintf(#,"%s%s%s%s%s", "\xF0\x7F",deviceID,"\x06",command,"\xF7"; // construct (concatenate) final string from small strings
midisend_str(midi_out, mmcCommand); // send string to the device
);
Now, call this function from somewhere in your code. From @midimsg, @timer or from @oscmsg. I don't know.
|