3 declare author "Grame";
5 declare copyright "(c)GRAME 2006";
7 //-----------------------------------------------
8 // Volume control in dB
9 //-----------------------------------------------
13 smooth(c) = *(1-c) : +~*(c);
14 gain = vslider("[1]", 0, -70, +4, 0.1) : db2linear : smooth(0.999);