#N canvas 521 55 691 573 12;
#X obj 545 384 loadbang;
#X text 43 511 see also:;
#X obj 121 496 mtof;
#X text 432 531 updated for Pd version 0.33;
#X text 54 400 Boundary conditions are handled "reasonably". 100 db
is assigned an RMS of 1 \, and dbtorms~ and dbtopow~ output true zero
for 0 dB and less., f 64;
#X text 53 306 These objects convert MIDI pitch to frequency and back
\, and dB to and from RMS and power. They take audio signals as input
and output (and work sample by sample.) Since they call library math
functions \, they may be much more expensive than other workaday tilde
objects such as *~ and osc~ \, depending on your hardware and math
library., f 64;
#X obj 152 175 mtof~;
#X obj 152 238 snapshot~;
#X obj 60 238 snapshot~;
#X floatatom 60 112 6 0 0 0 - - - 0;
#X obj 60 175 ftom~;
#X obj 251 238 snapshot~;
#X obj 251 175 dbtorms~;
#X obj 60 143 sig~;
#X obj 152 143 sig~;
#X obj 251 143 sig~;
#X obj 456 238 snapshot~;
#X obj 353 238 snapshot~;
#X obj 555 238 snapshot~;
#X floatatom 555 266 9 0 0 0 - - - 0;
#X obj 353 141 sig~;
#X obj 456 141 sig~;
#X obj 555 141 sig~;
#X obj 353 175 rmstodb~;
#X obj 456 175 dbtopow~;
#X obj 555 175 powtodb~;
#X obj 565 211 r metro;
#X floatatom 152 266 9 0 0 0 - - - 0;
#X floatatom 60 266 9 0 0 0 - - - 0;
#X floatatom 251 266 9 0 0 0 - - - 0;
#X floatatom 456 266 9 0 0 0 - - - 0;
#X floatatom 353 266 9 0 0 0 - - - 0;
#X obj 466 211 r metro;
#X obj 362 211 r metro;
#X obj 261 211 r metro;
#X obj 162 211 r metro;
#X obj 71 211 r metro;
#X text 208 21 - acoustic conversions for audio signals, f 41;
#X obj 92 24 mtof~;
#X obj 47 24 ftom~;
#X obj 136 24 dbtorms~;
#X obj 47 49 rmstodb~;
#X obj 114 49 dbtopow~;
#X obj 178 49 powtodb~;
#X text 159 495 (etc.) - acoustic conversions for control data;
#X obj 545 413 metro 100;
#X obj 545 439 s metro;
#X msg 543 339 \; pd dsp \$1;
#X obj 543 313 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000
#000000 0 1;
#X floatatom 152 112 6 0 0 0 - - - 0;
#X floatatom 251 111 6 0 0 0 - - - 0;
#X floatatom 353 110 6 0 0 0 - - - 0;
#X floatatom 456 110 6 0 0 0 - - - 0;
#X floatatom 555 110 6 0 0 0 - - - 0;
#X obj 121 524 expr~;
#X text 561 312 DSP on/off;
#X connect 0 0 45 0;
#X connect 6 0 7 0;
#X connect 7 0 27 0;
#X connect 8 0 28 0;
#X connect 9 0 13 0;
#X connect 10 0 8 0;
#X connect 11 0 29 0;
#X connect 12 0 11 0;
#X connect 13 0 10 0;
#X connect 14 0 6 0;
#X connect 15 0 12 0;
#X connect 16 0 30 0;
#X connect 17 0 31 0;
#X connect 18 0 19 0;
#X connect 20 0 23 0;
#X connect 21 0 24 0;
#X connect 22 0 25 0;
#X connect 23 0 17 0;
#X connect 24 0 16 0;
#X connect 25 0 18 0;
#X connect 26 0 18 0;
#X connect 32 0 16 0;
#X connect 33 0 17 0;
#X connect 34 0 11 0;
#X connect 35 0 7 0;
#X connect 36 0 8 0;
#X connect 45 0 46 0;
#X connect 48 0 47 0;
#X connect 49 0 14 0;
#X connect 50 0 15 0;
#X connect 51 0 20 0;
#X connect 52 0 21 0;
#X connect 53 0 22 0;
