From 9a4263e499b328a6943e75d97358933597d390cb Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 16 Oct 2012 18:45:39 +0000 Subject: converted OSCx to the Library Template and bumped the version to 0.3.1 svn path=/branches/pd-extended/0.43/externals/oscx/; revision=16399 --- OSCroute-help.pd | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 OSCroute-help.pd (limited to 'OSCroute-help.pd') diff --git a/OSCroute-help.pd b/OSCroute-help.pd new file mode 100644 index 0000000..d00336f --- /dev/null +++ b/OSCroute-help.pd @@ -0,0 +1,98 @@ +#N canvas 112 247 505 361 10; +#X msg 20 72 version; +#X obj 86 72 r rcvOSC; +#X obj 86 109 OSCroute /test /ix /yps; +#X obj 161 143 print ix; +#X obj 242 142 print yps; +#X obj 85 183 OSCroute /bla /bli /blo; +#X obj 85 212 unpack f f f; +#X floatatom 85 239 4 0 0 0 - - -; +#X floatatom 124 239 4 0 0 0 - - -; +#X floatatom 164 239 4 0 0 0 - - -; +#X text 20 11 OSCroute works pretty much like route but outputs remainder +of routing tag after match.; +#X obj 68 143 print test; +#X obj 241 212 print rejected; +#N canvas 663 325 676 351 patternmatching 0; +#X obj 26 242 OSCroute /freq; +#X obj 150 242 OSCroute /freq; +#X obj 272 241 OSCroute /freq; +#X msg 81 115 /*/freq 23 45 67; +#X obj 72 201 OSCroute /inst1 /inst2 /inst3; +#X obj 26 266 unpack f f f; +#X floatatom 26 287 3 0 0 0 - - -; +#X floatatom 65 287 3 0 0 0 - - -; +#X floatatom 105 287 3 0 0 0 - - -; +#X obj 150 265 unpack f f f; +#X floatatom 150 286 3 0 0 0 - - -; +#X floatatom 189 286 3 0 0 0 - - -; +#X floatatom 229 286 3 0 0 0 - - -; +#X obj 272 265 unpack f f f; +#X floatatom 272 286 3 0 0 0 - - -; +#X floatatom 311 286 3 0 0 0 - - -; +#X floatatom 351 286 3 0 0 0 - - -; +#X msg 55 44 /inst1/freq 100 200 300; +#X msg 64 66 /inst2/freq 111 222 333; +#X msg 70 88 /inst3/freq 321 432 543; +#X text 45 116 4->; +#X text 37 89 3->; +#X text 30 67 2->; +#X text 22 45 1->; +#X text 11 7 took me a while to figure this out \, somehow i always +thought it should work the other way round:; +#X msg 96 145 /inst[12]/freq 0 99 88; +#X msg 119 174 /inst?/freq 22.33 44.55 66.77; +#X text 367 48 well \, now it does \, crudely:; +#X obj 375 130 OSCroute /*; +#X msg 375 80 /test1/data 1 2 3; +#X msg 401 103 /test2/data 3.4 5 1; +#X obj 447 157 print rejected; +#X obj 375 184 print routed; +#X connect 0 0 5 0; +#X connect 1 0 9 0; +#X connect 2 0 13 0; +#X connect 3 0 4 0; +#X connect 4 0 0 0; +#X connect 4 1 1 0; +#X connect 4 2 2 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 5 2 8 0; +#X connect 9 0 10 0; +#X connect 9 1 11 0; +#X connect 9 2 12 0; +#X connect 13 0 14 0; +#X connect 13 1 15 0; +#X connect 13 2 16 0; +#X connect 17 0 4 0; +#X connect 18 0 4 0; +#X connect 19 0 4 0; +#X connect 25 0 4 0; +#X connect 26 0 4 0; +#X connect 28 0 32 0; +#X connect 28 1 31 0; +#X connect 29 0 28 0; +#X connect 30 0 28 0; +#X restore 288 57 pd patternmatching; +#X text 184 57 check here =>; +#X text 239 235 last outlet emits all non-matches; +#X text 252 269 -OSC patterns that didnt match; +#X text 239 252 (like classic route):; +#X text 252 280 -patterns not starting with /; +#X text 252 294 -patterns starting with a number; +#X text 325 324 2002-09-08 \, jdl xdv.org; +#X text 28 318 for more info \, get help on:; +#X obj 226 317 OSC; +#X connect 0 0 2 0; +#X connect 1 0 2 0; +#X connect 2 0 5 0; +#X connect 2 0 11 0; +#X connect 2 1 3 0; +#X connect 2 1 5 0; +#X connect 2 2 4 0; +#X connect 2 2 5 0; +#X connect 5 0 6 0; +#X connect 5 3 12 0; +#X connect 6 0 7 0; +#X connect 6 1 8 0; +#X connect 6 2 9 0; -- cgit v1.2.1