On 10/19/2012 03:02 PM, Hans-Christoph Steiner wrote:
why would you want to keep OSCx alive?
i would rather entirely remove this buggy and un-maintained (as in: upstream,
not within PdX) library from any distribution.

Its still widely used and still the easiest way to use OSC, albeit in a
limited way.  If someone makes comparably easy way to use OSC, then I see no
reason to keep this one.

here's 2 abstractions that implement OSCx's [sendOSC] and [dumpOSC] in terms of vanilla/mrpeach objects.

[OSCroute] cannot really be implemented in vanilla due to it's multi-outlet nature. otoh, [routeOSC] is compatible with [OSCroute] (apart from the name).


#N canvas 640 221 450 300 10;
#X obj 50 90 udpreceive \$1;
#X obj 50 112 unpackOSC;
#X obj 50 134 outlet;
#N canvas 266 80 631 300 check-2nd-arg 0;
#X obj 149 33 loadbang;
#X obj 149 55 symbol \$2-foo;
#X obj 149 77 t s b;
#X obj 217 121 makefilename %c2-foo;
#X msg 212 20 bang;
#X obj 149 149 select symbol;
#X obj 237 168 t b;
#X msg 181 98 36;
#X obj 237 240 print dumpOSC;
#X msg 237 219 2nd argument (\$1) not supported in this implementation
;
#X obj 237 190 list prepend \$2;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 5 0;
#X connect 2 1 7 0;
#X connect 3 0 5 1;
#X connect 4 0 1 0;
#X connect 5 1 6 0;
#X connect 6 0 10 0;
#X connect 7 0 3 0;
#X connect 9 0 8 0;
#X connect 10 0 9 0;
#X restore 257 105 pd check-2nd-arg;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#N canvas 733 197 450 300 10;
#X obj 9 47 inlet;
#X obj 174 195 udpsend;
#X obj 174 167 packOSC;
#X msg 164 113 disconnect;
#X obj 164 91 t b;
#X obj 9 91 t a b;
#X obj 9 69 route connect disconnect;
#X obj 9 113 list prepend connect;
#X obj 9 135 list trim;
#X obj 9 157 t a;
#X obj 174 257 outlet connectionstate;
#X obj 260 228 outlet bundleDepth;
#X connect 0 0 6 0;
#X connect 1 0 10 0;
#X connect 2 0 1 0;
#X connect 2 1 11 0;
#X connect 3 0 9 0;
#X connect 4 0 3 0;
#X connect 5 0 7 0;
#X connect 5 1 3 0;
#X connect 6 0 5 0;
#X connect 6 1 4 0;
#X connect 6 2 2 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 1 0;
_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to