aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/match.pd
blob: 6fb06792927ea640d51fc01b8fa094a81af12af1 (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
#N canvas 18 57 504 490 10;
#X text 21 437 cyclone is (c) Miller Puckette and others;
#X text 21 452 docs based on the MAX/MSP reference (c) cycling'74
;
#X text 20 466 ___________________________________________________ ;
#X msg 28 67 1 2 3 4;
#X obj 40 151 match 1 2;
#X msg 40 91 2 3 4;
#X msg 52 116 3 4 5 1 2;
#X obj 40 175 unpack f f;
#X floatatom 40 207 5 0 0 0 - - -;
#X floatatom 105 207 5 0 0 0 - - -;
#X text 92 66 match;
#X text 130 116 match;
#X text 92 90 no match;
#X obj 28 20 match;
#X text 79 21 look for a series of numbers and output as a list;
#X obj 326 149 match 100 nn;
#X obj 326 171 unpack f f;
#X floatatom 326 203 5 0 0 0 - - -;
#X floatatom 391 203 5 0 0 0 - - -;
#X msg 326 80 0 100 2;
#X msg 347 110 100 5 50;
#X msg 272 106 clear;
#X text 197 107 forget all;
#X floatatom 42 372 5 0 0 0 - - -;
#X floatatom 81 373 5 0 0 0 - - -;
#X obj 42 340 unpack f f f;
#X floatatom 121 373 5 0 0 0 - - -;
#X obj 42 318 match 100 nn 2;
#X msg 42 268 100 50 4;
#X msg 60 292 100 50 2;
#X msg 80 243 set nn nn 4;
#X text 168 243 look for a new series;
#X text 163 315 creation args are the series to look for;
#X text 162 327 'nn' can be used as a wildcard to match;
#X text 162 338 any number;
#X connect 3 0 4 0;
#X connect 4 0 7 0;
#X connect 5 0 4 0;
#X connect 6 0 4 0;
#X connect 7 0 8 0;
#X connect 7 1 9 0;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 16 1 18 0;
#X connect 19 0 15 0;
#X connect 20 0 15 0;
#X connect 21 0 15 0;
#X connect 25 0 23 0;
#X connect 25 1 24 0;
#X connect 25 2 26 0;
#X connect 27 0 25 0;
#X connect 28 0 27 0;
#X connect 29 0 27 0;
#X connect 30 0 27 0;