aboutsummaryrefslogtreecommitdiff
path: root/abs/mtx_phon_curve.pd
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mtx_phon_curve.pd')
-rw-r--r--abs/mtx_phon_curve.pd92
1 files changed, 92 insertions, 0 deletions
diff --git a/abs/mtx_phon_curve.pd b/abs/mtx_phon_curve.pd
new file mode 100644
index 0000000..72a66b8
--- /dev/null
+++ b/abs/mtx_phon_curve.pd
@@ -0,0 +1,92 @@
+#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;
+#X connect 3 0 17 1;
+#X connect 5 0 7 0;
+#X connect 6 0 14 0;
+#X connect 7 0 19 0;
+#X connect 8 0 9 0;
+#X connect 9 0 1 0;
+#X connect 10 0 11 0;
+#X connect 11 0 3 1;
+#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;