aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/abstractions/#fade.pd
blob: 007597f37c30d1d7aa9a11e8b29327958a7e702b (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
#N canvas 398 352 418 256 10;
#X obj 21 65 inlet;
#X obj 21 233 outlet;
#X obj 21 147 # +;
#X obj 37 128 # *;
#X obj 156 64 inlet;
#X text 20 7 new = (x-1)/x of old input + 1/x of new input;
#X obj 53 109 # - 1;
#X text 198 65 select fade rate;
#X text 61 65 input;
#X text 70 236 output;
#X obj 21 166 # +;
#X obj 46 166 # / 2;
#X obj 156 86 t a;
#X text 19 21 now rounds to closest;
#X obj 21 187 # *>>8;
#X obj 70 188 # inv* 256;
#X obj 21 213 t a a;
#X text 19 34 also faster (uses *>>8 instead of /);
#X obj 190 107 args (slope a 1);
#X connect 0 0 2 0;
#X connect 2 0 10 0;
#X connect 3 0 2 1;
#X connect 4 0 12 0;
#X connect 6 0 3 1;
#X connect 10 0 14 0;
#X connect 11 0 10 1;
#X connect 12 0 11 0;
#X connect 12 0 6 0;
#X connect 12 0 15 0;
#X connect 14 0 16 0;
#X connect 15 0 14 1;
#X connect 16 0 1 0;
#X connect 16 1 3 0;
#X connect 18 0 12 0;