Update of /cvsroot/pure-data/externals/mapping In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32082
Added Files: double_linear.pd exponential_seat.pd Log Message: a complete single parameter curve (exponential_seat) and a complete double parameter curve (double_linear)
--- NEW FILE: exponential_seat.pd --- #N canvas 405 334 496 458 10; #X obj 62 10 inlet; #X obj 106 405 outlet; #X obj 240 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument $1; #X obj 62 114 moses 0.5; #X obj 246 205 expr 1 - pow(2*(1-$f1) , 1-$f2) / 2; #X obj 38 205 expr pow(2 * $f1 , 1 - $f2) / 2; #X connect 0 0 5 0; #X connect 2 0 4 0; #X connect 3 0 4 0; #X connect 4 0 6 1; #X connect 4 0 7 1; #X connect 5 0 7 0; #X connect 5 1 6 0; #X connect 6 0 1 0; #X connect 7 0 1 0;
--- NEW FILE: double_linear.pd --- #N canvas 405 334 488 450 10; #X obj 62 10 inlet; #X obj 327 9 inlet; #X obj 106 405 outlet; #X obj 240 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument $1; #X obj 327 50 purepd/float_argument $2; #X obj 74 113 moses; #X obj 114 220 moses 1; #X obj 114 241 + 1e-06; #X text 164 227 prevent divide by 0; #X obj 232 279 expr $f3 + ((1-$f3)/(1-$f2))*($f1-$f2); #X obj 61 280 expr ($f3/$f2) * $f1; #X connect 0 0 7 0; #X connect 1 0 6 0; #X connect 3 0 5 0; #X connect 3 0 6 0; #X connect 4 0 5 0; #X connect 5 0 7 1; #X connect 5 0 8 0; #X connect 5 0 11 1; #X connect 6 0 11 2; #X connect 6 0 12 2; #X connect 7 0 12 0; #X connect 7 1 11 0; #X connect 8 0 9 0; #X connect 9 0 12 1; #X connect 11 0 2 0; #X connect 12 0 2 0;