aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjdl <x75@users.sourceforge.net>2002-09-08 16:34:07 +0000
committerjdl <x75@users.sourceforge.net>2002-09-08 16:34:07 +0000
commit94871ad26506febf04afe90a9ec0427877d473fe (patch)
treefb8ca4949bf4e4fadf13bfcb19c65d9ec9f92d0b /doc
parent37cb4a5f9ad3c3449c6f58d30354f97070077839 (diff)
0.16-4:
added non-match / unmatched outlet to OSCroute updated doc/OSCroute-help.pd including a new chapter about patternmatching. svn path=/trunk/externals/OSCx/; revision=122
Diffstat (limited to 'doc')
-rw-r--r--doc/OSCroute-help.pd62
1 files changed, 61 insertions, 1 deletions
diff --git a/doc/OSCroute-help.pd b/doc/OSCroute-help.pd
index 3d9dd2a..194cd93 100644
--- a/doc/OSCroute-help.pd
+++ b/doc/OSCroute-help.pd
@@ -1,4 +1,4 @@
-#N canvas 112 247 446 321 10;
+#N canvas 112 247 493 349 10;
#X msg 20 72 version;
#X obj 86 72 r rcvOSC;
#X obj 86 109 OSCroute /test /ix /yps;
@@ -12,6 +12,65 @@
#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 473 347 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;
+#X floatatom 65 287 3 0 0;
+#X floatatom 105 287 3 0 0;
+#X obj 150 265 unpack f f f;
+#X floatatom 150 286 3 0 0;
+#X floatatom 189 286 3 0 0;
+#X floatatom 229 286 3 0 0;
+#X obj 272 265 unpack f f f;
+#X floatatom 272 286 3 0 0;
+#X floatatom 311 286 3 0 0;
+#X floatatom 351 286 3 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 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 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 connect 0 0 2 0;
#X connect 1 0 2 0;
#X connect 2 0 5 0;
@@ -21,6 +80,7 @@ of routing tag after match.;
#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;