From 19f35dd2a5d1c04d690697b1561836e573c9970a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 26 Apr 2005 04:44:38 +0000 Subject: added input range limiting svn path=/trunk/externals/hcs/hid/; revision=2822 --- TODO | 6 ++++++ hid_cube.pd | 8 ++++++-- hid_log.pd | 8 ++++++-- hid_square.pd | 8 ++++++-- 4 files changed, 24 insertions(+), 6 deletions(-) diff --git a/TODO b/TODO index 1d5a2ac..a3e5472 100644 --- a/TODO +++ b/TODO @@ -134,6 +134,12 @@ start-point and start-value. [infinitepot] for use with a [knob] or any single axis that could be infinite. +[hid_debounce] + +peak finder object + +"kalman filters" + /++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ diff --git a/hid_cube.pd b/hid_cube.pd index 83957ed..6919aa9 100644 --- a/hid_cube.pd +++ b/hid_cube.pd @@ -1,9 +1,13 @@ -#N canvas 381 547 479 305 10; +#N canvas 381 547 483 309 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 72 166 pow 3; #X text 7 9 [hid_cube]; -#X connect 0 0 4 0; +#X obj 72 106 min 1; +#X obj 72 126 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_log.pd b/hid_log.pd index 4ded8d1..a125c07 100644 --- a/hid_log.pd +++ b/hid_log.pd @@ -1,4 +1,4 @@ -#N canvas 252 423 377 303 10; +#N canvas 252 423 381 307 10; #X obj 84 32 inlet; #X obj 84 249 outlet; #X text 132 32 input range: 0 to 1; @@ -9,7 +9,11 @@ #X obj 84 193 log; #X text 92 172 the values are scaled from 1 to e; #X text 150 134 (e - 1); -#X connect 0 0 5 0; +#X obj 84 65 min 1; +#X obj 84 86 max 0; +#X connect 0 0 10 0; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 7 0 1 0; +#X connect 10 0 11 0; +#X connect 11 0 5 0; diff --git a/hid_square.pd b/hid_square.pd index 3a2074a..ba49cec 100644 --- a/hid_square.pd +++ b/hid_square.pd @@ -1,4 +1,4 @@ -#N canvas 608 576 479 305 10; +#N canvas 608 576 483 309 10; #X obj 72 63 inlet; #X obj 72 240 outlet; #X text 120 63 input range: 0 to 1; @@ -6,7 +6,11 @@ #X obj 72 149 t f f; #X obj 72 172 *; #X text 7 9 [hid_square]; -#X connect 0 0 4 0; +#X obj 72 95 min 1; +#X obj 72 115 max 0; +#X connect 0 0 7 0; #X connect 4 0 5 0; #X connect 4 1 5 1; #X connect 5 0 1 0; +#X connect 7 0 8 0; +#X connect 8 0 4 0; -- cgit v1.2.1