aboutsummaryrefslogtreecommitdiff
path: root/help/increment-help.pd
blob: d7fb6ed87f834bfb631a93d99076f29be0a222d2 (plain)
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
#N canvas 1174 80 640 574 10;
#X obj 22 -23 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577
0;
#X text 27 11 author: mrtoftrash@gmail.com;
#X text 27 22 version: 2009-05-07 (initial release);
#X msg 101 166 3;
#X msg 62 166 6;
#X obj 291 328 print;
#X text 27 -24 description: increment a number.;
#X text 28 0 tags: flow counter;
#X obj 27 216 increment;
#X msg 147 199 1;
#X msg 179 199 -1;
#X obj 27 120 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 27 244 print;
#X obj 290 268 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 291 297 increment 10 3;
#X text 22 89 First inlet:;
#X text 22 100 Bang: Outputs and increments the value.;
#X text 60 147 Second inlet: sets the value;
#X text 148 179 Third inlet: sets the step(incrementation) amount;
#X obj 49 479 print;
#X obj 49 321 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X msg 72 349 set 43;
#X msg 96 376 step 5;
#X msg 125 402 reset;
#X obj 49 448 increment 10 3;
#X text 283 229 Argument 1: start value (defaults to 0);
#X text 283 244 Argument 2: step(incrementation) value (defaults to
1);
#X text 118 349 Set the start value;
#X text 144 376 Set the step value;
#X text 171 400 Reset to the start value;
#X connect 3 0 8 1;
#X connect 4 0 8 1;
#X connect 8 0 12 0;
#X connect 9 0 8 2;
#X connect 10 0 8 2;
#X connect 11 0 8 0;
#X connect 13 0 14 0;
#X connect 14 0 5 0;
#X connect 20 0 24 0;
#X connect 21 0 24 0;
#X connect 22 0 24 0;
#X connect 23 0 24 0;
#X connect 24 0 19 0;