aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/counter-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-04-02 21:12:09 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-04-02 21:12:09 +0000
commit4c775629ea1964da725b6f0cd3d0d0b013aee045 (patch)
treeb8a3d6ffd703d9d4bd320782f0e63555e4819ed3 /doc/help/cyclone/counter-help.pd
parent90485b96be50e6ee811f3ba3c16e2369a2e8b6cd (diff)
renamed help patches to follow the standard file naming scheme
svn path=/trunk/externals/miXed/; revision=7539
Diffstat (limited to 'doc/help/cyclone/counter-help.pd')
-rw-r--r--doc/help/cyclone/counter-help.pd158
1 files changed, 158 insertions, 0 deletions
diff --git a/doc/help/cyclone/counter-help.pd b/doc/help/cyclone/counter-help.pd
new file mode 100644
index 0000000..016c77b
--- /dev/null
+++ b/doc/help/cyclone/counter-help.pd
@@ -0,0 +1,158 @@
+#N canvas 295 60 751 615 10;
+#X text 5 5 comment;
+#X text -11 573 docs based on the MAX/MSP reference (c) cycling'74
+;
+#X text -12 587 ___________________________________________________
+;
+#X obj 5 20 counter;
+#X text 79 21 count the number of bangs received;
+#X obj 54 94 metro 300;
+#X obj 54 71 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X floatatom 131 217 5 0 0 0 - - -;
+#X text 181 218 number of bangs;
+#X text 163 96 change direction;
+#X obj 142 94 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X text 4 71 start;
+#X obj 153 124 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X text 176 126 reset to minimum \, wait for next bang before output
+;
+#X obj 164 150 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X text 188 151 reset and output imediately;
+#X floatatom 112 73 5 0 0 0 - - -;
+#X obj 175 173 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 131 191 counter;
+#X text 197 175 reset to max \, wait for next bang before output *
+;
+#X text 430 211 unlimited counter \, sensible behaviour IMO;
+#X obj 162 490 counter;
+#X floatatom 162 260 5 0 0 0 - - -;
+#X floatatom 162 517 5 0 0 0 - - -;
+#X msg 181 284 0;
+#X msg 191 303 1;
+#X msg 200 323 2;
+#X text 225 287 counter direction;
+#X text 248 299 0 = up;
+#X text 248 311 1 = down;
+#X text 248 323 2 = up and down;
+#X floatatom 209 363 5 0 0 0 - - -;
+#X floatatom 217 380 5 0 0 0 - - -;
+#X floatatom 224 398 5 0 0 0 - - -;
+#X text 254 361 set min;
+#X text 267 399 set max;
+#X text 262 378 set counter value;
+#X obj 597 453 counter;
+#X msg 543 338 set \$1;
+#X floatatom 543 319 5 0 0 0 - - -;
+#X msg 597 339 jam \$1;
+#X floatatom 597 320 5 0 0 0 - - -;
+#X text 488 301 set counter to nr. and output;
+#X text 637 318 immediately;
+#X text 453 318 at next bang;
+#X msg 458 337 goto \$1;
+#X text 519 339 =;
+#X msg 67 374 up;
+#X msg 80 394 down;
+#X msg 101 413 updown;
+#X text 63 357 direction:;
+#X msg 82 315 inc;
+#X msg 63 295 dec;
+#X text -2 266 inc/decrement doesn't;
+#X text -2 277 care about direction;
+#X msg 319 259 next;
+#X text 208 260 number = bang =;
+#X obj 437 414 min \$1;
+#X obj 485 413 max \$1;
+#X floatatom 437 393 5 0 0 0 - - -;
+#X floatatom 485 392 5 0 0 0 - - -;
+#X text 434 375 set min/max;
+#N canvas 0 22 508 167 arguments 0;
+#X obj 62 50 counter max;
+#X obj 62 72 counter min max;
+#X obj 61 95 counter dir min max;
+#X text 58 21 arguments are specified as follows:;
+#X text 195 51 one arg = initial maximum;
+#X text 196 69 two args = initial min/max;
+#X text 208 95 three = direction (0 \, 1 \, 2) min/max;
+#X restore 330 89 pd arguments;
+#N canvas 19 104 733 288 outputs 0;
+#X obj 49 82 metro 100;
+#X obj 49 57 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X floatatom 49 227 5 0 0 0 - - -;
+#X text 88 228 count;
+#X floatatom 80 198 5 0 0 0 - - -;
+#X floatatom 111 169 5 0 0 0 - - -;
+#X obj 49 108 counter 2 0 10;
+#X text 155 171 we reached max when counting up;
+#X text 129 200 we reached min when counting down;
+#X floatatom 142 137 5 0 0 0 - - -;
+#X text 187 139 count of overflows;
+#X obj 468 156 metro 100;
+#X obj 468 73 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X obj 468 183 counter 2 0 10;
+#X msg 412 104 carrybang;
+#X obj 499 230 print down;
+#X obj 530 207 print up;
+#X msg 436 126 carryint;
+#X text 506 127 default (0/1);
+#X text 485 104 bang when up/down overflow;
+#X text 144 17 ok \, wondering what so many outputs are for ? here
+we go!;
+#X text 145 30 please also test the carrybang vs carryint \, to the
+right;
+#X text 144 43 the subtile difference is 2 state changes (int) vs one
+bang;
+#X connect 0 0 6 0;
+#X connect 1 0 0 0;
+#X connect 6 0 2 0;
+#X connect 6 1 4 0;
+#X connect 6 2 5 0;
+#X connect 6 3 9 0;
+#X connect 11 0 13 0;
+#X connect 12 0 11 0;
+#X connect 13 1 15 0;
+#X connect 13 2 16 0;
+#X connect 14 0 13 0;
+#X connect 17 0 13 0;
+#X restore 428 89 pd outputs;
+#X text 444 275 additional ways to accomplish the same:;
+#X obj 460 554 pddp_open all_about_looping;
+#X text 458 508 click on these for more info:;
+#X text 415 201 * (there seems to be a bug when used with an;
+#X text 431 221 would be to reset to 0 as well ...);
+#X obj 460 531 pddp_open all_about_cyclone;
+#X connect 5 0 18 0;
+#X connect 6 0 5 0;
+#X connect 10 0 18 1;
+#X connect 12 0 18 2;
+#X connect 14 0 18 3;
+#X connect 16 0 5 1;
+#X connect 17 0 18 4;
+#X connect 18 0 7 0;
+#X connect 21 0 23 0;
+#X connect 22 0 21 0;
+#X connect 24 0 21 1;
+#X connect 25 0 21 1;
+#X connect 26 0 21 1;
+#X connect 31 0 21 2;
+#X connect 32 0 21 3;
+#X connect 33 0 21 4;
+#X connect 38 0 37 0;
+#X connect 39 0 38 0;
+#X connect 40 0 37 0;
+#X connect 41 0 40 0;
+#X connect 47 0 21 0;
+#X connect 48 0 21 0;
+#X connect 49 0 21 0;
+#X connect 51 0 21 0;
+#X connect 52 0 21 0;
+#X connect 57 0 37 0;
+#X connect 58 0 37 0;
+#X connect 59 0 57 0;
+#X connect 60 0 58 0;