[PD] using netsend with hex?

Krzysztof Czaja czaja at chopin.edu.pl
Mon Sep 2 15:55:06 CEST 2002


hi,

what is being netsended is just text.  Any data, be it a symbol or
a float, is converted into text.  How this text would be parsed is
up to a receiver -- if you are using a netreceive object, then you
would get the standard Pd's way of parsing into atoms (symbols and
floats), with spaces treated as separators.

If by sending FFFF you mean packing up four 0xF bytes into a text
string, then [sprintf] could do this.  Otherwise, you probably
mean sending 65535 (or -1 if your receiver expects signed shorts)?

Krzysztof

nullpointer wrote:
 > how would i format a message to send an equivalent value of hex FFFF via
 > netsend?
 > And how can i handle spaces in netsend messages?
 > (i seem to remember that making symbols e.t.c. got tricky)





More information about the Pd-list mailing list