[LAD] panning thoughts
Ralf Mardorf
ralf.mardorf at alice-dsl.net
Sat Nov 13 03:22:03 UTC 2010
On Fri, 2010-11-12 at 20:00 +0100, fons at kokkinizita.net wrote:
> 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,
>
Just a question of somebody who is inexperienced:
Is the sqrt(x) for the ratio? E.g. like the ratio for lens opening is
1.41?
Cheers!
Ralf
More information about the Linux-audio-dev
mailing list