aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2009-02-03 13:14:02 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2009-02-03 13:14:02 +0000
commit35861929a4564467bdd30d3ec568516a1469945c (patch)
tree418391b58b333f7346adadc4d35d2444f243c6cc
parent461506c4151286a091ce15d727cbc541fd4cc23d (diff)
svn path=/trunk/externals/mapping/; revision=10724
-rw-r--r--help/threshold_max-help.pd17
-rw-r--r--threshold_max.pd48
2 files changed, 65 insertions, 0 deletions
diff --git a/help/threshold_max-help.pd b/help/threshold_max-help.pd
new file mode 100644
index 0000000..bd0b589
--- /dev/null
+++ b/help/threshold_max-help.pd
@@ -0,0 +1,17 @@
+#N canvas 242 354 508 284 10;
+#X floatatom 102 52 5 0 0 0 - - -;
+#X floatatom 102 135 5 0 0 0 - - -;
+#X obj 154 135 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 58 133 print;
+#X floatatom 225 76 5 0 0 0 - - -;
+#X text 144 51 signal input;
+#X obj 102 99 threshold_max 0.99;
+#X text 268 74 treshold;
+#X text 50 238 based on an object by Loic Kessous;
+#X text 51 194 the threshold is relative to the input value;
+#X connect 0 0 6 0;
+#X connect 4 0 6 1;
+#X connect 6 0 1 0;
+#X connect 6 0 2 0;
+#X connect 6 0 3 0;
diff --git a/threshold_max.pd b/threshold_max.pd
new file mode 100644
index 0000000..f21af29
--- /dev/null
+++ b/threshold_max.pd
@@ -0,0 +1,48 @@
+#N canvas 266 108 411 523 10;
+#X obj 78 192 max;
+#X obj 58 357 <;
+#X obj 58 383 sel 1;
+#X msg 96 170 -1e+11;
+#X obj 92 423 f;
+#X obj 208 215 f;
+#X obj 58 115 t f f f b;
+#X obj 190 241 >;
+#X obj 78 234 t f f;
+#X obj 151 271 spigot;
+#X obj 92 448 outlet;
+#X obj 58 70 inlet;
+#X obj 249 90 inlet;
+#X obj 78 290 *;
+#X obj 249 131 \$1;
+#X obj 249 153 moses 0;
+#X msg 249 175 0.99;
+#X obj 256 111 loadbang;
+#X obj 249 199 f;
+#X obj 58 91 max 0;
+#X connect 0 0 8 0;
+#X connect 1 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 0 4 0;
+#X connect 3 0 0 1;
+#X connect 4 0 10 0;
+#X connect 5 0 7 1;
+#X connect 6 0 1 0;
+#X connect 6 1 0 0;
+#X connect 6 1 7 0;
+#X connect 6 2 5 1;
+#X connect 6 3 5 0;
+#X connect 7 0 9 1;
+#X connect 8 0 9 0;
+#X connect 8 0 13 0;
+#X connect 8 1 4 1;
+#X connect 9 0 0 1;
+#X connect 11 0 19 0;
+#X connect 12 0 14 0;
+#X connect 13 0 1 1;
+#X connect 14 0 15 0;
+#X connect 15 0 16 0;
+#X connect 15 1 18 0;
+#X connect 16 0 18 0;
+#X connect 17 0 14 0;
+#X connect 18 0 13 1;
+#X connect 19 0 6 0;