[LAD] panning thoughts

fons at kokkinizita.net fons at kokkinizita.net
Fri Nov 12 19:00:11 UTC 2010


On Fri, Nov 12, 2010 at 10:40:33AM +0100, Jens M Andreasen wrote:

> float l = sqrtf(1.0f - p)
> float r = sqrtf(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
in gnuplot:

 plot [0:1] sqrt(x), sin(x * pi / 2), x * (2.2 - x) / 1.2

Ciao,

-- 
FA

There are three of them, and Alleline.




More information about the Linux-audio-dev mailing list