Thread: Midi <-> OSC
View Single Post
Old 11-19-2017, 10:01 AM   #100
fundorin
Banned
 
Join Date: Feb 2014
Location: Moscow, Russia
Posts: 554
Default

This is what I get in log window, using Justin's sysex convert function:



And this is the code that I'm using to print the word "sysex", when incoming OSC message is equal to the string from log.
The thing is that it doesn't work as it should. What am I missing here, guys?

Code:
@midimsg 
// logMidi();
sysex_message = oscstr;
printf("%s\n",format_hex(sysex_message));
format_hex(sysex_message) == "f0 00 20 29 03 03 12 00 02 00 01 01 f7" ? ( // React to this when console is turned on
    printf("sysex");
    // slStartup();
);
fundorin is offline   Reply With Quote