alternatively it was suggested that a hacky temporary solution is to add 0.000001 (or something like it) to values, to make them not be automatically converted to int.
ultimately i think a new message for the sendOSC object should be implemented, called "sendtyped", that includes a typestring for expected arguments. steve On 2/14/07, Frank Barknecht <[EMAIL PROTECTED]> wrote:
Hallo, 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. Ciao -- Frank Barknecht _ ______footils.org_ __goto10.org__ _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
