File: match-help.pd

package info (click to toggle)
pd-maxlib 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,872 kB
  • sloc: ansic: 10,146; makefile: 87; sh: 14
file content (100 lines) | stat: -rw-r--r-- 3,443 bytes parent folder | download
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
99
100
#N canvas 489 81 557 515 10;
#X obj 0 0 cnv 15 552 40 empty empty match 3 12 0 18 -204280 -1 0;
#X obj 0 295 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#X obj 0 369 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 409 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 79 380 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 79 308 cnv 17 3 55 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 0 509 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#N canvas 238 349 428 75 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 Related Objects;
#X restore 206 511 pd Related_objects;
#N canvas 499 582 379 261 META 0;
#X text 12 153 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42. Updated by Fred Jan Kraan 2016-02.;
#X text 12 118 AUTHOR Olaf Matthes;
#X text 12 25 LICENSE GPL v2;
#X text 12 45 DESCRIPTION outputs a list when a list of input values
matches the creation arguments;
#X text 12 5 KEYWORDS control list_op anything_op;
#X text 12 99 OUTLET_0 list;
#X text 12 79 INLET_0 anything;
#X text 12 137 MAINTAINER Fred Jan Kraan <fjkraan@xs4all.nl>;
#X restore 502 513 pd META;
#X obj 0 451 cnv 3 550 3 empty empty more_info 8 12 0 13 -228856 -1
0;
#X text 107 328 list;
#X obj 505 4 match;
#X text 7 23 outputs a list when a list of input values matches the
creation arguments, f 76;
#X obj 82 265 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 184 132 reset;
#X obj 82 87 random 5;
#X obj 82 63 metro 100;
#X floatatom 127 272 5 0 0 0 - - -, f 5;
#X floatatom 184 272 5 0 0 0 - - -, f 5;
#X obj 127 241 unpack f f;
#X msg 125 109 1 3 4 7;
#X msg 183 109 1 2 4 5;
#X obj 82 42 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X obj 82 189 maxlib/match 3 4;
#X text 107 307 float;
#X text 107 347 reset;
#X text 107 380 list;
#N canvas 1015 189 450 300 match 0;
#X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 match for symbol lists;
#X symbolatom 283 209 10 0 0 0 - - -, f 10;
#X symbolatom 218 232 10 0 0 0 - - -, f 10;
#X symbolatom 191 252 10 0 0 0 - - -, f 10;
#X obj 150 245 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 150 150 match dog bytes 2 cats;
#X msg 173 98 dog bytes 2 cats;
#X msg 174 120 cat bytes 2 dogs;
#X obj 191 181 unpack s s f s;
#X floatatom 245 209 5 0 0 0 - - -, f 5;
#X msg 77 42 dog;
#X msg 179 42 cats;
#X msg 150 42 2;
#X msg 108 42 bytes;
#X connect 6 0 5 0;
#X connect 6 0 9 0;
#X connect 7 0 6 0;
#X connect 8 0 6 0;
#X connect 9 0 4 0;
#X connect 9 1 3 0;
#X connect 9 2 10 0;
#X connect 9 3 2 0;
#X connect 11 0 6 0;
#X connect 12 0 6 0;
#X connect 13 0 6 0;
#X connect 14 0 6 0;
#X restore 385 107 pd match for lists;
#X text 87 486 this can be changed in the sources !;
#X text 85 472 a maximum of 16 arguments is allowed;
#X text 84 428 the list to match;
#X text 162 307 - value to be matched against argument list;
#X text 162 328 - list to be matched against argument list;
#X text 162 347 - reset a partially matched list;
#X text 161 380 - the argument list when it is matched on the inlet
\, either as list or stream of floats and symbols;
#X connect 14 0 23 0;
#X connect 15 0 23 0;
#X connect 16 0 15 0;
#X connect 19 0 17 0;
#X connect 19 1 18 0;
#X connect 20 0 23 0;
#X connect 21 0 23 0;
#X connect 22 0 16 0;
#X connect 23 0 13 0;
#X connect 23 0 19 0;