Earlier quoted context omitted.
dB for sound in particular aligns with human experience. The (10 -) 1-10 on a volume knob typically aligns with a logarithmic scale because we hear differences in loudness at an order of magnitude. A linear volume knob would be frustratingly useless as you would have to crank it many many many times the higher up you want to go. Presumably hundreds of times. A traditional pot couldn’t do that of course but maybe you…
Ever have a cheap set of external speakers that got super loud in the first quarter turn of the volume knob but were pretty much the same loudness after that? Yeah, linear pot for the volume knob. No need for an encoder and software, though, logarithmic pots are readily available for precisely this reason. :)
Pots do log and lin scales but they only have a limited angular range.