From a0a6fdf6aa787c8b3c41b830eec4e15557e82480 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 20 Nov 2004 03:51:01 +0000 Subject: first draft, some basic functionality, no text yet svn path=/trunk/; revision=2291 --- doc/pddp/TODO | 6 ++ doc/pddp/all_about_hid_mapping.pd | 131 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 137 insertions(+) create mode 100644 doc/pddp/TODO create mode 100644 doc/pddp/all_about_hid_mapping.pd (limited to 'doc') diff --git a/doc/pddp/TODO b/doc/pddp/TODO new file mode 100644 index 00000000..7e569e54 --- /dev/null +++ b/doc/pddp/TODO @@ -0,0 +1,6 @@ + +- auto-generate table_of_contents.pd from all all_about_*.pd patches + +- make a Pd patch to launch table_of_contents.pd to solve recursive problem + + diff --git a/doc/pddp/all_about_hid_mapping.pd b/doc/pddp/all_about_hid_mapping.pd new file mode 100644 index 00000000..1ffc2ad3 --- /dev/null +++ b/doc/pddp/all_about_hid_mapping.pd @@ -0,0 +1,131 @@ +#N canvas 152 109 863 491 10; +#N canvas 0 22 450 300 graph1 0; +#X array cuberoot 100 float 2; +#X coords 0 1 99 0 100 100 1; +#X restore 426 61 graph; +#N canvas 0 22 450 300 graph5 0; +#X array exponent 100 float 2; +#X coords 0 1 99 0 100 100 1; +#X restore 741 269 graph; +#N canvas 0 22 450 300 graph1 0; +#X array cube 100 float 2; +#X coords 0 1 99 0 100 100 1; +#X restore 741 61 graph; +#N canvas 0 22 450 300 graph5 0; +#X array square 100 float 2; +#X coords 0 1 99 0 100 100 1; +#X restore 741 165 graph; +#X obj 54 152 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X floatatom 32 227 5 0 0 0 - - -; +#X floatatom 75 226 5 0 0 0 - - -; +#X floatatom 120 226 5 0 0 0 - - -; +#N canvas 0 22 450 300 graph1 0; +#X array logarithmic 100 float 2; +#X coords 0 1 99 0 100 100 1; +#X restore 426 269 graph; +#N canvas 0 22 450 300 graph1 0; +#X array squareroot 100 float 2; +#X coords 0 1 99 0 100 100 1; +#X restore 426 165 graph; +#X obj 166 253 hid_rel2abs; +#X msg 178 224 reset; +#X floatatom 170 288 5 0 0 0 - - -; +#X obj 75 244 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 119 244 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 32 251 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 96 165 poll 50; +#X floatatom 44 343 5 0 0 0 - - -; +#X obj 43 281 hid_smooth; +#N canvas 27 65 565 545 draw_arrays 0; +#X msg 77 62 bang; +#X obj 77 83 until; +#X text 108 62 start; +#X obj 77 105 f; +#X obj 106 105 + 1; +#X obj 152 107 sel 0; +#X obj 106 127 mod 100; +#X obj 183 345 tabwrite logarithmic; +#X obj 77 170 t f f; +#X obj 183 486 tabwrite exponent; +#X obj 114 197 s array_index; +#X obj 443 267 r array_index; +#X obj 183 439 tabwrite square; +#X obj 183 300 tabwrite squareroot; +#X obj 183 281 hid_squareroot; +#X obj 77 197 / 50; +#X obj 77 217 - 1; +#X text 108 217 [hid] output range: -1 to 1; +#X obj 183 420 hid_square; +#X obj 183 326 hid_log; +#X obj 183 372 hid_cube; +#X obj 183 391 tabwrite cube; +#X obj 183 236 hid_cuberoot; +#X obj 183 255 tabwrite cuberoot; +#X obj 183 467 hid_exp; +#X obj 77 23 loadbang; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 8 0; +#X connect 4 0 6 0; +#X connect 5 0 1 1; +#X connect 6 0 3 1; +#X connect 6 0 5 0; +#X connect 8 0 15 0; +#X connect 8 1 10 0; +#X connect 11 0 7 1; +#X connect 11 0 12 1; +#X connect 11 0 13 1; +#X connect 11 0 21 1; +#X connect 11 0 23 1; +#X connect 11 0 9 1; +#X connect 14 0 13 0; +#X connect 15 0 16 0; +#X connect 16 0 14 0; +#X connect 16 0 18 0; +#X connect 16 0 19 0; +#X connect 16 0 20 0; +#X connect 16 0 22 0; +#X connect 16 0 24 0; +#X connect 18 0 12 0; +#X connect 19 0 7 0; +#X connect 20 0 21 0; +#X connect 22 0 23 0; +#X connect 24 0 9 0; +#X connect 25 0 0 0; +#X restore 573 30 pd draw_arrays; +#X obj 621 316 hid_exp; +#X obj 620 201 hid_square; +#X obj 624 104 hid_cube; +#X obj 286 101 hid_cuberoot; +#X obj 281 315 hid_log; +#X obj 281 213 hid_squareroot; +#X obj 74 187 mouse 0; +#X msg 80 113 open 1; +#X msg 90 139 open 2; +#X obj 2 2 cnv 15 850 20 empty empty all_about_hid_mapping 20 10 1 +18 -233017 -66577 0; +#X obj 818 3 pddp; +#X obj 125 329 hid_graph; +#X floatatom 124 476 5 0 0 0 - - -; +#X connect 4 0 26 0; +#X connect 5 0 15 0; +#X connect 5 0 18 0; +#X connect 6 0 13 0; +#X connect 7 0 14 0; +#X connect 7 0 10 0; +#X connect 10 0 12 0; +#X connect 11 0 10 0; +#X connect 16 0 26 0; +#X connect 17 0 31 0; +#X connect 18 0 17 0; +#X connect 26 0 5 0; +#X connect 26 1 6 0; +#X connect 26 2 7 0; +#X connect 27 0 26 0; +#X connect 28 0 26 0; +#X connect 31 0 32 0; -- cgit v1.2.1