I know that I can replicate the exponential scaling of [gain~] with [scale 0 157 0. 7.942307 1.071519]. My question is, what exponential value would I use to reverse that process? In other words [scale 0. 7.942307 0 157 ???]. Thanks.
With the default parameter, there's 6 dB for 10 increments. So it's easy to find the value in db. It's more or less the same patch as Luke, but you might get easier the 6db per 10 ints by not including the dbtoa conversion in the expr.