aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-03-17 05:43:38 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-03-17 05:43:38 +0000
commit5def162b6f2a3ba8abf13e14416805bab1a17b35 (patch)
tree1ace209b4f2f4f6c2cbfcb9988b1a81dbde36550
parent2cc95ce3b8a23e39d5fcb7be1527084e84c3b839 (diff)
cleaned up [hid] toolkit cruft
svn path=/trunk/externals/mapping/; revision=4733
-rw-r--r--mapping2degrees.pd17
-rw-r--r--mapping2radians.pd38
-rw-r--r--pd/mapping2degrees.pd17
-rw-r--r--pd/mapping2radians.pd38
4 files changed, 54 insertions, 56 deletions
diff --git a/mapping2degrees.pd b/mapping2degrees.pd
index af40bca..3675274 100644
--- a/mapping2degrees.pd
+++ b/mapping2degrees.pd
@@ -1,4 +1,4 @@
-#N canvas 163 40 444 356 10;
+#N canvas 163 40 448 360 10;
#X obj 88 30 inlet;
#X obj 89 264 outlet;
#X obj 88 56 min 1;
@@ -7,7 +7,6 @@
#X text 232 311 released under the GNU GPL;
#X text 15 297 (C) Copyright 2005 Hans-Christoph Steiner <hans@at.or.at>
;
-#X text 19 9 [hid2deg];
#X text 129 28 input range: 0 to 1 \, 0 = east/right;
#X text 143 264 output range: 0 to 360 \, 0 = north/top;
#X obj 88 100 * 360;
@@ -22,10 +21,10 @@
#X obj 89 181 * 100000;
#X connect 0 0 2 0;
#X connect 2 0 3 0;
-#X connect 3 0 10 0;
-#X connect 10 0 14 0;
-#X connect 13 0 19 0;
-#X connect 14 0 13 0;
-#X connect 17 0 18 0;
-#X connect 18 0 1 0;
-#X connect 19 0 17 0;
+#X connect 3 0 9 0;
+#X connect 9 0 13 0;
+#X connect 12 0 18 0;
+#X connect 13 0 12 0;
+#X connect 16 0 17 0;
+#X connect 17 0 1 0;
+#X connect 18 0 16 0;
diff --git a/mapping2radians.pd b/mapping2radians.pd
index b2c3f19..bb3460b 100644
--- a/mapping2radians.pd
+++ b/mapping2radians.pd
@@ -1,22 +1,22 @@
-#N canvas 287 246 432 344 10;
-#X obj 88 30 inlet;
-#X obj 89 264 outlet;
-#X text 19 9 [hid2rad];
-#X obj 89 198 * 6.28318;
-#X obj 88 101 moses 0.5;
-#X obj 88 56 min 1;
-#X obj 88 74 max 0;
-#X obj 147 133 - 1;
-#X text 133 63 its a [hid] object \, so limit input range;
-#X text 129 28 input range: 0 to 1;
-#X text 143 264 output range: -pi to pi;
+#N canvas 287 246 474 345 10;
+#X obj 15 30 inlet;
+#X obj 16 264 outlet;
+#X obj 16 198 * 6.28318;
+#X obj 15 101 moses 0.5;
+#X obj 15 56 min 1;
+#X obj 15 74 max 0;
+#X obj 74 133 - 1;
+#X text 56 28 input range: 0 to 1;
+#X text 70 264 output range: -pi to pi;
#X text 232 311 released under the GNU GPL;
#X text 15 297 (C) Copyright 2005 Hans-Christoph Steiner <hans@at.or.at>
;
-#X connect 0 0 5 0;
-#X connect 3 0 1 0;
-#X connect 4 0 3 0;
-#X connect 4 1 7 0;
-#X connect 5 0 6 0;
-#X connect 6 0 4 0;
-#X connect 7 0 3 0;
+#X text 60 63 this should be converted so it can handle out of range
+values \, using a mod and a div prolly.;
+#X connect 0 0 4 0;
+#X connect 2 0 1 0;
+#X connect 3 0 2 0;
+#X connect 3 1 6 0;
+#X connect 4 0 5 0;
+#X connect 5 0 3 0;
+#X connect 6 0 2 0;
diff --git a/pd/mapping2degrees.pd b/pd/mapping2degrees.pd
index af40bca..3675274 100644
--- a/pd/mapping2degrees.pd
+++ b/pd/mapping2degrees.pd
@@ -1,4 +1,4 @@
-#N canvas 163 40 444 356 10;
+#N canvas 163 40 448 360 10;
#X obj 88 30 inlet;
#X obj 89 264 outlet;
#X obj 88 56 min 1;
@@ -7,7 +7,6 @@
#X text 232 311 released under the GNU GPL;
#X text 15 297 (C) Copyright 2005 Hans-Christoph Steiner <hans@at.or.at>
;
-#X text 19 9 [hid2deg];
#X text 129 28 input range: 0 to 1 \, 0 = east/right;
#X text 143 264 output range: 0 to 360 \, 0 = north/top;
#X obj 88 100 * 360;
@@ -22,10 +21,10 @@
#X obj 89 181 * 100000;
#X connect 0 0 2 0;
#X connect 2 0 3 0;
-#X connect 3 0 10 0;
-#X connect 10 0 14 0;
-#X connect 13 0 19 0;
-#X connect 14 0 13 0;
-#X connect 17 0 18 0;
-#X connect 18 0 1 0;
-#X connect 19 0 17 0;
+#X connect 3 0 9 0;
+#X connect 9 0 13 0;
+#X connect 12 0 18 0;
+#X connect 13 0 12 0;
+#X connect 16 0 17 0;
+#X connect 17 0 1 0;
+#X connect 18 0 16 0;
diff --git a/pd/mapping2radians.pd b/pd/mapping2radians.pd
index b2c3f19..bb3460b 100644
--- a/pd/mapping2radians.pd
+++ b/pd/mapping2radians.pd
@@ -1,22 +1,22 @@
-#N canvas 287 246 432 344 10;
-#X obj 88 30 inlet;
-#X obj 89 264 outlet;
-#X text 19 9 [hid2rad];
-#X obj 89 198 * 6.28318;
-#X obj 88 101 moses 0.5;
-#X obj 88 56 min 1;
-#X obj 88 74 max 0;
-#X obj 147 133 - 1;
-#X text 133 63 its a [hid] object \, so limit input range;
-#X text 129 28 input range: 0 to 1;
-#X text 143 264 output range: -pi to pi;
+#N canvas 287 246 474 345 10;
+#X obj 15 30 inlet;
+#X obj 16 264 outlet;
+#X obj 16 198 * 6.28318;
+#X obj 15 101 moses 0.5;
+#X obj 15 56 min 1;
+#X obj 15 74 max 0;
+#X obj 74 133 - 1;
+#X text 56 28 input range: 0 to 1;
+#X text 70 264 output range: -pi to pi;
#X text 232 311 released under the GNU GPL;
#X text 15 297 (C) Copyright 2005 Hans-Christoph Steiner <hans@at.or.at>
;
-#X connect 0 0 5 0;
-#X connect 3 0 1 0;
-#X connect 4 0 3 0;
-#X connect 4 1 7 0;
-#X connect 5 0 6 0;
-#X connect 6 0 4 0;
-#X connect 7 0 3 0;
+#X text 60 63 this should be converted so it can handle out of range
+values \, using a mod and a div prolly.;
+#X connect 0 0 4 0;
+#X connect 2 0 1 0;
+#X connect 3 0 2 0;
+#X connect 3 1 6 0;
+#X connect 4 0 5 0;
+#X connect 5 0 3 0;
+#X connect 6 0 2 0;