From 4f98ae7ad421c3833e7c66f2a255616fa94258a5 Mon Sep 17 00:00:00 2001 From: musil Date: Fri, 6 May 2011 10:03:52 +0000 Subject: added an increment value, now if time is 0, it counts without 0-delay-timer svn path=/trunk/externals/iemlib/; revision=15087 --- iemlib1/for++-help.pd | 210 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 136 insertions(+), 74 deletions(-) diff --git a/iemlib1/for++-help.pd b/iemlib1/for++-help.pd index 9ddd599..c80bb10 100644 --- a/iemlib1/for++-help.pd +++ b/iemlib1/for++-help.pd @@ -1,74 +1,136 @@ -#N canvas 276 220 752 408 10; -#X obj 25 52 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 -1 --1; -#X obj 65 186 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 -1 --1; -#X floatatom 65 61 4 0 0 0 - - -; -#X floatatom 115 88 4 0 0 0 - - -; -#X floatatom 65 163 4 0 0 0 - - -; -#X floatatom 165 110 4 0 0 0 - - -; -#X text 7 8 for++; -#X obj 65 132 for++ 10 20 200; -#X obj 111 166 print; -#X msg 25 71 start; -#X msg 25 91 stop; -#X text 64 47 first number; -#X text 115 72 last number; -#X obj 237 213 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 --1 -1; -#X floatatom 237 190 4 0 0 0 - - -; -#X obj 280 186 print; -#X obj 237 143 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 --1 -1; -#X text 343 48 2.arg: last number; -#X text 343 36 1.arg: first number; -#X obj 237 162 for++ 50 40 100; -#X obj 165 166 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 --1 -1; -#X obj 337 193 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 --1 -1; -#X text 163 181 finished; -#X text 336 208 finished; -#X obj 237 264 print finished; -#X obj 509 141 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 --1 -1; -#X obj 629 184 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 --1 -1; -#X text 628 199 finished; -#X obj 509 208 timer; -#X obj 509 183 sel 0 1000; -#X floatatom 509 231 5 0 0 0 - - -; -#X obj 509 160 for++ 0 1000 1.234; -#X text 343 60 3.arg: increment-delay in ms; -#X text 159 92 increment-delay in ms; -#X text 85 20 increment-step-size is allways 1 or -1; -#X text 78 257 IEM KUG; -#X text 62 245 musil; -#X text 92 245 @; -#X text 98 245 iem.at; -#X text 61 267 Graz \, Austria; -#X text 67 9 counter with its own interval-timer; -#X text 13 234 (c) Thomas Musil 2000 - 2006; -#X connect 0 0 7 0; -#X connect 2 0 7 0; -#X connect 3 0 7 1; -#X connect 4 0 1 0; -#X connect 5 0 7 2; -#X connect 7 0 4 0; -#X connect 7 0 8 0; -#X connect 7 1 20 0; -#X connect 9 0 7 0; -#X connect 10 0 7 0; -#X connect 14 0 13 0; -#X connect 16 0 19 0; -#X connect 19 0 14 0; -#X connect 19 0 15 0; -#X connect 19 1 21 0; -#X connect 20 0 24 0; -#X connect 21 0 24 0; -#X connect 25 0 31 0; -#X connect 28 0 30 0; -#X connect 29 0 28 0; -#X connect 29 1 28 1; -#X connect 31 0 29 0; -#X connect 31 1 26 0; +#N canvas 276 220 940 584 10; +#X obj 16 56 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 -1 +-1; +#X obj 65 186 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 -1 +-1; +#X floatatom 65 61 4 0 0 0 - - -; +#X floatatom 103 78 4 0 0 0 - - -; +#X floatatom 65 163 4 0 0 0 - - -; +#X floatatom 143 95 4 0 0 0 - - -; +#X text 7 8 for++; +#X obj 111 166 print; +#X msg 16 75 start; +#X msg 16 95 stop; +#X obj 237 213 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 +-1 -1; +#X floatatom 237 190 4 0 0 0 - - -; +#X obj 280 186 print; +#X obj 237 141 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 +-1 -1; +#X obj 237 162 for++ 50 40 100; +#X obj 165 166 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 +-1 -1; +#X obj 337 193 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 +-1 -1; +#X text 163 181 finished; +#X text 336 208 finished; +#X obj 237 264 print finished; +#X obj 522 93 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 -1 +-1; +#X obj 642 136 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 +-1 -1; +#X text 641 151 finished; +#X obj 522 160 timer; +#X obj 522 135 sel 0 1000; +#X floatatom 522 183 5 0 0 0 - - -; +#X obj 522 112 for++ 0 1000 1.234; +#X text 78 437 IEM KUG; +#X text 55 425 musil; +#X text 92 425 @; +#X text 100 425 iem.at; +#X text 61 447 Graz \, Austria; +#X text 397 22 1.arg: beginning number; +#X text 397 34 2.arg: ending number; +#X text 397 58 4.arg: incremental value (optional \, default +1); +#X text 13 414 (c) Thomas Musil 2000 - 2011; +#X obj 65 132 for++ 10 20 200 1; +#X floatatom 181 111 4 0 0 0 - - -; +#X text 177 93 increment value; +#X obj 475 241 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 +-1 -1; +#X floatatom 475 282 5 0 0 0 - - -; +#X obj 476 302 print; +#X obj 475 260 for++ 0 5; +#X obj 591 240 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 +-1 -1; +#X floatatom 591 281 5 0 0 0 - - -; +#X obj 592 301 print; +#X obj 591 259 for++ 16 8; +#X obj 767 186 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 +-1 -1; +#X floatatom 731 280 5 0 0 0 - - -; +#X obj 732 300 print; +#X obj 731 258 for++ 3 -3; +#X obj 821 291 timer; +#X floatatom 821 314 5 0 0 0 - - -; +#X obj 766 206 t b b; +#X obj 429 309 bng 15 250 50 0 empty empty empty 8 -8 0 10 -262144 +-1 -1; +#X floatatom 429 350 5 0 0 0 - - -; +#X obj 430 370 print; +#X obj 429 328 for++ 0 5 0 0.5; +#X floatatom 576 397 5 0 0 0 - - -; +#X obj 577 417 print; +#X obj 576 352 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 576 375 for++ 3 -3 0 -0.5; +#X floatatom 713 393 5 0 0 0 - - -; +#X obj 714 413 print; +#X obj 713 348 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 712 372 for++ 3 -3 0 0.5; +#X text 757 391 incremnt will be corrected; +#X text 67 9 counter with optional timer interval; +#X text 116 21 and increment step size; +#X text 64 47 beginning number; +#X text 104 62 ending number; +#X text 137 77 increment delay in ms; +#X text 397 46 3.arg: increment delay in ms (optional \, default +0); +#X connect 0 0 36 0; +#X connect 2 0 36 0; +#X connect 3 0 36 1; +#X connect 4 0 1 0; +#X connect 5 0 36 2; +#X connect 8 0 36 0; +#X connect 9 0 36 0; +#X connect 11 0 10 0; +#X connect 13 0 14 0; +#X connect 14 0 11 0; +#X connect 14 0 12 0; +#X connect 14 1 16 0; +#X connect 15 0 19 0; +#X connect 16 0 19 0; +#X connect 20 0 26 0; +#X connect 23 0 25 0; +#X connect 24 0 23 0; +#X connect 24 1 23 1; +#X connect 26 0 24 0; +#X connect 26 1 21 0; +#X connect 36 0 4 0; +#X connect 36 0 7 0; +#X connect 36 1 15 0; +#X connect 37 0 36 3; +#X connect 39 0 42 0; +#X connect 40 0 41 0; +#X connect 42 0 40 0; +#X connect 43 0 46 0; +#X connect 44 0 45 0; +#X connect 46 0 44 0; +#X connect 47 0 53 0; +#X connect 48 0 49 0; +#X connect 50 0 48 0; +#X connect 50 1 51 1; +#X connect 51 0 52 0; +#X connect 53 0 50 0; +#X connect 53 1 51 0; +#X connect 54 0 57 0; +#X connect 55 0 56 0; +#X connect 57 0 55 0; +#X connect 58 0 59 0; +#X connect 60 0 61 0; +#X connect 61 0 58 0; +#X connect 62 0 63 0; +#X connect 64 0 65 0; +#X connect 65 0 62 0; -- cgit v1.2.1