diff options
Diffstat (limited to 'doc/pddp')
-rw-r--r-- | doc/pddp/all_about_hid_mapping.pd | 105 |
1 files changed, 58 insertions, 47 deletions
diff --git a/doc/pddp/all_about_hid_mapping.pd b/doc/pddp/all_about_hid_mapping.pd index 1ffc2ad3..d5c641aa 100644 --- a/doc/pddp/all_about_hid_mapping.pd +++ b/doc/pddp/all_about_hid_mapping.pd @@ -1,31 +1,31 @@ -#N canvas 152 109 863 491 10; +#N canvas 230 123 867 495 10; #N canvas 0 22 450 300 graph1 0; -#X array cuberoot 100 float 2; +#X array cuberoot 100 float 0; #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 array exponent 100 float 0; #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 array cube 100 float 0; #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 array square 100 float 0; #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 obj 54 152 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 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 array logarithmic 100 float 0; #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 array squareroot 100 float 0; #X coords 0 1 99 0 100 100 1; #X restore 426 165 graph; #X obj 166 253 hid_rel2abs; @@ -40,7 +40,7 @@ #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; +#N canvas 27 65 573 553 draw_arrays 0; #X msg 77 62 bang; #X obj 77 83 until; #X text 108 62 start; @@ -55,18 +55,17 @@ #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 obj 77 217 / 100; +#X text 119 217 [hid] output range: 0 to 1; +#X obj 183 236 pow 0.333333; +#X obj 183 372 pow 3; +#X obj 183 420 pow 2; +#X obj 183 281 pow 0.5; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; @@ -75,35 +74,30 @@ #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 0 19 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 15 1; +#X connect 11 0 16 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 connect 14 0 7 0; +#X connect 17 0 9 0; +#X connect 18 0 0 0; +#X connect 19 0 14 0; +#X connect 19 0 17 0; +#X connect 19 0 21 0; +#X connect 19 0 22 0; +#X connect 19 0 23 0; +#X connect 19 0 24 0; +#X connect 21 0 16 0; +#X connect 22 0 15 0; +#X connect 23 0 12 0; +#X connect 24 0 13 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 289 317 hid_log; #X obj 74 187 mouse 0; #X msg 80 113 open 1; #X msg 90 139 open 2; @@ -112,7 +106,24 @@ #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 obj 15 41 notescale; +#X obj 624 104 pow 3; +#X obj 284 100 pow 0.333333; +#X text 614 173 square; +#X text 617 82 cube; +#X text 279 175 square root; +#X text 275 78 cube root; +#X text 280 299 logarithmic; +#X obj 622 203 pow 2; +#X obj 288 194 pow 0.5; +#X obj 288 213 sqrt; +#X obj 112 43 hid_centered; +#X obj 284 123 hid_cuberoot; +#X obj 624 130 hid_cube; +#X obj 622 224 hid_square; +#X obj 289 235 hid_squareroot; +#X text 612 297 exponential; +#X connect 4 0 22 0; #X connect 5 0 15 0; #X connect 5 0 18 0; #X connect 6 0 13 0; @@ -120,12 +131,12 @@ #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 16 0 22 0; +#X connect 17 0 27 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; +#X connect 22 0 5 0; +#X connect 22 1 6 0; +#X connect 22 2 7 0; +#X connect 23 0 22 0; +#X connect 24 0 22 0; +#X connect 27 0 28 0; |