diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/pddp/about/mapping-about.pd | 479 | ||||
-rw-r--r-- | doc/pddp/all_about_hid_mapping.pd | 134 |
2 files changed, 203 insertions, 410 deletions
diff --git a/doc/pddp/about/mapping-about.pd b/doc/pddp/about/mapping-about.pd index b3fe3c30..6eeade58 100644 --- a/doc/pddp/about/mapping-about.pd +++ b/doc/pddp/about/mapping-about.pd @@ -1,9 +1,9 @@ -#N canvas 33 239 763 533 10; +#N canvas 184 135 775 545 10; #X obj 0 0 cnv 15 750 17 empty empty Mapping 10 9 0 16 -233017 -66577 0; -#X obj 305 18 cnv 15 440 15 empty empty Getting_your_message_across +#X obj 305 18 cnv 15 445 15 empty empty Getting_your_message_across 10 7 0 12 -217069 -33289 0; -#X obj 305 230 cnv 15 440 15 empty empty Broadcasting_with_sends_and_receives +#X obj 305 230 cnv 15 445 15 empty empty Broadcasting_with_sends_and_receives 10 7 0 12 -217069 -33289 0; #X obj 305 18 cnv 5 5 500 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -11,166 +11,23 @@ -1 0; #N canvas 0 22 454 304 META 0; #X restore 151 502 pd META; -#N canvas 696 168 500 380 PAGES 0; +#N canvas 696 168 524 404 PAGES 0; #X text 19 9 Put your pages here: (They must be named [pd PAGE1] [pd PAGE2]... (PAGE0 is the main patch).; -#X obj 12 143 pddp_page 3; -#X text 9 109 Don't forget to set the number of pages \, including -the main page.; -#N canvas 121 197 763 533 PAGE2 0; -#X obj 0 0 cnv 15 750 17 empty empty Mapping 10 9 0 16 -233017 -66577 -0; -#X obj 305 18 cnv 15 440 15 empty empty Internal_sends_and_receives -10 7 0 12 -217069 -33289 0; -#X obj 305 18 cnv 5 5 500 empty empty empty 20 12 0 14 -233017 -66577 -0; -#X obj 0 500 cnv 15 750 20 bs br PDDP_2005 10 10 0 14 -217069 -1 0 -; -#X obj 624 503 bng 15 250 50 0 pddpNextPage \$0- Previous -60 8 0 12 --262144 -1 -1; -#X obj 644 503 cnv 15 15 15 empty empty 1 0 8 0 12 -217069 -1 0; -#X obj 660 503 cnv 15 15 15 empty empty of 0 8 0 12 -217069 -1 0; -#X obj 676 503 cnv 15 25 15 empty pddpNumPages 3 4 8 0 12 -217069 -1 -0; -#X obj 692 503 bng 15 250 50 0 pddpNextPage \$0- Next 20 8 0 12 -262144 --1 -1; -#X obj 305 200 cnv 15 440 15 empty empty Explicit_vs_hidden 10 7 0 -12 -217069 -33289 0; -#N canvas 0 22 450 300 graph1 0; -#X array 4throot 100 float 0; -#X coords 0 1 99 -1 100 100 1; -#X restore 197 168 graph; -#N canvas 0 22 450 300 graph1 0; -#X array cuberoot 100 float 0; -#X coords 0 1 99 -1 100 100 1; -#X restore 197 277 graph; -#N canvas 0 22 450 300 graph1 0; -#X array logarithmic 100 float 0; -#X coords 0 1 99 -1 100 100 1; -#X restore 197 58 graph; -#X obj 121 58 curve_log; -#N canvas 0 22 450 300 graph1 0; -#X array squareroot 100 float 0; -#X coords 0 1 99 -1 100 100 1; -#X restore 197 387 graph; -#X obj 109 387 curve_root 2; -#X obj 109 277 curve_root 3; -#X obj 109 168 curve_root 4; -#N canvas 0 22 450 300 graph1 0; -#X array \$0-4throot0 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 7 168 graph; -#N canvas 0 22 450 300 graph1 0; -#X array \$0-cuberoot0 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 7 277 graph; -#N canvas 0 22 450 300 graph1 0; -#X array \$0-logarithmic0 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 7 58 graph; -#N canvas 0 22 450 300 graph1 0; -#X array \$0-squareroot0 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 7 387 graph; -#X text 131 27 range; -#X text 221 28 -1 to 1; -#X text 34 27 0 to 1; -#N canvas 314 57 701 681 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 395 tabwrite logarithmic; -#X obj 183 300 tabwrite squareroot; -#X obj 183 255 tabwrite cuberoot; -#X obj 77 23 loadbang; -#X obj 77 156 trigger float float; -#X obj 77 217 / 50; -#X obj 77 191 - 50; -#X obj 183 376 curve_log; -#X obj 183 236 curve_root 3; -#X obj 183 281 curve_root 2; -#X obj 183 332 curve_root 4; -#X obj 183 351 tabwrite 4throot; -#X obj 483 211 float; -#X obj 183 561 curve_log; -#X obj 183 421 curve_root 3; -#X obj 183 466 curve_root 2; -#X obj 183 517 curve_root 4; -#X obj 18 217 / 100; -#X obj 183 485 tabwrite \$0-squareroot0; -#X obj 183 440 tabwrite \$0-cuberoot0; -#X obj 183 536 tabwrite \$0-4throot0; -#X obj 183 580 tabwrite \$0-logarithmic0; -#X obj 171 33 metro 5000; -#X obj 171 13 loadbang; -#X connect 0 0 1 0; -#X connect 1 0 3 0; -#X connect 3 0 4 0; -#X connect 3 0 11 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 10 0 0 0; -#X connect 11 0 13 0; -#X connect 11 0 24 0; -#X connect 11 1 19 0; -#X connect 12 0 14 0; -#X connect 12 0 15 0; -#X connect 12 0 16 0; -#X connect 12 0 17 0; -#X connect 13 0 12 0; -#X connect 14 0 7 0; -#X connect 15 0 9 0; -#X connect 16 0 8 0; -#X connect 17 0 18 0; -#X connect 19 0 7 1; -#X connect 19 0 8 1; -#X connect 19 0 9 1; -#X connect 19 0 18 1; -#X connect 19 0 25 1; -#X connect 19 0 26 1; -#X connect 19 0 27 1; -#X connect 19 0 28 1; -#X connect 20 0 28 0; -#X connect 21 0 26 0; -#X connect 22 0 25 0; -#X connect 23 0 27 0; -#X connect 24 0 21 0; -#X connect 24 0 22 0; -#X connect 24 0 23 0; -#X connect 24 0 20 0; -#X connect 29 0 0 0; -#X connect 30 0 29 0; -#X restore 106 502 pd draw_arrays; -#X text 312 291 - CURVE TEXT IDEAS; -#X text 342 307 - amplitude is generally perceived on a logarithmic -scale; -#X text 343 324 - pitch is perceived on logarithmic scale; -#X text 343 339 - many sensors work best on other curves; -#X text 336 234 Objects that start with "hid_" accept input data in -the range of 0-1 and output data in the same range \, allowing you -to chain as many of these objects together without thinking about scaling -the resulting data with each step.; -#X restore 14 54 pd PAGE2; -#N canvas 25 25 763 533 PAGE4 0; +#N canvas 93 122 779 548 PAGE4 0; #X obj 0 0 cnv 15 750 17 empty empty Mapping 10 9 0 16 -233017 -66577 0; #X obj 6 328 cnv 15 300 15 empty empty Related_Objects 10 7 0 12 -217069 -33289 0; #X obj 0 500 cnv 15 750 20 bs br PDDP_2005 10 10 0 14 -217069 -1 0 ; -#X obj 624 503 bng 15 250 50 0 pddpNextPage \$0- Previous -60 8 0 12 +#X obj 624 503 bng 15 250 50 0 \$0-previous \$0- Previous -60 8 0 12 -262144 -1 -1; -#X obj 644 503 cnv 15 15 15 empty empty 1 0 8 0 12 -217069 -1 0; +#X obj 644 503 cnv 15 15 15 empty empty 4 0 8 0 12 -217069 -1 0; #X obj 660 503 cnv 15 15 15 empty empty of 0 8 0 12 -217069 -1 0; -#X obj 676 503 cnv 15 25 15 empty pddpNumPages 3 4 8 0 12 -217069 -1 -0; -#X obj 692 503 bng 15 250 50 0 pddpNextPage \$0- Next 20 8 0 12 -262144 +#X obj 676 503 cnv 15 25 15 empty 1000-page_count 4 4 8 0 12 -217069 +-1 0; +#X obj 692 503 bng 15 250 50 0 \$0-next \$0- Next 20 8 0 12 -262144 -1 -1; #X obj 745 0 cnv 5 5 500 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -185,76 +42,64 @@ the resulting data with each step.; #X text 39 467 LINK: receive13-help.pd; #X obj 18 421 cnv 15 100 17 empty empty ext13 3 9 0 12 -233017 -1 0 ; -#X obj 305 378 cnv 15 440 15 empty empty More_Info 10 7 0 12 -217069 +#X obj 305 378 cnv 15 445 15 empty empty More_Info 10 7 0 12 -217069 -33289 0; #X text 345 401 LINK: spiffy example; #X text 345 416 LINK: Scope and Locality; #X text 345 432 LINK: pd-msg docs; -#X obj 305 18 cnv 15 440 15 empty empty Sending_And_Receiving_from_Pd_itself +#X obj 305 18 cnv 15 445 15 empty empty Sending_And_Receiving_from_Pd_itself 10 7 0 12 -217069 -33289 0; #X text 358 70 blah blah blah \, no text here yet.; #X text 17 123 Or draw your own curve:; #X obj 192 72 curve_graph; #X restore 158 56 pd PAGE4; -#N canvas 466 121 771 541 PAGE3 0; -#X obj 0 0 cnv 15 750 17 empty empty Mapping 10 9 0 16 -233017 -66577 +#N canvas 184 134 785 547 PAGE3 0; +#X obj -70 0 cnv 15 750 17 empty empty Mapping 10 9 0 16 -233017 -66577 0; -#X obj 305 18 cnv 15 440 15 empty empty Internal_sends_and_receives +#X obj 235 18 cnv 15 445 15 empty empty Internal_sends_and_receives 10 7 0 12 -217069 -33289 0; -#X obj 305 18 cnv 5 5 500 empty empty empty 20 12 0 14 -233017 -66577 +#X obj 235 18 cnv 5 5 500 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 0 500 cnv 15 750 20 bs br PDDP_2005 10 10 0 14 -217069 -1 0 -; -#X obj 624 503 bng 15 250 50 0 pddpNextPage \$0- Previous -60 8 0 12 --262144 -1 -1; -#X obj 644 503 cnv 15 15 15 empty empty 1 0 8 0 12 -217069 -1 0; -#X obj 660 503 cnv 15 15 15 empty empty of 0 8 0 12 -217069 -1 0; -#X obj 676 503 cnv 15 25 15 empty pddpNumPages 3 4 8 0 12 -217069 -1 +#X obj -70 500 cnv 15 750 20 bs br PDDP_2005 10 10 0 14 -217069 -1 0; -#X obj 692 503 bng 15 250 50 0 pddpNextPage \$0- Next 20 8 0 12 -262144 +#X obj 554 503 bng 15 250 50 0 \$0-previous \$0- Previous -60 8 0 12 +-262144 -1 -1; +#X obj 574 503 cnv 15 15 15 empty empty 3 0 8 0 12 -217069 -1 0; +#X obj 590 503 cnv 15 15 15 empty empty of 0 8 0 12 -217069 -1 0; +#X obj 606 503 cnv 15 25 15 empty 1000-page_count 4 4 8 0 12 -217069 +-1 0; +#X obj 622 503 bng 15 250 50 0 \$0-next \$0- Next 20 8 0 12 -262144 -1 -1; -#X obj 305 200 cnv 15 440 15 empty empty Explicit_vs_hidden 10 7 0 +#X obj 235 200 cnv 15 445 15 empty empty Explicit_vs_hidden 10 7 0 12 -217069 -33289 0; #N canvas 0 22 450 300 graph1 0; -#X array 4thpower 100 float 0; -#X coords 0 1 99 -1 100 100 1; -#X restore 197 168 graph; -#N canvas 0 22 450 300 graph1 0; -#X array cube 100 float 0; +#X array \$0-sin 100 float 0; #X coords 0 1 99 -1 100 100 1; -#X restore 197 277 graph; +#X restore 127 98 graph; #N canvas 0 22 450 300 graph1 0; -#X array exponential 100 float 0; +#X array \$0-cos 100 float 0; #X coords 0 1 99 -1 100 100 1; -#X restore 197 58 graph; -#X obj 114 58 curve_exp; +#X restore 127 217 graph; #N canvas 0 22 450 300 graph1 0; -#X array square 100 float 0; +#X array \$0-atan 100 float 0; #X coords 0 1 99 -1 100 100 1; -#X restore 197 387 graph; -#X obj 102 387 curve_power 2; -#X obj 102 277 curve_power 3; -#X obj 102 168 curve_power 4; +#X restore 127 337 graph; #N canvas 0 22 450 300 graph1 0; -#X array \$0-4thpower0 100 float 0; +#X array \$0s 100 float 0; #X coords 0 1 99 0 100 100 1; -#X restore 0 168 graph; +#X restore -70 98 graph; #N canvas 0 22 450 300 graph1 0; -#X array \$0-cube0 100 float 0; +#X array \$0c 100 float 0; #X coords 0 1 99 0 100 100 1; -#X restore 0 277 graph; +#X restore -70 217 graph; #N canvas 0 22 450 300 graph1 0; -#X array \$0-exponential0 100 float 0; +#X array \$0a 100 float 0; #X coords 0 1 99 0 100 100 1; -#X restore 0 58 graph; -#N canvas 0 22 450 300 graph1 0; -#X array \$0-square0 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 0 387 graph; -#X text 124 27 range; -#X text 221 28 -1 to 1; -#X text 27 27 0 to 1; -#N canvas 70 100 705 685 draw_arrays 0; +#X restore -70 337 graph; +#X text 54 77 range; +#X text 151 78 -1 to 1; +#X text -43 77 0 to 1; +#N canvas 487 55 717 697 draw_arrays 0; #X msg 77 62 bang; #X obj 77 83 until; #X text 108 62 start; @@ -262,104 +107,186 @@ the resulting data with each step.; #X obj 106 105 + 1; #X obj 152 107 sel 0; #X obj 106 127 mod 100; -#X obj 183 395 tabwrite exponential; -#X obj 183 300 tabwrite square; -#X obj 183 255 tabwrite cube; #X obj 77 23 loadbang; #X obj 77 156 trigger float float; #X obj 77 217 / 50; #X obj 77 191 - 50; -#X obj 183 376 curve_exp; -#X obj 183 236 curve_power 3; -#X obj 183 332 curve_power 4; -#X obj 183 351 tabwrite 4thpower; #X obj 483 211 float; -#X obj 183 561 curve_exp; -#X obj 183 421 curve_power 3; -#X obj 183 466 curve_power 2; -#X obj 183 517 curve_power 4; #X obj 18 217 / 100; -#X obj 183 485 tabwrite \$0-square0; -#X obj 183 440 tabwrite \$0-cube0; -#X obj 183 536 tabwrite \$0-4thpower0; -#X obj 183 580 tabwrite \$0-exponential0; -#X obj 183 281 curve_power 2; #X obj 149 38 metro 5000; #X obj 149 19 loadbang; +#X obj 183 255 tabwrite \$0-sin; +#X obj 183 300 tabwrite \$0-cos; +#X obj 183 351 tabwrite \$0-atan; +#X obj 183 445 tabwrite \$0s; +#X obj 183 485 tabwrite \$0c; +#X obj 183 536 tabwrite \$0a; +#X obj 183 236 sinusoid sin; +#X obj 183 281 sinusoid cos; +#X obj 183 332 sinusoid atan; +#X obj 183 420 sinusoid sin; +#X obj 183 466 sinusoid cos; +#X obj 183 517 sinusoid atan; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; -#X connect 3 0 11 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 10 0 0 0; -#X connect 11 0 13 0; -#X connect 11 0 23 0; -#X connect 11 1 18 0; -#X connect 12 0 14 0; -#X connect 12 0 15 0; -#X connect 12 0 16 0; -#X connect 12 0 28 0; -#X connect 13 0 12 0; -#X connect 14 0 7 0; -#X connect 15 0 9 0; -#X connect 16 0 17 0; -#X connect 18 0 7 1; -#X connect 18 0 8 1; -#X connect 18 0 9 1; -#X connect 18 0 17 1; -#X connect 18 0 24 1; -#X connect 18 0 25 1; -#X connect 18 0 26 1; -#X connect 18 0 27 1; -#X connect 19 0 27 0; -#X connect 20 0 25 0; -#X connect 21 0 24 0; -#X connect 22 0 26 0; -#X connect 23 0 20 0; -#X connect 23 0 21 0; -#X connect 23 0 22 0; -#X connect 23 0 19 0; -#X connect 28 0 8 0; -#X connect 29 0 0 0; -#X connect 30 0 29 0; -#X restore 106 502 pd draw_arrays; -#X restore 85 54 pd PAGE3; +#X connect 7 0 0 0; +#X connect 8 0 10 0; +#X connect 8 0 12 0; +#X connect 8 1 11 0; +#X connect 9 0 21 0; +#X connect 9 0 22 0; +#X connect 9 0 23 0; +#X connect 10 0 9 0; +#X connect 11 0 15 1; +#X connect 11 0 16 1; +#X connect 11 0 17 1; +#X connect 11 0 18 1; +#X connect 11 0 19 1; +#X connect 11 0 20 1; +#X connect 12 0 24 0; +#X connect 12 0 25 0; +#X connect 12 0 26 0; +#X connect 13 0 0 0; +#X connect 14 0 13 0; +#X connect 21 0 15 0; +#X connect 22 0 16 0; +#X connect 23 0 17 0; +#X connect 24 0 18 0; +#X connect 25 0 19 0; +#X connect 26 0 20 0; +#X restore 36 502 pd draw_arrays; +#X text 151 198 -1 to 1; +#X text -43 197 0 to 1; +#X text 151 318 -1 to 1; +#X text -43 317 0 to 1; +#X text 151 438 -1 to 1; +#X text -43 437 0 to 1; +#X obj 32 98 sinusoid sin; +#X obj 36 218 sinusoid cos; +#X obj 32 337 sinusoid atan; +#X restore 95 56 pd PAGE3; +#X text 9 109 Don't forget to set \$0 and the number of pages \, including +the main page.; +#X obj 26 156 pddp_page \$0 4; +#N canvas 137 150 787 558 PAGE2 0; +#X obj 0 0 cnv 15 750 17 empty empty Mapping 10 9 0 16 -233017 -66577 +0; +#X obj 305 18 cnv 15 445 15 empty empty Getting_your_message_across +10 7 0 12 -217069 -33289 0; +#X obj 305 230 cnv 15 445 15 empty empty Broadcasting_with_sends_and_receives +10 7 0 12 -217069 -33289 0; +#X obj 305 18 cnv 5 5 500 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 0 500 cnv 15 750 20 bs br PDDP_Project_2005 10 10 0 14 -217069 +-1 0; +#X obj 624 503 bng 15 250 50 0 \$0-previous \$0- Previous -60 8 0 12 +-262144 -1 -1; +#X obj 644 503 cnv 15 15 15 empty empty 2 0 8 0 12 -217069 -1 0; +#X obj 660 503 cnv 15 15 15 empty empty of 0 8 0 12 -217069 -1 0; +#X obj 676 503 cnv 15 25 15 empty \$0-page_count 4 4 8 0 12 -217069 +-1 0; +#X obj 692 503 bng 15 250 50 0 \$0-next \$0- Next 20 8 0 12 -262144 +-1 -1; +#N canvas 0 22 450 300 graph1 0; +#X array \$0-curve 200 float 0; +#X coords 0 1 199 -1 200 200 1; +#X restore 87 181 graph; +#X floatatom 46 58 8 0 0 0 - - -; +#X floatatom 46 129 8 0 0 0 - - -; +#X obj 49 146 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 +-1 -1 0 1; +#X obj 49 38 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 +-1 -1 0 1; +#N canvas 721 196 411 401 draw_array 0; +#X msg 54 82 bang; +#X obj 54 103 until; +#X text 85 82 start; +#X obj 54 125 f; +#X obj 83 125 + 1; +#X obj 54 43 loadbang; +#X text 96 257 mapping output range: -1 to 1; +#X obj 54 180 trigger float float; +#X obj 127 127 select 0; +#X obj 53 313 tabwrite \$0-curve; +#X obj 138 9 inlet; +#X obj 153 32 send \$0-to-numbox; +#X obj 139 53 trigger bang float; +#X obj 53 283 curve; +#X obj 83 147 mod 200; +#X obj 53 229 - 100; +#X obj 54 257 / 100; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 7 0; +#X connect 4 0 14 0; +#X connect 5 0 0 0; +#X connect 7 0 15 0; +#X connect 7 1 9 1; +#X connect 8 0 1 1; +#X connect 10 0 11 0; +#X connect 10 0 12 0; +#X connect 12 0 0 0; +#X connect 12 1 13 1; +#X connect 13 0 9 0; +#X connect 14 0 3 1; +#X connect 14 0 8 0; +#X connect 15 0 16 0; +#X connect 16 0 13 0; +#X restore 116 109 pd draw_array; +#X obj 74 84 hsl 128 15 -1 1 0 1 empty empty empty -2 -6 0 8 -225271 +-1 -1 3600 0; +#X floatatom 213 85 7 0 0 0 - #0-to-numbox -; +#X obj 46 108 curve; +#X connect 11 0 18 0; +#X connect 12 0 13 0; +#X connect 14 0 11 0; +#X connect 16 0 15 0; +#X connect 16 0 18 1; +#X connect 18 0 12 0; +#X restore 31 56 pd PAGE2; #X coords 0 0 1.01598e-05 1.58148e-05 96 15 0; #X restore 208 502 pd PAGES; -#X obj 624 503 bng 15 250 50 0 pddpNextPage \$0- Previous -60 8 0 12 +#X obj 624 503 bng 15 250 50 0 \$0-previous \$0- Previous -60 8 0 12 -262144 -1 -1; #X obj 644 503 cnv 15 15 15 empty empty 1 0 8 0 12 -217069 -1 0; #X obj 660 503 cnv 15 15 15 empty empty of 0 8 0 12 -217069 -1 0; -#X obj 676 503 cnv 15 25 15 empty pddpNumPages 3 4 8 0 12 -217069 -1 -0; -#X obj 692 503 bng 15 250 50 0 pddpNextPage \$0- Next 20 8 0 12 -262144 +#X obj 676 503 cnv 15 25 15 empty \$0-page_count 4 4 8 0 12 -217069 +-1 0; +#X obj 692 503 bng 15 250 50 0 \$0-next \$0- Next 20 8 0 12 -262144 -1 -1; -#X obj 183 73 hid_rel2abs; -#X obj 13 116 hid_smooth; -#X obj 13 51 notescale; -#X obj 91 73 hid_centered; -#X obj 13 162 buttongate; -#X obj 92 162 keygate; -#X obj 92 116 hid_average; -#X text 5 32 SCALING AND RANGING; -#X text 5 99 SMOOTHING; -#X obj 89 51 autoscale; -#X text 5 145 BASIC CONTROLS; -#X text 6 186 ONE-TO-MANY MAPPING; -#X obj 13 211 hid_one2two; -#X obj 98 211 hid_one2three; -#X text 5 235 POLAR COORDINATES; -#X text 5 279 ANGLE CONVERSIONS; -#X obj 177 116 hid_lowpass; -#X obj 197 211 hid_one2four; -#X obj 13 73 reverse; -#X obj 63 252 polar; -#X obj 106 252 spiral; -#X obj 13 252 vector; -#X obj 126 319 degrees2mapping; -#X obj 14 319 mapping2degrees; -#X obj 126 299 radians2mapping; -#X obj 14 299 mapping2radians; +#X obj 187 69 hid_rel2abs; +#X obj 17 112 hid_smooth; +#X obj 17 47 notescale; +#X obj 95 69 hid_centered; +#X obj 17 158 buttongate; +#X obj 96 158 keygate; +#X obj 96 112 hid_average; +#X text 9 28 SCALING AND RANGING; +#X text 9 95 SMOOTHING; +#X obj 93 47 autoscale; +#X text 9 141 BASIC CONTROLS; +#X text 10 182 ONE-TO-MANY MAPPING; +#X obj 17 207 hid_one2two; +#X obj 102 207 hid_one2three; +#X text 9 231 POLAR COORDINATES; +#X text 9 275 ANGLE CONVERSIONS; +#X obj 181 112 hid_lowpass; +#X obj 201 207 hid_one2four; +#X obj 17 69 reverse; +#X obj 67 248 polar; +#X obj 110 248 spiral; +#X obj 17 248 vector; +#X obj 130 315 degrees2mapping; +#X obj 18 315 mapping2degrees; +#X obj 130 295 radians2mapping; +#X obj 18 295 mapping2radians; +#X text 9 340 CURVES; +#X obj 18 366 curve; +#X obj 62 366 sinusoid; diff --git a/doc/pddp/all_about_hid_mapping.pd b/doc/pddp/all_about_hid_mapping.pd deleted file mode 100644 index 78dffb3a..00000000 --- a/doc/pddp/all_about_hid_mapping.pd +++ /dev/null @@ -1,134 +0,0 @@ -#N canvas 173 110 879 596 10; -#N canvas 0 22 450 300 graph1 0; -#X array cuberoot 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 486 165 graph; -#N canvas 0 22 450 300 graph1 0; -#X array cube 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 731 165 graph; -#N canvas 0 22 450 300 graph5 0; -#X array square 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 731 269 graph; -#N canvas 0 22 450 300 graph1 0; -#X array squareroot 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 486 269 graph; -#X obj 179 124 hid_rel2abs; -#X obj 9 167 hid_smooth; -#N canvas 27 65 637 617 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 exponential; -#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 391 tabwrite cube; -#X obj 183 255 tabwrite cuberoot; -#X obj 77 23 loadbang; -#X obj 77 217 / 100; -#X text 119 217 [hid] output range: 0 to 1; -#X obj 183 236 hid_cuberoot; -#X obj 183 281 hid_squareroot; -#X obj 183 372 hid_cube; -#X obj 183 420 hid_square; -#X obj 183 326 hid_log; -#X obj 183 467 hid_exp; -#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 17 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 14 1; -#X connect 11 0 15 1; -#X connect 11 0 9 1; -#X connect 16 0 0 0; -#X connect 17 0 19 0; -#X connect 17 0 20 0; -#X connect 17 0 21 0; -#X connect 17 0 22 0; -#X connect 17 0 23 0; -#X connect 17 0 24 0; -#X connect 19 0 15 0; -#X connect 20 0 13 0; -#X connect 21 0 14 0; -#X connect 22 0 12 0; -#X connect 23 0 7 0; -#X connect 24 0 9 0; -#X restore 563 30 pd draw_arrays; -#X obj 5 2 cnv 15 850 20 empty empty all_about_hid_mapping 20 10 1 -18 -233017 -66577 0; -#X obj 821 3 pddp; -#X obj 731 386 hid_graph; -#X obj 9 102 notescale; -#X obj 87 124 hid_centered; -#X obj 379 208 hid_cuberoot; -#X obj 631 200 hid_cube; -#X obj 633 308 hid_square; -#X obj 381 308 hid_squareroot; -#X obj 9 213 buttongate; -#X obj 88 213 keygate; -#X text 16 448 - CURVE TEXT IDEAS; -#X text 46 464 - amplitude is generally perceived on a logarithmic -scale; -#X obj 9 124 hid_invert; -#X text 22 530 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at> -; -#X text 239 544 released under the GNU GPL; -#X text 445 531 $Revision: 1.9 $$Date: 2005-06-19 23:01:54 $; -#X text 446 544 $Author: eighthave $; -#X obj 88 167 hid_average; -#X text 1 83 SCALING AND RANGING; -#X text 1 150 SMOOTHING; -#X obj 85 102 autoscale; -#X text 1 196 BASIC CONTROLS; -#X text 2 237 ONE-TO-MANY MAPPING; -#X obj 9 262 hid_one2two; -#X obj 94 262 hid_one2three; -#X text 379 30 CURVES; -#X text 47 481 - pitch is perceived on logarithmic scale; -#X text 47 496 - many sensors work best on other curves; -#X text 1 286 POLAR COORDINATES; -#X obj 9 303 hid_polar; -#X obj 82 303 hid_spiral; -#X obj 10 350 hid2rad; -#X obj 130 350 hid2deg; -#X obj 70 350 rad2hid; -#X obj 190 350 deg2hid; -#X text 1 330 ANGLE CONVERSIONS; -#X text 40 385 Objects that start with "hid_" accept input data in -the range of 0-1 and output data in the same range \, allowing you -to chain as many of these objects together without thinking about scaling -the resulting data with each step.; -#N canvas 0 22 450 300 graph1 0; -#X array logarithmic 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 486 61 graph; -#X obj 378 101 hid_log; -#N canvas 0 22 450 300 graph5 0; -#X array exponential 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 731 61 graph; -#X obj 631 99 hid_exp; -#X text 37 51 [THIS IS A WORK-IN-PROGRESS]; -#X obj 173 167 hid_lowpass; -#X obj 193 262 hid_one2four; -#X text 556 437 Or draw your own curve:; -#X obj 163 303 hid_vector; |