This is the way I think knobs and faders should respond in audio software when it comes to mapping / scaling of the values over the range of the input control. These are just example implementations. There's no sound. Use your browser's View Source to see the code.
The slider value ? becomes ? Hz.
hz = exp(slider_value * (log(20000) - log(20)) + log(20))
The slider value ? becomes ? volume level.
amplitude = slider_value^3 * 3.162278
The slider value ? becomes ?.
milliseconds = exp(slider_value * (log(2) - log(0.0001)) + log(0.0001))