[PD] oscSend, pd argument types
Damian Stewart
damian at frey.co.nz
Thu Dec 6 14:53:53 CET 2007
hey,
i'm trying to use oscSend to send some numeric data to another application.
basically i've got a float between 0 and 1. the receiving application
unpacks the packet, assuming it's a float. the problem is, oscSend packs 0
and 1 as an int, but 0.000001 - 0.9999999 as a float. so on the receiving
end i have to check if the type is an int or a float and unpack it accordingly.
i assume this is either caused by - the way pd passes around numbers
internally, or - the way oscSend interprets incoming numbers.
is there any simple workaround?
--
damian stewart | +351 967 797 263 | damian at frey.co.nz
frey | live art with machines | http://www.frey.co.nz
More information about the Pd-list
mailing list