#N canvas 377 515 464 175 10;
#X obj 14 11 inlet~;
#X obj 13 121 outlet~;
#X obj 221 43 \$1;
#X obj 430 43 \$2;
#X obj 221 16 loadbang;
#X obj 13 68 expr~ if($v1==0 \, 0 \, exp((($f2)+($f3-($f2))*$v1)/20*log(10)))
;
#X text 112 98 formula from https://www.reddit.com/r/programming/comments/9n2y0/stop_making_linear_volume_controls/c0dgsjj/
, f 45;
#X connect 0 0 5 0;
#X connect 2 0 5 1;
#X connect 3 0 5 2;
#X connect 4 0 2 0;
#X connect 4 0 3 0;
#X connect 5 0 1 0;
