Skip to content

Commit

Permalink
Update zl-help.pd
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Feb 4, 2024
1 parent 236df0a commit eecd71b
Showing 1 changed file with 119 additions and 116 deletions.
235 changes: 119 additions & 116 deletions documentation/help_files/zl-help.pd
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
#N canvas 496 64 558 549 10;
#X obj 2 229 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 347 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 82 236 cnv 17 3 84 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 82 355 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 82 325 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 82 376 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 199 205 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 199 181 cyclone/zl len;
#X text 119 249 anything;
#X text 91 263 mode <symbol>;
#X text 178 249 - one or more element messages to be processed;
#X text 119 324 anything;
#X text 119 375 anything;
#X text 119 354 anything;
#X text 91 306 zlmaxsize <f>;
#X obj 2 399 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 522 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X text 170 421 -;
#X text 170 405 -;
#X text 112 405 1) float;
#X text 112 421 1) symbol;
#X obj 2 495 cnv 3 550 3 empty empty attributes 8 12 0 13 #dcdcdc #000000 0;
#X msg 242 128 beep 1 2 3 4;
#X text 143 234 bang;
#X text 126 291 zlclear;
#N canvas 615 109 649 574 examples 0;
#N canvas 496 64 558 571 10;
#X obj 2 251 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 369 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 82 258 cnv 17 3 84 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 82 377 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 82 347 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 82 398 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 159 222 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 159 198 cyclone/zl len;
#X text 119 271 anything;
#X text 91 285 mode <symbol>;
#X text 178 271 - one or more element messages to be processed;
#X text 119 346 anything;
#X text 119 397 anything;
#X text 119 376 anything;
#X text 91 328 zlmaxsize <f>;
#X obj 2 421 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 544 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X text 170 443 -;
#X text 170 427 -;
#X text 112 427 1) float;
#X text 112 443 1) symbol;
#X obj 2 517 cnv 3 550 3 empty empty attributes 8 12 0 13 #dcdcdc #000000 0;
#X msg 202 145 beep 1 2 3 4;
#X text 143 256 bang;
#X text 126 313 zlclear;
#N canvas 529 109 649 574 examples 0;
#X obj 59 220 bng 18 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #404040 #000000;
#X obj 146 342 nbx 4 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 28 40 You can set the size of the list with a first optional float argument. If you don't \, then the first argument is a symbol that specifies the mode type \, and the maximum size is the default: 256 elements., f 54;
Expand Down Expand Up @@ -424,25 +424,25 @@
#X restore 518 250 pd sort;
#X text 28 132 Check details about each mode in the subpatches on the right. The modes introduced in the Max5+ versions are not implemented yet., f 54;
#N canvas 861 239 403 306 change 0;
#X obj 98 150 bng 18 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #404040 #000000;
#X msg 116 93 zlclear;
#X msg 155 156 1 2 2 5.5 7 5 7 7 7;
#X obj 141 270 print zl_change;
#X obj 240 245 tgl 15 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1;
#X obj 141 215 cyclone/zl change;
#X msg 178 186 a b e c e;
#X obj 240 269 print changed;
#X text 21 41 The change mode filters out list repetitions. The right outlet sends "1" when there's a new list and "0" when it is repeated.;
#X msg 141 124 mode change;
#X text 217 124 <= sets mode;
#X connect 0 0 5 0;
#X connect 1 0 5 0;
#X connect 2 0 5 0;
#X connect 4 0 7 0;
#X connect 5 0 3 0;
#X connect 5 1 4 0;
#X connect 6 0 5 0;
#X connect 9 0 5 0;
#X obj 111 137 bng 18 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #404040 #000000;
#X msg 129 80 zlclear;
#X msg 168 143 1 2 2 5.5 7 5 7 7 7;
#X obj 154 257 print zl_change;
#X obj 253 232 tgl 15 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1;
#X msg 191 173 a b e c e;
#X obj 253 256 print changed;
#X text 23 32 The change mode filters out list repetitions. The right outlet sends "1" when there's a new list and "0" when it is repeated., f 56;
#X msg 154 111 mode change;
#X text 230 111 <= sets mode;
#X obj 154 202 cyclone/zl change;
#X connect 0 0 10 0;
#X connect 1 0 10 0;
#X connect 2 0 10 0;
#X connect 4 0 6 0;
#X connect 5 0 10 0;
#X connect 8 0 10 0;
#X connect 10 0 3 0;
#X connect 10 1 4 0;
#X restore 434 104 pd change;
#N canvas 861 239 403 306 compare 0;
#X obj 55 175 bng 18 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #404040 #000000;
Expand Down Expand Up @@ -735,80 +735,83 @@
#X connect 27 2 28 0;
#X connect 28 0 29 0;
#X connect 29 0 1 0;
#X restore 475 202 pd examples;
#X text 178 356 - output according to the mode: see details in [pd examples];
#X text 178 375 - output according to the mode: see details in [pd examples];
#X obj 166 127 bng 18 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X msg 247 153 zlclear;
#X text 114 126 resends;
#X text 117 141 length;
#X text 178 324 - depends on the mode \, see [pd examples];
#N canvas 861 209 512 447 subsequent_arguments 0;
#X text 44 127 group;
#X text 50 159 iter;
#X text 56 225 mth;
#X text 56 255 reg;
#X text 50 302 sect;
#X text 44 317 slice;
#X text 56 270 rot;
#X text 44 95 ecils;
#X text 56 240 nth;
#X text 83 225 - float: the element position counting from 0 (default 0), f 65;
#X text 83 255 - anything: stored elements (default none), f 65;
#X text 56 364 sub;
#X text 83 364 - anything: elements to look for (default none), f 65;
#X text 83 127 - float: length of the grouped list (default is zlmaxsize), f 65;
#X text 83 240 - float: the element position counting from 1 (default 0), f 65;
#X text 83 270 - float: number to rotate to (default 0), f 65;
#X text 83 317 - float: position to slice the list (default 0), f 65;
#X text 83 95 - float: position to slice the list (default 0), f 65;
#X text 83 159 - float: length of output list (default 0), f 65;
#X text 44 397 union;
#X text 83 397 - anything: elements to union to the first list (default none), f 65;
#X text 50 175 join;
#X text 83 175 - anything: elements to join to the first list (default none), f 65;
#X text 50 333 sort;
#X text 83 333 - float: order "-1" is desending \, ascending otherwise (default 0), f 65;
#X text 32 78 compare;
#X text 83 302 - anything: list to compare with left input (default none), f 65;
#X text 83 78 - anything: list to compare with left input (default none), f 65;
#X text 38 111 filter;
#X text 50 192 lace;
#X text 38 209 lookup;
#X text 26 286 scramble;
#X text 83 286 - anything: list to be scrambled (default none), f 65;
#X text 83 192 - anything: 2nd list to be interleaved (default none), f 65;
#X text 83 209 - anything: list to be looked up (default none), f 65;
#X text 83 111 - anything: elements to filter (default none), f 65;
#X restore 475 224 pd examples;
#X text 178 378 - output according to the mode: see details in [pd examples];
#X text 178 397 - output according to the mode: see details in [pd examples];
#X obj 126 144 bng 18 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X msg 211 168 zlclear;
#X text 74 140 resends;
#X text 80 154 length;
#X text 178 346 - depends on the mode \, see [pd examples];
#N canvas 779 163 512 478 subsequent_arguments 0;
#X text 44 157 group;
#X text 50 189 iter;
#X text 56 255 mth;
#X text 56 285 reg;
#X text 50 332 sect;
#X text 44 347 slice;
#X text 56 300 rot;
#X text 44 125 ecils;
#X text 56 270 nth;
#X text 83 255 - float: the element position counting from 0 (default 0), f 65;
#X text 83 285 - anything: stored elements (default none), f 65;
#X text 56 394 sub;
#X text 83 394 - anything: elements to look for (default none), f 65;
#X text 83 157 - float: length of the grouped list (default is zlmaxsize), f 65;
#X text 83 270 - float: the element position counting from 1 (default 0), f 65;
#X text 83 300 - float: number to rotate to (default 0), f 65;
#X text 83 347 - float: position to slice the list (default 0), f 65;
#X text 83 125 - float: position to slice the list (default 0), f 65;
#X text 83 189 - float: length of output list (default 0), f 65;
#X text 44 427 union;
#X text 83 427 - anything: elements to union to the first list (default none), f 65;
#X text 50 205 join;
#X text 83 205 - anything: elements to join to the first list (default none), f 65;
#X text 50 363 sort;
#X text 83 363 - float: order "-1" is desending \, ascending otherwise (default 0), f 65;
#X text 32 110 compare;
#X text 83 332 - anything: list to compare with left input (default none), f 65;
#X text 83 110 - anything: list to compare with left input (default none), f 65;
#X text 38 141 filter;
#X text 50 222 lace;
#X text 38 239 lookup;
#X text 26 316 scramble;
#X text 83 316 - anything: list to be scrambled (default none), f 65;
#X text 83 222 - anything: 2nd list to be interleaved (default none), f 65;
#X text 83 239 - anything: list to be looked up (default none), f 65;
#X text 83 141 - anything: elements to filter (default none), f 65;
#X text 76 18 The modes: change \, delace \, len \, median \, queue \, rev \, stack \, sum thin don't have arguments. The other modes can have subsequent arguments as below. See also [pd examples] for more details on how they work., f 63;
#X text 38 414 unique;
#X text 50 380 swap;
#X text 38 348 stream;
#X text 26 143 indexmap;
#X text 83 143 - anything: list to be remaped (default none), f 65;
#X text 83 348 - float: N elements to stream (default 0), f 65;
#X text 83 414 - anything: list of elements to "uniqued" (default none), f 65;
#X text 83 380 - anything: list to be swapped (default none), f 65;
#X restore 299 471 pd subsequent_arguments;
#X text 178 264 -;
#X text 190 263 sets mode (you can also set subsequent arguments) - check [pd examples] for more info;
#X text 70 85 [zl] processes messages with one or more elements ("list messages' or "anything") according to a mode (set via argument/message)., f 66;
#X text 178 306 - sets maximum list size (from 1 to 32767);
#X text 234 205 <= number of elements in a message;
#X text 293 181 length mode;
#X text 184 405 optional: maximum list size (1 - 32767 \, default 256), f 60;
#X text 129 502 @zlmaxsize <float> - max list size (1 - 32767 \, default 256), f 62;
#X text 178 291 - clears mode's arguments and received data in both inlets;
#X obj 199 129 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 178 234 - mode dependent operation on current data see [pd examples];
#X text 298 153 clears loaded data;
#X obj 176 205 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X text 184 421 mode (change \, compare \, delace \, ecils \, group \, indexmap \, iter \, join \, lace \, len \, lookup \, median \, mth \, nth \, queue \, reg \, rev \, rot \, sect \, scramble \, slice \, sort \, stack \, stream \, sub \, sum \, swap \, thin \, union or unique). Modes can have subsequent arguments \, check:;
#X text 38 444 unique;
#X text 50 410 swap;
#X text 38 378 stream;
#X text 26 173 indexmap;
#X text 83 173 - anything: list to be remaped (default none), f 65;
#X text 83 378 - float: N elements to stream (default 0), f 65;
#X text 83 444 - anything: list of elements to "uniqued" (default none), f 65;
#X text 83 410 - anything: list to be swapped (default none), f 65;
#X text 38 95 change;
#X text 83 95 - anything: list to check if changed from left input (default none), f 67;
#X restore 299 493 pd subsequent_arguments;
#X text 178 286 -;
#X text 190 285 sets mode (you can also set subsequent arguments) - check [pd examples] for more info;
#X text 178 328 - sets maximum list size (from 1 to 32767);
#X text 194 222 <= number of elements in a message;
#X text 253 198 length mode;
#X text 184 427 optional: maximum list size (1 - 32767 \, default 256), f 60;
#X text 129 524 @zlmaxsize <float> - max list size (1 - 32767 \, default 256), f 62;
#X text 178 313 - clears mode's arguments and received data in both inlets;
#X obj 159 146 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 178 256 - mode dependent operation on current data see [pd examples];
#X text 262 168 clears loaded data;
#X obj 136 222 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X text 184 443 mode (change \, compare \, delace \, ecils \, group \, indexmap \, iter \, join \, lace \, len \, lookup \, median \, mth \, nth \, queue \, reg \, rev \, rot \, sect \, scramble \, slice \, sort \, stack \, stream \, sub \, sum \, swap \, thin \, union or unique). Modes can have subsequent arguments \, check:;
#X obj 3 3 ./header zl;
#X text 22 62 List processor;
#X text 36 85 [zl] processes messages with one or more elements ("list messages' or "anything") according to a mode set via argument/message or in the object name after a '.' (dot)., f 74;
#X obj 338 198 cyclone/zl.len;
#X connect 7 0 6 0;
#X connect 7 0 46 0;
#X connect 7 0 45 0;
#X connect 22 0 7 0;
#X connect 28 0 7 0;
#X connect 29 0 7 0;
#X connect 43 0 7 0;
#X connect 42 0 7 0;

0 comments on commit eecd71b

Please sign in to comment.