[LAD] panning thoughts
Eric Kampman
erickampman at me.com
Fri Nov 12 15:11:29 UTC 2010
On Nov 12, 2010, at 1:18 AM, fons at kokkinizita.net wrote:
>
> If you are concerned about the CPU use, consider this:
>
> panning value x = [-1..+1]
>
> L_gain = (1 - x) * (0.7 + 0.2 * x)
> R_gain = (1 + x) * (0.7 - 0.2 * x)
>
> which will be -3.1 dB at the center. You can modify this
> modyfying the 0.7 and 0.2 constants, for example
>
> L_gain = (1 - x) * (0.65 + 0.15 * x)
> R_gain = (1 + x) * (0.65 - 0.15 * x)
>
> will produce -3.75 dB, and
>
> L_gain = (1 - x) * (0.6 + 0.1 * x)
> R_gain = (1 + x) * (0.6 - 0.1 * x)
>
> will produce -4.4 dB, etc.
Thanks! I thought a bit about quadratics but didn't pursue it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20101112/d87ef1c0/attachment.html>
More information about the Linux-audio-dev
mailing list