[PD] floats getting forced into int

Frank Barknecht fbar at footils.org
Wed Feb 14 17:16:38 CET 2007

David Brynjar Franzson hat gesagt: // David Brynjar Franzson wrote:

> I am working on a project that sends OSC messages from PD, and for
> some reason, when dealing with message lists of mixed objects, such as
> [send /OSC/blah 0.0 1.0 1.0], PD turns the floating point numbers into
> int, but only when they represent whole numbers. Can anyone think of a
> work around where they stay as floating point, or is there some simple
> solution that I am missing (I can't be bothered to hack up an external
> just to solve this).

Maybe you can be bothered to make a tiny modification to sendOSC.c as
in attached patch and recompile. THis should remove the automatic
conversion. Use at your own risk, I didn't test this at all yet.

 Frank Barknecht                 _ ______footils.org_ __goto10.org__

More information about the Pd-list mailing list