Hi all,
I am implementing a patch that receive OSC messages from a program made in openFrameworks that track the coordinates of the joints of the human body. In its most simple form:
thisProcess.openUDPPort(9009);
(
OSCdef(\testOF, {
arg msg;
msg.postln;
}, '/ofxmp/handsW');
)
SC receives the messages:
[/ofxmp/handsW, h, 0, 1.9728881079229e-41, 1.8216880036223e-44, -0.074573159217834,...etc...
However, I realized that the field 1 and 2 are not what they should be, which is the tracking’s idetifier for each hand for instance, in other words msg[1] and msg[2].
Using Protokol to check the OSC messages outside SC, and I get the following messages:
ADDRESS(/ofxmp/handsW) INT64(14582) INT32(26) FLOAT(-0.025433855) FLOAT(0.08300941) FLOAT(0.028000904)...etc...
In this message, the field 2 has the value 26, which is the tracking’s identifier. At first I thought it was the type of the message, INT32. However, setting another OSC message that have the same type (INT32) from OF, which send the size of the screen, it show up correctly in SC. On he other hand, the field 1 of the type INT64, in supercollider is showed as h and in Protokol the value is the number 14582 .
Someone know what could happen, and how I can sorted out to get the tracking’s identifier in SC.
Thanks in advance
