blob: 3efa96ca191d2bf9312bcdef8b87524a04542940 (
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
50
51
52
53
|
#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 306 347 print;
#X text 27 -24 description: increment a number.;
#X text 28 0 tags: flow counter;
#X obj 27 251 increment;
#X msg 134 182 1;
#X msg 166 182 -1;
#X obj 27 120 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 27 279 print;
#X obj 305 287 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 306 316 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 135 162 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 298 248 Argument 1: start value (defaults to 0);
#X text 298 263 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 obj 166 211 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 188 205 Fourth inlet: resets;
#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;
#X connect 30 0 8 3;
|