Hi,
i tried your patch on winxp just with udpsend and had the same problems: error: udpsend_send: item 0 (-1.000000) is not between 0 and 255 error: udpsend_send: item 0 (1.100000) is not an integer so maybe the problem is not OSC but UDP? as it seems to handle only single bytes. So my question how to send a -1.1 over UDP? g.
PSPunch schrieb:
Hi Martin,
Thank you for your response.
I am attaching the patch used to produce the following results.
This was tested on Pd version 0.41.4-extended, running on WinXP SP3.
The OSC data were sent by GlovePIE running the following code.
SendOSC("127.0.0.1", 9997, "/test", 0) wait 1 second SendOSC("127.0.0.1", 9997, "/test", 1.5) wait 1 second SendOSC("127.0.0.1", 9997, "/test", -1) wait 1 second
I was expecting [routeOSC] to output 0, 1.5, -1.
--- Output ---
raw: 47 116 101 115 116 0 0 0 44 105 0 0 0 0 0 0 unpacked: /test 0 routed: 0
raw: 47 116 101 115 116 0 0 0 44 102 0 0 63 63 0 0 unpacked: /test 0.746094 routed: 0.746094
raw: 47 116 101 115 116 0 0 0 44 105 0 0 63 63 63 63 unpacked: /test 1.06111e+009 routed: 1.06111e+009
Thank you again for your help.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list