diff options
Diffstat (limited to 'match-help.pd')
-rw-r--r-- | match-help.pd | 147 |
1 files changed, 79 insertions, 68 deletions
diff --git a/match-help.pd b/match-help.pd index 8d2fbd7..575cb80 100644 --- a/match-help.pd +++ b/match-help.pd @@ -1,68 +1,79 @@ -#N canvas 90 142 874 407 12;
-#X obj 50 350 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
-#X msg 148 212 reset;
-#X obj 50 95 random 5;
-#X msg 50 5 0;
-#X msg 65 32 1;
-#X obj 50 65 metro 100;
-#X text 203 212 reset internal data storage;
-#X text 182 26 input values matches the creation;
-#X text 183 42 arguments;
-#X text 185 82 this can be changed in the sources !;
-#X text 83 351 <-- 'bang' when input matches arguments;
-#X obj 62 122 hdl 20 1 0 5 empty empty empty 0 -6 0 8 -262144 -1 -1
-0;
-#X floatatom 50 154 5 0 0;
-#X text 228 229 -> forget all old values;
-#X obj 50 243 match 3 4;
-#X floatatom 81 325 5 0 0;
-#X floatatom 156 324 5 0 0;
-#X obj 81 294 unpack f f;
-#X text 111 11 match :: outputs a list when a list of;
-#X msg 93 178 1 3 4 7;
-#X msg 160 178 1 2 4 5;
-#X text 230 179 send a list of floats;
-#X symbolatom 688 312 10 0 0;
-#X symbolatom 616 336 10 0 0;
-#X symbolatom 581 356 10 0 0;
-#X obj 540 349 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
-#X obj 540 244 match dog bytes 2 cats;
-#X msg 553 186 dog bytes 2 cats;
-#X msg 564 214 cat bytes 2 dogs;
-#X text 384 114 same works for symbols and mixtures of floats and symbols:
-;
-#X obj 581 285 unpack s s f s;
-#X floatatom 635 313 5 0 0;
-#X text 89 271 sends out the list when a match is found;
-#X msg 459 151 dog;
-#X msg 494 143 cats;
-#X msg 519 170 2;
-#X msg 471 195 bytes;
-#X text 183 68 a maximum of 16 arguments is allowed;
-#X connect 1 0 14 0;
-#X connect 2 0 12 0;
-#X connect 3 0 5 0;
-#X connect 4 0 5 0;
-#X connect 5 0 2 0;
-#X connect 11 0 12 0;
-#X connect 12 0 14 0;
-#X connect 14 0 0 0;
-#X connect 14 0 17 0;
-#X connect 17 0 15 0;
-#X connect 17 1 16 0;
-#X connect 19 0 14 0;
-#X connect 20 0 14 0;
-#X connect 26 0 25 0;
-#X connect 26 0 30 0;
-#X connect 27 0 26 0;
-#X connect 28 0 26 0;
-#X connect 30 0 24 0;
-#X connect 30 1 23 0;
-#X connect 30 2 31 0;
-#X connect 30 3 22 0;
-#X connect 33 0 26 0;
-#X connect 34 0 26 0;
-#X connect 35 0 26 0;
-#X connect 36 0 26 0;
+#N canvas 0 26 828 407 12; +#X obj 50 350 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 148 212 reset; +#X obj 50 95 random 5; +#X msg 50 5 0; +#X msg 65 32 1; +#X obj 50 65 metro 100; +#X text 203 212 reset internal data storage; +#X text 182 26 input values matches the creation; +#X text 183 42 arguments; +#X text 185 82 this can be changed in the sources !; +#X text 83 351 <-- 'bang' when input matches arguments; +#X obj 62 122 hdl 20 1 0 5 empty empty empty 0 -6 0 8 -262144 -1 -1 +0; +#X floatatom 50 154 5 0 0 0 - - -; +#X text 228 229 -> forget all old values; +#X obj 50 243 match 3 4; +#X floatatom 81 325 5 0 0 0 - - -; +#X floatatom 156 324 5 0 0 0 - - -; +#X obj 81 294 unpack f f; +#X text 111 11 match :: outputs a list when a list of; +#X msg 93 178 1 3 4 7; +#X msg 160 178 1 2 4 5; +#X text 230 179 send a list of floats; +#X symbolatom 688 302 10 0 0 0 - - -; +#X symbolatom 616 326 10 0 0 0 - - -; +#X symbolatom 581 346 10 0 0 0 - - -; +#X obj 540 339 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 540 244 match dog bytes 2 cats; +#X msg 553 186 dog bytes 2 cats; +#X msg 564 214 cat bytes 2 dogs; +#X text 384 114 same works for symbols and mixtures of floats and symbols: +; +#X obj 581 275 unpack s s f s; +#X floatatom 635 303 5 0 0 0 - - -; +#X text 89 271 sends out the list when a match is found; +#X msg 459 151 dog; +#X msg 494 143 cats; +#X msg 519 170 2; +#X msg 471 195 bytes; +#X text 183 68 a maximum of 16 arguments is allowed; +#N canvas 289 198 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 125 AUTHOR Olaf Matthes <olaf.matthes@gmx.de>; +#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 105 OUTLET_0 list; +#X text 12 85 INLET_0 anything; +#X restore 766 377 pd META; +#X connect 1 0 14 0; +#X connect 2 0 12 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 2 0; +#X connect 11 0 12 0; +#X connect 12 0 14 0; +#X connect 14 0 0 0; +#X connect 14 0 17 0; +#X connect 17 0 15 0; +#X connect 17 1 16 0; +#X connect 19 0 14 0; +#X connect 20 0 14 0; +#X connect 26 0 25 0; +#X connect 26 0 30 0; +#X connect 27 0 26 0; +#X connect 28 0 26 0; +#X connect 30 0 24 0; +#X connect 30 1 23 0; +#X connect 30 2 31 0; +#X connect 30 3 22 0; +#X connect 33 0 26 0; +#X connect 34 0 26 0; +#X connect 35 0 26 0; +#X connect 36 0 26 0; |