[PD] swapping from netsend to OSC

Martin Peach martinrp at vax2.concordia.ca
Mon Mar 8 17:28:50 CET 2004


Adrian deCleir wrote:
> At the moment I have several number boxes attached to different netsend
> objects, everything goes through a different port number, like for volume I
> use port 3001, for sending pitch bend I use port 3002, etc and as I change
> these numbers the other person receives them instantly, would this be
> possible with OSC???

Since OSC uses exactly the same network that netsend uses and has a bit 
more overhead it can only be slower. The real problem is that the 
realworld internet is not instantaneous and packets can be delayed by 
unpredictable amounts up to many seconds - try traceroute to some site 
to see how long it can take.
Using UDP for the connection instead of TCP improves latency by 
dispensing with some handshaking and error-detection.
OSC theoretically supports timestamps, so you could introduce a known 
delay for everyone...if the beat were set to a multiple of this delay, 
you could play out of time but still be in sync...probably only a 
certain kind of techno music would be acceptable to play like this 
though.#-)
Martin






More information about the Pd-list mailing list