#N canvas 435 26 564 682 10;
#X obj 5 505 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 5 580 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 5 620 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 134 592 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 135 513 cnv 17 3 60 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 152 630 (none);
#X obj 5 654 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X text 281 146 Linear Amplitude;
#X obj 92 172 nbx 5 14 1e-05 1 1 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 95 146 hsl 180 15 1e-05 1 0 0 empty empty empty -2 -8 0 10 #dcdcdc #000000 #000000 0 1;
#X obj 190 173 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X text 209 173 last output;
#X msg 206 202 set 0.5;
#X text 264 203 sets next value to be converted via bang;
#X obj 191 291 vu 15 120 empty empty -1 -8 0 10 #404040 #000000 1 0;
#X text 163 533 bang;
#X text 169 551 set;
#X text 208 533 - outputs the last converted float value;
#X floatatom 190 260 8 0 0 0 - - - 0;
#X msg 158 172 0;
#X obj 190 233 cyclone/atodb;
#X text 208 514 - linear amplitude value(s);
#X text 204 592 - converted dBFS amplitude value(s);
#X text 208 551 - sets the float value to be converted via bang;
#X obj 313 337 cyclone/atodb;
#X obj 313 304 cyclone/loadmess 0.5 1 2;
#X listbox 313 369 20 0 0 0 - - - 0;
#X text 164 514 list;
#X text 163 592 list;
#X obj 2 2 header atodb;
#X text 24 58 Convert linear amplitude to dBFS;
#X text 80 85 Use [atodb] to convert a linear amplitude values to a deciBel Full Scale (dBFS) equivalents. Negative values convert to -inf as if the input is "0". Conversion expression: dbFS = log10(amp) * 20, f 70;
#X obj 92 304 rmstodb;
#X obj 92 325 - 100;
#X floatatom 92 346 11 0 0 0 - - - 0;
#X text 90 369 The above is a Vanilla alternative, f 12;
#X text 200 453 Plugdata users or those with ELSE can also use [else/lin2db] as an alternative, f 40;
#X text 22 462 see also:;
#X floatatom 92 276 11 0 0 0 - - - 0;
#X obj 94 449 cyclone/atodb~;
#X obj 95 472 cyclone/dbtoa;
#X msg 463 448 lin2db;
#X text 461 428 click:;
#X obj 463 469 open-else;
#X connect 8 0 20 0;
#X connect 8 0 38 0;
#X connect 9 0 8 0;
#X connect 10 0 20 0;
#X connect 12 0 20 0;
#X connect 18 0 14 0;
#X connect 19 0 20 0;
#X connect 20 0 18 0;
#X connect 24 0 26 0;
#X connect 25 0 24 0;
#X connect 32 0 33 0;
#X connect 33 0 34 0;
#X connect 38 0 32 0;
#X connect 41 0 43 0;
