[PD] osc objects

Martin Peach martinrp at vax2.concordia.ca
Thu Apr 27 20:48:32 CEST 2006


Piotr Majdak wrote:
> Hi!
> 
> B. Bogart wrote:
> 
>> I think OSCx should be deprecated,
> 
> 
> Are there any disadvantages in Martin's impementation? I'm thinking 
> about many short messages between [udpreceive] and [unpackOSC] compared 
> to the old solution with [dumpOSC]...
> 
>

Yes, it takes more time to copy the bytes from one buffer into another 
and then send them to another object. If [dumpOSC] does what you want, 
you should keep using it. Also [unpackOSC] doesn't handle bundles 
efficiently (it's copying the same buffer recursively -- and I haven't 
even tested it :( ). I need to work on that a bit more but then I don't 
know if anyone actually uses bundles. Also timetags are in the future...
And of course if you need the speed it's best to hardcode a program in c 
or assembler.

Martin




More information about the Pd-list mailing list