Q is a free parameter in this quadratic variant. For q=0, this is the
linear identity as before, and for q=255 this has a gradient of 0 at
255. All q=0..255 should work, and theres always 0->0 and 255->255.
Of course, if anyone knows what kind of non-linearity is behind the
volume control, this would be even better.