On Fri, Nov 12, 2010 at 10:40:33AM +0100, Jens M Andreasen wrote:
> float l = sqrtf(1.0f - p)
Constant power, but the mapping from angles to L/R ratios is
not very good (the regions near full L or R are compressed).
A simple second degree approximation works better. Try this
plot [0:1] sqrt(x), sin(x * pi / 2), x * (2.2 - x) / 1.2
There are three of them, and Alleline.
Linux-audio-dev mailing list