From d461c34b8f39b7aaba32aa92a60bf24cd4ce5ca6 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 24 May 2005 00:39:57 +0000 Subject: got [hid_graph] fully functional; added helpfiles for all curve objects svn path=/trunk/; revision=3075 --- doc/pddp/all_about_hid_mapping.pd | 115 ++++++++++++++++++-------------------- 1 file changed, 54 insertions(+), 61 deletions(-) (limited to 'doc/pddp/all_about_hid_mapping.pd') diff --git a/doc/pddp/all_about_hid_mapping.pd b/doc/pddp/all_about_hid_mapping.pd index ed5d2fdc..b23b7135 100644 --- a/doc/pddp/all_about_hid_mapping.pd +++ b/doc/pddp/all_about_hid_mapping.pd @@ -1,31 +1,23 @@ -#N canvas 304 56 900 582 10; +#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 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; +#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 61 graph; +#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 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; +#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 516 165 graph; +#X restore 486 269 graph; #X obj 179 124 hid_rel2abs; #X obj 9 167 hid_smooth; -#N canvas 27 65 573 553 draw_arrays 0; +#N canvas 27 65 637 617 draw_arrays 0; #X msg 77 62 bang; #X obj 77 83 until; #X text 108 62 start; @@ -40,17 +32,17 @@ #X obj 443 267 r array_index; #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 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; @@ -59,83 +51,84 @@ #X connect 5 0 1 1; #X connect 6 0 3 1; #X connect 6 0 5 0; -#X connect 8 0 19 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 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 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 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 731 386 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 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 341 423 - CURVE TEXT IDEAS; -#X text 370 449 - amplitude is generally perceived on a logarithmic +#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 ; #X text 239 544 released under the GNU GPL; -#X text 445 531 $Revision: 1.7 $$Date: 2005-04-27 20:22:20 $; +#X text 445 531 $Revision: 1.8 $$Date: 2005-05-24 00:39:57 $; #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 173 167 hid_lowpass; #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 371 473 - pitch is perceived on logarithmic scale; -#X text 371 496 - many sensors work best on other 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 80 303 hid_spiral; +#X obj 174 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 474 386 Objects that start with "hid_" accept input data in +#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:; -- cgit v1.2.1