Revision: 10096 http://pure-data.svn.sourceforge.net/pure-data/?rev=10096&view=rev Author: eighthave Date: 2008-06-25 10:35:37 -0700 (Wed, 25 Jun 2008)
Log Message: ----------- fixed problem that causes these objects to output 'nan' if a number greater than 1 was received
Modified Paths: -------------- branches/pd-extended/v0-40/externals/mapping/exponential_seat.pd branches/pd-extended/v0-40/externals/mapping/exponential_sigmoid.pd
Modified: branches/pd-extended/v0-40/externals/mapping/exponential_seat.pd =================================================================== --- branches/pd-extended/v0-40/externals/mapping/exponential_seat.pd 2008-06-25 17:28:50 UTC (rev 10095) +++ branches/pd-extended/v0-40/externals/mapping/exponential_seat.pd 2008-06-25 17:35:37 UTC (rev 10096) @@ -1,18 +1,23 @@ -#N canvas 405 334 496 458 10; +#N canvas 86 151 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 obj 246 245 expr 1 - pow(2*(1-$f1) , 1-$f2) / 2; +#X obj 38 245 expr pow(2 * $f1 , 1 - $f2) / 2; +#X obj 246 195 moses 1; +#X msg 285 217 1; #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 5 1 8 0; #X connect 6 0 1 0; #X connect 7 0 1 0; +#X connect 8 0 6 0; +#X connect 8 1 9 0; +#X connect 9 0 6 0;
Modified: branches/pd-extended/v0-40/externals/mapping/exponential_sigmoid.pd =================================================================== --- branches/pd-extended/v0-40/externals/mapping/exponential_sigmoid.pd 2008-06-25 17:28:50 UTC (rev 10095) +++ branches/pd-extended/v0-40/externals/mapping/exponential_sigmoid.pd 2008-06-25 17:35:37 UTC (rev 10096) @@ -1,22 +1,24 @@ -#N canvas 277 167 454 439 10; +#N canvas 131 106 433 390 10; #X obj 62 10 inlet; -#X obj 195 405 outlet; +#X obj 95 355 outlet; #X obj 240 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument $1; #X obj 62 84 moses 0.5; -#X obj 14 208 expr pow(2*$f1 , 1/$f2)/2; -#X obj 200 206 expr 1 - (pow(2*(1-$f1) , 1/$f2)/2); +#X obj 14 248 expr pow(2*$f1 , 1/$f2)/2; +#X obj 200 246 expr 1 - (pow(2*(1-$f1) , 1/$f2)/2); #X obj 167 97 bang; #X obj 167 77 moses 1e-06; #X msg 167 118 1e-06; #X text 272 98 constrain to >0; +#X obj 200 195 moses 1; +#X msg 239 217 1; #X connect 0 0 5 0; #X connect 2 0 4 0; #X connect 3 0 4 0; #X connect 4 0 9 0; #X connect 5 0 6 0; -#X connect 5 1 7 0; +#X connect 5 1 12 0; #X connect 6 0 1 0; #X connect 7 0 1 0; #X connect 8 0 10 0; @@ -25,3 +27,6 @@ #X connect 9 1 6 1; #X connect 10 0 6 1; #X connect 10 0 7 1; +#X connect 12 0 7 0; +#X connect 12 1 13 0; +#X connect 13 0 7 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.