Update of /cvsroot/pure-data/externals/hcs/hid In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28247
Modified Files: TODO Added Files: hid_cube.pd hid_cuberoot.pd hid_exp.pd hid_graph.pd hid_log.pd hid_rel2abs.pd hid_smooth.pd hid_square.pd hid_squareroot.pd Log Message: first set of basic mapping objects for [hid]
--- NEW FILE: hid_graph.pd --- #N canvas 461 501 535 366 10; #X obj 193 9 inlet; #N canvas 0 22 458 308 graph5 0; #X array $0-hid_graph_array 100 float 2; #X coords 0 1 100 0 100 100 1; #X restore -35 30 graph; #X obj 193 285 outlet; #X obj 193 54 + 1; #X text 240 69 gives a range of 0-100; #X text 237 11 input range -1 to 1; #X text 244 286 output range 0 to 1; #X obj 193 170 tabread $0-hid_graph_array; #X text 43 176 [hid_graph]; #X obj 193 75 / 2; #X obj 193 107 * 100; #X connect 0 0 3 0; #X connect 3 0 9 0; #X connect 7 0 2 0; #X connect 9 0 10 0; #X connect 10 0 7 0; #X coords 0 0 1 1 120 120 1;
--- NEW FILE: hid_square.pd --- #N canvas 710 539 475 301 10; #X obj 72 63 inlet; #X obj 72 240 outlet; #X text 120 63 input range: -1 to 1; #X text 128 240 output range: 0 to 1; #X obj 72 149 t f f; #X obj 72 172 *; #X obj 72 104 + 1; #X obj 72 128 / 2; #X text 7 9 [hid_square]; #X connect 0 0 6 0; #X connect 4 0 5 0; #X connect 4 1 5 1; #X connect 5 0 1 0; #X connect 6 0 7 0; #X connect 7 0 4 0;
--- NEW FILE: hid_log.pd --- #N canvas 792 221 373 299 10; #X obj 84 32 inlet; #X obj 84 249 outlet; #X text 132 32 input range: -1 to 1; #X text 140 249 output range: 0 to 1; #X text 9 5 [hid_log]; #X obj 84 96 + 1; #X obj 84 115 / 2; #X obj 84 134 * 1.71828; #X obj 84 153 + 1; #X obj 84 193 log; #X text 92 172 the values are scaled from 1 to e; #X text 150 134 (e - 1); #X connect 0 0 5 0; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 7 0 8 0; #X connect 8 0 9 0; #X connect 9 0 1 0;
--- NEW FILE: hid_exp.pd --- #N canvas 710 539 483 309 10; #X obj 72 38 inlet; #X obj 86 263 outlet; #X text 120 38 input range: -1 to 1; #X text 142 263 output range: 0 to 1; #X text 7 9 [hid_exp]; #X obj 72 99 / 2; #X obj 86 178 pow; #X obj 72 140 t b f; #X msg 72 159 2; #X obj 72 80 + 1; #X obj 86 220 - 1; #X connect 0 0 9 0; #X connect 5 0 7 0; #X connect 6 0 10 0; #X connect 7 0 8 0; #X connect 7 1 6 1; #X connect 8 0 6 0; #X connect 9 0 5 0; #X connect 10 0 1 0;
--- NEW FILE: hid_cuberoot.pd --- #N canvas 860 465 432 349 10; #X obj 72 63 inlet; #X obj 72 240 outlet; #X text 120 63 input range: -1 to 1; #X text 128 240 output range: 0 to 1; #X text 41 18 [hid_sqrt]; #X obj 73 117 + 1; #X obj 73 140 / 2; #X obj 73 162 pow 0.333333; #X connect 0 0 5 0; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 7 0 1 0;
--- NEW FILE: hid_smooth.pd --- #N canvas 721 425 454 304 10; #X obj 67 31 inlet; #X obj 67 256 outlet; #X obj 122 78 loadbang; #X msg 96 113 weight; #X obj 67 149 average $1; #X msg 150 113 10; #X connect 0 0 4 0; #X connect 2 0 5 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 1 0; #X connect 5 0 4 1;
Index: TODO =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/hid/TODO,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TODO 16 Nov 2004 01:35:35 -0000 1.7 --- TODO 20 Nov 2004 03:52:54 -0000 1.8 *************** *** 120,123 **** --- 120,125 ---- - exponential
+ - [noterange] scale an input range to an output range of MIDI note #s + ______________________________________________________________________________ ------------------------------------------------------------------------------
--- NEW FILE: hid_cube.pd --- #N canvas 710 539 475 301 10; #X obj 72 63 inlet; #X obj 72 240 outlet; #X text 120 63 input range: -1 to 1; #X text 128 240 output range: 0 to 1; #X obj 72 104 + 1; #X obj 72 128 / 2; #X obj 72 166 pow 3; #X text 7 9 [hid_cube]; #X connect 0 0 4 0; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 6 0 1 0;
--- NEW FILE: hid_squareroot.pd --- #N canvas 860 465 424 341 10; #X obj 72 63 inlet; #X obj 72 240 outlet; #X text 120 63 input range: -1 to 1; #X text 128 240 output range: 0 to 1; #X text 41 18 [hid_sqrt]; #X obj 73 117 + 1; #X obj 73 140 / 2; #X obj 73 162 sqrt; #X connect 0 0 5 0; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 7 0 1 0;
--- NEW FILE: hid_rel2abs.pd --- #N canvas 0 22 458 308 10; #X obj 137 20 inlet; #X obj 222 267 outlet; #X floatatom 221 81 5 0 0 0 - - -; #X obj 137 81 route reset; #X obj 221 174 +; #X obj 251 174 f; #X msg 137 126 0; #X connect 0 0 3 0; #X connect 3 0 6 0; #X connect 3 1 2 0; #X connect 3 1 4 0; #X connect 4 0 5 0; #X connect 4 0 1 0; #X connect 5 0 4 1; #X connect 6 0 4 1; #X connect 6 0 5 1;