[PD] sending a bang using netsend

IOhannes m zmoelnig zmoelnig at iem.at
Tue Feb 3 18:30:48 CET 2004


Adrian deCleir wrote:
> sorry if this sounds stupid but Im able to send numbers over a network using
> 
> the number -> send $1 -> netsend
> 
> but I cant seem to able to send a bang, what Ive tried is
> the bang(the black circle) -> send  -> netsend
> but nothings happening, not even an error 
> Its not being received on the other end at all

well, actually you are not sending a bang, but sending a null-list:
when you click on "bang" (the black circle), it will trigger the 
[send(-message.
the body of the send-message (everything after the "send" keyword) is 
non-existant.
this is transmitted with netsend (probably it isn't since it is too small)

i guess, pd *should* handle null-lists (empty lists; lists with 0 
arguments) as bangs, but the buhaviour concerning this is not fixed (at 
least i think so)

anyhow, you should transmit some data. you could use [send bang( to 
transmit a bang via netsend/netreceive.
you could use anything else, like [send foobar(, which will result in 
[netreceive] outletting "foobar", which you can use to trigger something 
else (with [route])

mfg.a.sdr
IOhannes





More information about the Pd-list mailing list