Update of /cvsroot/pure-data/doc/pddp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5176
Modified Files: all_about_hid_mapping.pd Log Message: got [hid_graph] fully functional; added helpfiles for all curve objects
Index: all_about_hid_mapping.pd =================================================================== RCS file: /cvsroot/pure-data/doc/pddp/all_about_hid_mapping.pd,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** all_about_hid_mapping.pd 27 Apr 2005 20:22:20 -0000 1.7 --- all_about_hid_mapping.pd 24 May 2005 00:39:57 -0000 1.8 *************** *** 1,30 **** ! #N canvas 304 56 900 582 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 516 61 graph; ! #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 269 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 61 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 165 graph; ! #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 516 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 516 165 graph; #X obj 179 124 hid_rel2abs; #X obj 9 167 hid_smooth; ! #N canvas 27 65 573 553 draw_arrays 0; #X msg 77 62 bang; #X obj 77 83 until; --- 1,22 ---- ! #N canvas 49 175 871 588 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; *************** *** 41,55 **** #X obj 183 439 tabwrite square; #X obj 183 300 tabwrite squareroot; - #X obj 183 326 hid_log; #X obj 183 391 tabwrite cube; #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; --- 33,47 ---- #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; *************** *** 60,112 **** #X connect 6 0 3 1; #X connect 6 0 5 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 15 1; - #X connect 11 0 16 1; #X connect 11 0 9 1; ! #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 563 30 pd draw_arrays; - #X obj 650 316 hid_exp; - #X obj 411 317 hid_log; #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 209 398 hid_graph; #X obj 9 102 notescale; - #X obj 653 104 pow 3; - #X obj 406 100 pow 0.333333; - #X text 643 173 square; - #X text 646 82 cube; - #X text 401 175 square root; - #X text 397 78 cube root; - #X text 402 299 logarithmic; - #X obj 651 203 pow 2; - #X obj 410 194 pow 0.5; - #X obj 410 214 sqrt; #X obj 87 124 hid_centered; ! #X obj 406 123 hid_cuberoot; ! #X obj 653 130 hid_cube; ! #X obj 651 224 hid_square; ! #X obj 411 235 hid_squareroot; ! #X text 641 297 exponential; #X obj 9 213 buttongate; #X obj 88 213 keygate; ! #X text 341 423 - CURVE TEXT IDEAS; ! #X text 370 449 - amplitude is generally perceived on a logarithmic scale; #X obj 9 124 hid_invert; --- 52,91 ---- #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; *************** *** 119,123 **** #X text 1 83 SCALING AND RANGING; #X text 1 150 SMOOTHING; - #X obj 173 167 hid_lowpass; #X obj 85 102 autoscale; #X text 1 196 BASIC CONTROLS; --- 98,101 ---- *************** *** 126,134 **** #X obj 94 262 hid_one2three; #X text 379 30 CURVES; ! #X text 371 473 - pitch is perceived on logarithmic scale; ! #X text 371 496 - many sensors work best on other curves; #X text 1 286 POLAR COORDINATES; #X obj 9 303 hid_polar; ! #X obj 80 303 hid_spiral; #X obj 10 350 hid2rad; #X obj 130 350 hid2deg; --- 104,113 ---- #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 84 303 hid_degrees; #X obj 9 303 hid_polar; ! #X obj 174 303 hid_spiral; #X obj 10 350 hid2rad; #X obj 130 350 hid2deg; *************** *** 136,141 **** #X obj 190 350 deg2hid; #X text 1 330 ANGLE CONVERSIONS; ! #X text 474 386 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.; --- 115,134 ---- #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:;