[PD] int - float confusion with OSC communication

Martin Peach martin.peach at sympatico.ca
Thu May 22 18:38:27 CEST 2008

I think you may be using an old version of udpsend, I believe I corrected 
that problem last year sometime. (udpsend was interpreting incoming bytes 
between 128 and 255 as negative). At least it works for me here on both 
WinXP and linux. Maybe post your patch if that's not the case.


>From: "raul diaz" <raul.lete at gmail.com>
>To: "IOhannes m zmoelnig" <zmoelnig at iem.at>, pd-list at iem.at
>Subject: Re: [PD] int - float confusion with OSC communication
>Date: Thu, 22 May 2008 18:21:19 +0200
>Hi IOhannes, all!
>Excuse my insistence but I can't use OSC communication with mrpeach's OSC
>I have tried both Pd-vanilla 0.41-4 & Pd-extended 0.39.3 on Windows XP, and
>I only obtain an error message:
>error: udpsend_send: item 13 (-52.000000) is not between 0 and 255
>error: udpsend_send: item 16 (-1.000000) is not between 0 and 255
>when I send a float or negative value with [packOSC].
>Jack said there is no error on MacOSX.4.11, PowerBook G4,
>pd-extended 20080520.
>Is that a bug? Or I'm wrong with something?
>I'm really stuck with this problem!
>Raul Diaz Poblete
>raul.lete at gmail.com
>Barcelona [Spain]

>PD-list at iem.at mailing list
>UNSUBSCRIBE and account-management -> 

More information about the Pd-list mailing list