aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-28 01:26:34 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-28 01:26:34 +0000
commita88927720982bada5b9da445bac7653858cde587 (patch)
treebda5d51e145211a56a6d9a882b2edc5a15344558
parentbd04f45dbb9df98d1f3e9cf4c1d080a43af3cb0e (diff)
converted to 0-1 input range
svn path=/trunk/externals/hcs/hid/; revision=2328
-rw-r--r--hid_cube.pd8
-rw-r--r--hid_cuberoot.pd12
-rw-r--r--hid_exp.pd18
-rw-r--r--hid_graph.pd12
-rw-r--r--hid_log.pd8
-rw-r--r--hid_smooth.pd3
-rw-r--r--hid_square.pd8
-rw-r--r--hid_squareroot.pd10
8 files changed, 26 insertions, 53 deletions
diff --git a/hid_cube.pd b/hid_cube.pd
index 761bf14..929efb8 100644
--- a/hid_cube.pd
+++ b/hid_cube.pd
@@ -1,13 +1,9 @@
-#N canvas 710 539 475 301 10;
+#N canvas 381 547 479 305 10;
#X obj 72 63 inlet;
#X obj 72 240 outlet;
#X text 120 63 input range: -1 to 1;
#X text 128 240 output range: 0 to 1;
-#X obj 72 104 + 1;
-#X obj 72 128 / 2;
#X obj 72 166 pow 3;
#X text 7 9 [hid_cube];
#X connect 0 0 4 0;
-#X connect 4 0 5 0;
-#X connect 5 0 6 0;
-#X connect 6 0 1 0;
+#X connect 4 0 1 0;
diff --git a/hid_cuberoot.pd b/hid_cuberoot.pd
index 18a7c86..514c19e 100644
--- a/hid_cuberoot.pd
+++ b/hid_cuberoot.pd
@@ -1,13 +1,9 @@
-#N canvas 860 465 432 349 10;
+#N canvas 612 444 436 353 10;
#X obj 72 63 inlet;
#X obj 72 240 outlet;
#X text 120 63 input range: -1 to 1;
#X text 128 240 output range: 0 to 1;
-#X text 41 18 [hid_sqrt];
-#X obj 73 117 + 1;
-#X obj 73 140 / 2;
#X obj 73 162 pow 0.333333;
-#X connect 0 0 5 0;
-#X connect 5 0 6 0;
-#X connect 6 0 7 0;
-#X connect 7 0 1 0;
+#X text 41 18 [hid_cuberoot];
+#X connect 0 0 4 0;
+#X connect 4 0 1 0;
diff --git a/hid_exp.pd b/hid_exp.pd
index a96ee0f..de43e75 100644
--- a/hid_exp.pd
+++ b/hid_exp.pd
@@ -1,20 +1,16 @@
-#N canvas 710 539 483 309 10;
+#N canvas 76 444 487 313 10;
#X obj 72 38 inlet;
#X obj 86 263 outlet;
#X text 120 38 input range: -1 to 1;
#X text 142 263 output range: 0 to 1;
#X text 7 9 [hid_exp];
-#X obj 72 99 / 2;
#X obj 86 178 pow;
#X obj 72 140 t b f;
#X msg 72 159 2;
-#X obj 72 80 + 1;
#X obj 86 220 - 1;
-#X connect 0 0 9 0;
-#X connect 5 0 7 0;
-#X connect 6 0 10 0;
-#X connect 7 0 8 0;
-#X connect 7 1 6 1;
-#X connect 8 0 6 0;
-#X connect 9 0 5 0;
-#X connect 10 0 1 0;
+#X connect 0 0 6 0;
+#X connect 5 0 8 0;
+#X connect 6 0 7 0;
+#X connect 6 1 5 1;
+#X connect 7 0 5 0;
+#X connect 8 0 1 0;
diff --git a/hid_graph.pd b/hid_graph.pd
index d0a4dd3..db3b625 100644
--- a/hid_graph.pd
+++ b/hid_graph.pd
@@ -1,21 +1,17 @@
-#N canvas 461 501 535 366 10;
+#N canvas 461 501 539 370 10;
#X obj 193 9 inlet;
#N canvas 0 22 458 308 graph5 0;
#X array \$0-hid_graph_array 100 float 2;
#X coords 0 1 100 0 100 100 1;
#X restore -35 30 graph;
#X obj 193 285 outlet;
-#X obj 193 54 + 1;
#X text 240 69 gives a range of 0-100;
#X text 237 11 input range -1 to 1;
#X text 244 286 output range 0 to 1;
#X obj 193 170 tabread \$0-hid_graph_array;
#X text 43 176 [hid_graph];
-#X obj 193 75 / 2;
#X obj 193 107 * 100;
-#X connect 0 0 3 0;
-#X connect 3 0 9 0;
-#X connect 7 0 2 0;
-#X connect 9 0 10 0;
-#X connect 10 0 7 0;
+#X connect 0 0 8 0;
+#X connect 6 0 2 0;
+#X connect 8 0 6 0;
#X coords 0 0 1 1 120 120 1;
diff --git a/hid_log.pd b/hid_log.pd
index 6b6d005..bcc0a54 100644
--- a/hid_log.pd
+++ b/hid_log.pd
@@ -1,11 +1,9 @@
-#N canvas 792 221 373 299 10;
+#N canvas 252 423 377 303 10;
#X obj 84 32 inlet;
#X obj 84 249 outlet;
#X text 132 32 input range: -1 to 1;
#X text 140 249 output range: 0 to 1;
#X text 9 5 [hid_log];
-#X obj 84 96 + 1;
-#X obj 84 115 / 2;
#X obj 84 134 * 1.71828;
#X obj 84 153 + 1;
#X obj 84 193 log;
@@ -14,6 +12,4 @@
#X connect 0 0 5 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
-#X connect 7 0 8 0;
-#X connect 8 0 9 0;
-#X connect 9 0 1 0;
+#X connect 7 0 1 0;
diff --git a/hid_smooth.pd b/hid_smooth.pd
index 9290f70..5b3e708 100644
--- a/hid_smooth.pd
+++ b/hid_smooth.pd
@@ -1,10 +1,11 @@
-#N canvas 721 425 454 304 10;
+#N canvas 346 512 458 308 10;
#X obj 67 31 inlet;
#X obj 67 256 outlet;
#X obj 122 78 loadbang;
#X msg 96 113 weight;
#X obj 67 149 average \$1;
#X msg 150 113 10;
+#X text 9 9 [hid_smooth];
#X connect 0 0 4 0;
#X connect 2 0 5 0;
#X connect 2 0 3 0;
diff --git a/hid_square.pd b/hid_square.pd
index 264a971..32499d4 100644
--- a/hid_square.pd
+++ b/hid_square.pd
@@ -1,16 +1,12 @@
-#N canvas 710 539 475 301 10;
+#N canvas 608 576 479 305 10;
#X obj 72 63 inlet;
#X obj 72 240 outlet;
#X text 120 63 input range: -1 to 1;
#X text 128 240 output range: 0 to 1;
#X obj 72 149 t f f;
#X obj 72 172 *;
-#X obj 72 104 + 1;
-#X obj 72 128 / 2;
#X text 7 9 [hid_square];
-#X connect 0 0 6 0;
+#X connect 0 0 4 0;
#X connect 4 0 5 0;
#X connect 4 1 5 1;
#X connect 5 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 f628808..572ffab 100644
--- a/hid_squareroot.pd
+++ b/hid_squareroot.pd
@@ -1,13 +1,9 @@
-#N canvas 860 465 424 341 10;
+#N canvas 170 430 428 345 10;
#X obj 72 63 inlet;
#X obj 72 240 outlet;
#X text 120 63 input range: -1 to 1;
#X text 128 240 output range: 0 to 1;
#X text 41 18 [hid_sqrt];
-#X obj 73 117 + 1;
-#X obj 73 140 / 2;
-#X obj 73 162 sqrt;
+#X obj 72 143 sqrt;
#X connect 0 0 5 0;
-#X connect 5 0 6 0;
-#X connect 6 0 7 0;
-#X connect 7 0 1 0;
+#X connect 5 0 1 0;