aboutsummaryrefslogtreecommitdiff
path: root/doc/OSCroute-help.pd
blob: d00336f9205c9b85b1944784728fbeaa5df1bcc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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;