Update of /cvsroot/pure-data/externals/iem/iemmatrix/abs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19921
Modified Files: mtx_phon_curve.pd mtx_phon_curve-help.pd Log Message: documentation added, error corrected: wrong dB-conversion, 100phon dialled wasn't 100phon in the plot
Index: mtx_phon_curve.pd =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/abs/mtx_phon_curve.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_phon_curve.pd 19 Dec 2006 10:16:47 -0000 1.1 --- mtx_phon_curve.pd 9 Feb 2007 20:05:05 -0000 1.2 *************** *** 1,51 **** ! #N canvas 832 0 743 796 10; #X obj 78 35 inlet; ! #X obj 237 345 mtx_exp; ! #X obj 237 281 mtx_- 3.3; ! #X obj 141 471 mtx_+; ! #X obj 53 676 outlet; ! #X obj 139 275 mtx_.^ -0.8; ! #X obj 319 281 mtx_.^ 4; ! #X obj 139 417 mtx_* 3.64; ! #X obj 237 301 mtx_.^ 2; ! #X obj 237 321 mtx_* -0.6; ! #X obj 237 418 mtx_* -6.5; ! #X obj 193 451 mtx_+; #X text 94 53 freq; #X obj 78 104 mtx_* 0.001; ! #X obj 319 311 mtx_* 0.001; #X text 246 30 calculates the threshold of hearing for an arbitrary frequency vector/matrix; #X obj 79 133 t a a a a; ! #X obj 53 503 mtx_+; #X obj 53 477 mtx_* 0; ! #X obj 139 450 mtx_* 1; ! #X obj 158 350 / 100; #X obj 182 37 inlet; #X text 189 59 phon; ! #X obj 158 370 expr 1-$f1; ! #X floatatom 463 234 5 0 0 0 - - -; ! #X floatatom 493 300 5 0 0 0 - - -; ! #X obj 419 267 expr $f3*exp($f1*log(1000/$f2)); ! #X floatatom 525 241 5 0 0 0 - - -; ! #X floatatom 619 245 5 0 0 0 - - -; ! #X msg 470 208 -0.8; ! #X msg 459 186 -0.9; ! #X obj 56 275 mtx_.^ -0.9; #X obj 53 418 mtx_* 1.183; ! #X text 509 200 fitting; ! #X obj 263 68 loadbang; ! #X obj 197 81 $1; #X obj 78 76 mtx_max2 0.1; ! #X text 185 108 3.64*f^(-.8) - 6.5* exp(-.6*(f-3.3)^2)+10^(-3)*f^4 ; ! #X obj 53 525 mtx_* 0.1; ! #X obj 53 653 mtx_.^; ! #X obj 53 547 t a a; ! #X obj 53 568 mtx_size; ! #X obj 53 608 mtx_ones; ! #X obj 53 589 pack; ! #X obj 53 630 mtx_* 10; ! #X connect 0 0 36 0; #X connect 1 0 10 0; #X connect 2 0 8 0; --- 1,56 ---- ! #N canvas 537 0 743 796 10; #X obj 78 35 inlet; ! #X obj 422 345 mtx_exp; ! #X obj 422 281 mtx_- 3.3; ! #X obj 211 491 mtx_+; ! #X obj 53 697 outlet; ! #X obj 296 284 mtx_.^ -0.8; ! #X obj 504 281 mtx_.^ 4; ! #X obj 296 426 mtx_* 3.64; ! #X obj 422 301 mtx_.^ 2; ! #X obj 422 321 mtx_* -0.6; ! #X obj 422 418 mtx_* -6.5; ! #X obj 422 445 mtx_+; #X text 94 53 freq; #X obj 78 104 mtx_* 0.001; ! #X obj 504 311 mtx_* 0.001; #X text 246 30 calculates the threshold of hearing for an arbitrary frequency vector/matrix; #X obj 79 133 t a a a a; ! #X obj 53 524 mtx_+; #X obj 53 477 mtx_* 0; ! #X obj 211 468 mtx_* 1; ! #X obj 182 346 / 100; #X obj 182 37 inlet; #X text 189 59 phon; ! #X obj 182 366 expr 1-$f1; ! #X obj 53 290 mtx_.^ -0.9; #X obj 53 418 mtx_* 1.183; ! #X obj 232 63 loadbang; ! #X obj 182 90 $1; #X obj 78 76 mtx_max2 0.1; ! #X text 313 151 3.64*f^(-.8) - 6.5* exp(-.6*(f-3.3)^2)+10^(-3)*f^4 ; ! #X obj 53 546 mtx_* 0.1; ! #X obj 53 674 mtx_.^; ! #X obj 53 568 t a a; ! #X obj 53 589 mtx_size; ! #X obj 53 629 mtx_ones; ! #X obj 53 610 pack; ! #X obj 53 651 mtx_* 10; ! #X text 312 175 0 phon curve; ! #X text 312 193 absolute threshold of hearing; ! #X text 153 321 fade between; ! #X text 558 252 high freq. skirt; ! #X text 404 253 ear channel dip; ! #X text 313 125 3 right paths:; ! #X text 126 570 10^(x/10); ! #X text 277 250 low freq. skirt; ! #X text 307 266 0 phon; ! #X text 32 249 low freq. skirt; ! #X text 62 265 100 phon; ! #X text 31 227 left path: lower 100 phon skirt; ! #X text 362 567 Franz Zoter , 2007; ! #X connect 0 0 28 0; #X connect 1 0 10 0; #X connect 2 0 8 0; *************** *** 60,92 **** #X connect 13 0 16 0; #X connect 14 0 11 1; ! #X connect 16 0 31 0; #X connect 16 1 5 0; #X connect 16 2 2 0; #X connect 16 3 6 0; ! #X connect 17 0 38 0; #X connect 18 0 17 0; #X connect 19 0 3 0; #X connect 20 0 18 1; #X connect 20 0 23 0; ! #X connect 21 0 35 0; #X connect 23 0 19 1; ! #X connect 24 0 26 0; ! #X connect 26 0 25 0; ! #X connect 27 0 26 1; ! #X connect 28 0 26 2; ! #X connect 29 0 24 0; ! #X connect 30 0 24 0; ! #X connect 31 0 32 0; ! #X connect 32 0 18 0; ! #X connect 34 0 35 0; ! #X connect 35 0 20 0; ! #X connect 36 0 13 0; ! #X connect 38 0 40 0; ! #X connect 39 0 4 0; ! #X connect 40 0 41 0; ! #X connect 40 1 39 1; ! #X connect 41 0 43 0; ! #X connect 41 1 43 1; ! #X connect 42 0 44 0; ! #X connect 43 0 42 0; ! #X connect 44 0 39 0; --- 65,91 ---- #X connect 13 0 16 0; #X connect 14 0 11 1; ! #X connect 16 0 24 0; #X connect 16 1 5 0; #X connect 16 2 2 0; #X connect 16 3 6 0; ! #X connect 17 0 30 0; #X connect 18 0 17 0; #X connect 19 0 3 0; #X connect 20 0 18 1; #X connect 20 0 23 0; ! #X connect 21 0 27 0; #X connect 23 0 19 1; ! #X connect 24 0 25 0; ! #X connect 25 0 18 0; ! #X connect 26 0 27 0; ! #X connect 27 0 20 0; ! #X connect 28 0 13 0; ! #X connect 30 0 32 0; ! #X connect 31 0 4 0; ! #X connect 32 0 33 0; ! #X connect 32 1 31 1; ! #X connect 33 0 35 0; ! #X connect 33 1 35 1; ! #X connect 34 0 36 0; ! #X connect 35 0 34 0; ! #X connect 36 0 31 0;
Index: mtx_phon_curve-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/abs/mtx_phon_curve-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_phon_curve-help.pd 19 Dec 2006 10:16:47 -0000 1.1 --- mtx_phon_curve-help.pd 9 Feb 2007 20:05:05 -0000 1.2 *************** *** 1,10 **** ! #N canvas 276 123 849 390 10; ! #X obj 247 206 mtx_* 0.5; #N canvas 0 0 450 300 (subpatch) 0; #X array phon_curve 31 float 1; ! #A 0 83.0956 69.3994 57.9927 48.4958 40.591 34.0127 28.5391 23.985 ! 20.1961 17.0438 14.4208 12.2374 10.4185 8.90086 7.62984 6.55604 5.62926 ! 4.78645 3.92454 2.8461 1.20451 -1.26109 -3.41784 -1.95161 2.02311 3.88731 ! 6.19619 12.1587 27.3273 65.5882 161.827; #X coords 0 120 30 0 200 140 1; #X restore 36 187 graph; --- 1,9 ---- ! #N canvas 263 0 849 390 10; #N canvas 0 0 450 300 (subpatch) 0; #X array phon_curve 31 float 1; ! #A 0 84.0263 70.2655 58.8035 49.2594 41.3145 34.7019 29.1992 24.6203 ! 20.8105 17.6404 15.0023 12.8061 10.9765 9.44971 8.17099 7.09068 6.15842 ! 5.31097 4.44516 3.36343 1.71908 -0.748856 -2.90756 -1.44298 2.53035 ! 4.39339 6.70128 12.6629 27.8308 66.0912 162.329; #X coords 0 120 30 0 200 140 1; #X restore 36 187 graph; *************** *** 28,32 **** #X restore 247 230 pd mtx2tablemsg; #X obj 356 210 loadbang; - #X obj 247 165 mtx_rmstodb; #X obj 247 125 mtx_logspace; #X text 30 331 20; --- 27,30 ---- *************** *** 54,69 **** #X text 44 32 [mtx_phon_curve]; #X obj 247 145 mtx_phon_curve 0; ! #X connect 0 0 2 0; ! #X connect 2 0 19 0; ! #X connect 3 0 13 0; ! #X connect 4 0 17 0; ! #X connect 5 0 26 0; ! #X connect 9 0 5 0; ! #X connect 13 0 19 0; ! #X connect 14 0 15 0; ! #X connect 15 0 9 0; ! #X connect 15 1 26 1; ! #X connect 15 2 16 0; ! #X connect 16 0 17 1; ! #X connect 17 0 0 0; ! #X connect 26 0 4 0; --- 52,67 ---- #X text 44 32 [mtx_phon_curve]; #X obj 247 145 mtx_phon_curve 0; ! #X obj 247 165 mtx_powtodb; ! #X connect 1 0 17 0; ! #X connect 2 0 11 0; ! #X connect 3 0 24 0; ! #X connect 7 0 3 0; ! #X connect 11 0 17 0; ! #X connect 12 0 13 0; ! #X connect 13 0 7 0; ! #X connect 13 1 24 1; ! #X connect 13 2 14 0; ! #X connect 14 0 15 1; ! #X connect 15 0 1 0; ! #X connect 24 0 25 0; ! #X connect 25 0 15 0;