[PD] int - float confusion with OSC communication

IOhannes m zmoelnig zmoelnig at iem.at
Tue May 20 14:14:38 CEST 2008

raul diaz wrote:
> Hi IOhannes, all!
> I have tried with mrpeach net/osc objects but I receive this error:
> "udpsend: connecting to port 12000
>  error: udpsend_send: item 34 (-101.000000) is not between 0 and 255"
> Must I send only positive values in the range between 0 - 255?
> And how can I specify explicitely the types of the OSC-atoms?
> I can't find any information about this in mrpeach folder at Pd 
> 0.39.3-extended.

you have to convert your osc-message with [packOSC] (and decode it with 
[unpackOSC] on the receiving side)
[udpsend] only takes raw-data (lists of bytes (disguised as floats))


More information about the Pd-list mailing list