[PD] send -rt snapshot~ to -nrt

IOhannes m zmoelnig zmoelnig at iem.at
Thu Aug 21 09:31:49 CEST 2008


patrick wrote:
> talking about it on #dataflow, patko and claudiusmaximus agree on using 
> udp. i will use mrpeach/net external for this.
> 

as i haven't followed the discussion on IRC, i would be interested in 
how come?

afaics, using mrpeach/net will reduce the network bandwidth eventually 
at the cost of CPU-power.
since you seem to be on a super-local network (communicating via the 
loopback device on a "non-networked" machine) , the bandwidth shouldn't 
really be an issue (as you re not sending gigabytes of data in a few ms).
for very simple data-type (e.g. just sending single bytes), the 
mrpeach/net objects should perform better than [netsend], but when 
sending more complex data (e.g. floats) this need not be the case.
i haven't done any benchmarking at all; i just assume that converting 
floats to bytes in pd-vanilla is rather complicated (if doable with 
"commensurable" effort)
obviously you can use more helper externals e.g. mrpeach/osc to do the 
conversion for you in a more efficient way.

note that i personally use mrpeach/net + mrpeach/osc quite a lot;
but you should ask yourself (or the list;-) which is what you originally 
did) what are the benefits and what are the drawbacks of using externals?


all in all:
what do you think you will gain from using an external rather than a 
built-in for communicating data?


fmdasdr
IOhannes




More information about the Pd-list mailing list