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/curve_graph.pd | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pd/curve_graph.pd (limited to 'pd/curve_graph.pd') diff --git a/pd/curve_graph.pd b/pd/curve_graph.pd new file mode 100644 index 0000000..22b46a6 --- /dev/null +++ b/pd/curve_graph.pd @@ -0,0 +1,45 @@ +#N canvas 606 208 100 116 10; +#X obj 103 188 inlet; +#N canvas 0 22 466 316 graph5 0; +#X array \$0_ 100 float 2; +#X coords 0 1 100 0 100 100 1; +#X restore 0 16 graph; +#X obj 198 378 outlet; +#X text 238 311 gives a range of 0-100; +#X text 245 379 output range 0 to 1; +#X text 79 167 [hid_graph]; +#X obj 198 310 * 100; +#X text 143 190 input range: 0 to 1; +#X obj 103 237 route reset; +#X obj 75 380 f; +#X obj 45 380 +; +#X msg 89 348 0; +#X msg 45 348 1; +#X obj 45 464 / 100; +#X obj 45 441 trigger f f; +#X obj 21 278 trigger bang bang; +#X msg 21 303 100; +#X obj 21 322 until; +#X obj 198 333 tabread \$0_; +#X obj 45 496 tabwrite \$0_; +#X obj -7 229 loadbang; +#X connect 0 0 8 0; +#X connect 6 0 18 0; +#X connect 8 0 15 0; +#X connect 8 1 6 0; +#X connect 9 0 10 1; +#X connect 10 0 14 0; +#X connect 10 0 9 0; +#X connect 11 0 9 1; +#X connect 11 0 10 1; +#X connect 12 0 10 0; +#X connect 13 0 19 0; +#X connect 14 0 13 0; +#X connect 14 1 19 1; +#X connect 15 0 16 0; +#X connect 15 1 11 0; +#X connect 16 0 17 0; +#X connect 17 0 12 0; +#X connect 18 0 2 0; +#X connect 20 0 15 0; +#X coords 0 0 1 1 100 116 1; -- cgit v1.2.1