aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/abstractions/#fade.pd
diff options
context:
space:
mode:
Diffstat (limited to 'externals/gridflow/abstractions/#fade.pd')
-rw-r--r--externals/gridflow/abstractions/#fade.pd37
1 files changed, 37 insertions, 0 deletions
diff --git a/externals/gridflow/abstractions/#fade.pd b/externals/gridflow/abstractions/#fade.pd
new file mode 100644
index 00000000..2ed4ba01
--- /dev/null
+++ b/externals/gridflow/abstractions/#fade.pd
@@ -0,0 +1,37 @@
+#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 190 88 loadbang;
+#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 11 0;
+#X connect 3 0 2 1;
+#X connect 4 0 19 0;
+#X connect 5 0 13 0;
+#X connect 7 0 3 1;
+#X connect 11 0 15 0;
+#X connect 12 0 11 1;
+#X connect 13 0 12 0;
+#X connect 13 0 7 0;
+#X connect 13 0 16 0;
+#X connect 15 0 17 0;
+#X connect 16 0 15 1;
+#X connect 17 0 1 0;
+#X connect 17 1 3 0;
+#X connect 19 0 13 0;