[PD-dev] changing netsend [was: automatically "send" lists with [udpsend]]

Frank Barknecht fbar at footils.org
Tue Jun 19 13:54:38 CEST 2007


Hallo,
SourceForge.net hat gesagt: // SourceForge.net wrote:

> e.g.
> "1 2 3 59" is the same as "send 1 2 3 59" 
> "list /tmp/test.txt" is the same as "send /tmp/test.txt"
> 
> reasoning:
>
>  - when dealing with a lot of messages to be sent, it quickly
>  becomes tiresome and cpu-consuming to have to prepend "send" to
>  every message.
>
>  - lists are the native type of "data" in pd (as opposed to
>  "commands"); [udpsend]s native way to deal with "data" is to send
>  it (special behaviour like (dis)connecting is done via special
>  messages)
>
> might be that my reasoning is not completely in-line with pd-vanilla
> (compare the "send" message to [netsend])

At first I thought, changing [netsend] so that it behaves the same would
be cool as well, however [netreceive] differentiates between "foo 1"
and "list foo 1". Hm, ...

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-dev mailing list