From 043dfe0ae677c018cde28cb84e1abe5ae1fe5205 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 29 Jan 2006 05:43:33 +0000 Subject: this is the first checkin for the new mapping lib, which is a join effort of Cyrille and Hans. We are combining Cyrille's ds_/datastream classes with my hid_* classes, and I think Cyrille has drawn on the La-Kitchen classes for working with sensors. svn path=/trunk/externals/mapping/; revision=4514 --- pd/debounce.pd | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pd/debounce.pd (limited to 'pd/debounce.pd') diff --git a/pd/debounce.pd b/pd/debounce.pd new file mode 100644 index 0000000..09092c3 --- /dev/null +++ b/pd/debounce.pd @@ -0,0 +1,28 @@ +#N canvas 132 316 478 432 10; +#X obj 38 43 inlet; +#X obj 252 108 f \$1; +#X obj 252 85 loadbang; +#X obj 226 33 inlet; +#X obj 251 132 select 0; +#X text 274 34 delay between state change; +#X obj 62 381 outlet; +#X obj 61 325 f; +#X text 298 152 set default; +#X obj 246 189 send \$0-delay; +#X obj 157 271 delay; +#X obj 187 248 receive \$0-delay; +#X text 80 31 float input; +#X text 120 378 debounced float output; +#X msg 250 152 10; +#X obj 100 103 change; +#X connect 0 0 7 1; +#X connect 0 0 15 0; +#X connect 1 0 4 0; +#X connect 2 0 1 0; +#X connect 3 0 9 0; +#X connect 4 0 14 0; +#X connect 4 1 9 0; +#X connect 7 0 6 0; +#X connect 10 0 7 0; +#X connect 11 0 10 1; +#X connect 14 0 9 0; -- cgit v1.2.1