aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-28 05:54:46 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-28 05:54:46 +0000
commita4d12aa429a4d52810f7de54e0f37114600008b6 (patch)
tree0415a3c0eeb604d8ffdd8b96547836c95a1de821
parentd4e504ebf32d62232b316bb819800ecd513cebb3 (diff)
added input range limiting
svn path=/trunk/externals/hcs/hid/; revision=2844
-rw-r--r--hid_cuberoot.pd8
-rw-r--r--hid_squareroot.pd8
2 files changed, 12 insertions, 4 deletions
diff --git a/hid_cuberoot.pd b/hid_cuberoot.pd
index 096f3c7..2389a3d 100644
--- a/hid_cuberoot.pd
+++ b/hid_cuberoot.pd
@@ -1,9 +1,13 @@
-#N canvas 612 444 436 353 10;
+#N canvas 612 444 440 357 10;
#X obj 72 63 inlet;
#X obj 72 240 outlet;
#X text 120 63 input range: 0 to 1;
#X text 128 240 output range: 0 to 1;
#X obj 73 162 pow 0.333333;
#X text 41 18 [hid_cuberoot];
-#X connect 0 0 4 0;
+#X obj 72 95 min 1;
+#X obj 72 115 max 0;
+#X connect 0 0 6 0;
#X connect 4 0 1 0;
+#X connect 6 0 7 0;
+#X connect 7 0 4 0;
diff --git a/hid_squareroot.pd b/hid_squareroot.pd
index 2900fea..d3856a1 100644
--- a/hid_squareroot.pd
+++ b/hid_squareroot.pd
@@ -1,9 +1,13 @@
-#N canvas 170 430 428 345 10;
+#N canvas 170 430 436 353 10;
#X obj 72 63 inlet;
#X obj 72 240 outlet;
#X text 120 63 input range: 0 to 1;
#X text 128 240 output range: 0 to 1;
#X text 41 18 [hid_sqrt];
#X obj 72 143 sqrt;
-#X connect 0 0 5 0;
+#X obj 72 95 min 1;
+#X obj 72 115 max 0;
+#X connect 0 0 6 0;
#X connect 5 0 1 0;
+#X connect 6 0 7 0;
+#X connect 7 0 5 0;