Quote:
Originally Posted by fundorin
... "\xF0\x00\x20\x29\x03\x03\x12\x00\x02\x00\x01\x01\ xF7"....
this is the symbol that I'm getting: ð
|
The SysEX string you receive does not contain a single printable character. So you need to handle it's characters (bytes) in a binary way:
e.g. (for single bytes containing a value 0..127, as defined here ->
http://www.gweep.net/~prefect/eng/re.../midispec.html ):
i = 0;
x = str_getchar(oscstr, i, 'cu');
...
(In fact I don't know what type 'c' is supposed to do (
-64..+64 ???) , as seemingly any SysEX needs to have bit 7 = 0. I also don't know if/how the types larger than one byte will strip off the bits 7 from the multiple bytes ).
-Michael