Re: [LAD] panning thoughts

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: <fons@...>
To: Eric Kampman <erickampman@...>
Cc: <linux-audio-dev@...>
Date: Friday, November 12, 2010 - 9:18 am

On Thu, Nov 11, 2010 at 08:22:08PM -0800, Eric Kampman wrote:

> I looked up "pan law" and understand that center should be

The ideal value depends on frequency, in theory -6 dB of LF
and -3 dB for HF, with a gradual transition at around 500 Hz
or so.

> I played around this for awhile and using the sum of the square of sin and cos etc I got an f(t) of

It is correct.

> Is this equal power version worth spending the processing cycles on?

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.

Ciao,

--
FA

There are three of them, and Alleline.

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] panning thoughts, Eric Kampman, (Fri Nov 12, 4:22 am)
Re: [LAD] panning thoughts, Jens M Andreasen, (Fri Nov 12, 9:41 am)
Re: [LAD] panning thoughts, , (Fri Nov 12, 7:00 pm)
Re: [LAD] panning thoughts, Ralf Mardorf, (Sat Nov 13, 3:22 am)
Re: [LAD] panning thoughts, , (Sat Nov 13, 10:43 am)
Re: [LAD] panning thoughts, Eric Kampman, (Fri Nov 12, 3:14 pm)
Re: [LAD] panning thoughts, gene heskett, (Fri Nov 12, 4:47 pm)
Re: [LAD] panning thoughts, Arnold Krille, (Fri Nov 12, 10:46 pm)
Re: [LAD] panning thoughts, Folderol, (Sat Nov 13, 9:07 am)
Re: [LAD] panning thoughts, Paul Davis, (Sat Nov 13, 1:09 pm)
Re: [LAD] panning thoughts, Folderol, (Sat Nov 13, 2:57 pm)
Re: [LAD] panning thoughts, , (Sat Nov 13, 3:26 pm)
Re: [LAD] panning thoughts, Ralf Mardorf, (Sat Nov 13, 5:51 pm)
Re: [LAD] panning thoughts, Arnold Krille, (Sat Nov 13, 6:30 pm)
Re: [LAD] panning thoughts, Ralf Mardorf, (Sun Nov 14, 5:15 am)
Re: [LAD] panning thoughts, Arnold Krille, (Sun Nov 14, 3:04 pm)
Re: [LAD] panning thoughts, Folderol, (Sun Nov 14, 3:39 pm)
Re: [LAD] panning thoughts, Jens M Andreasen, (Sun Nov 14, 6:17 pm)
Re: [LAD] panning thoughts, , (Sun Nov 14, 11:37 am)
Re: [LAD] panning thoughts, Rui Nuno Capela, (Sun Nov 14, 11:17 am)
Re: [LAD] panning thoughts, Ralf Mardorf, (Sun Nov 14, 1:00 pm)
Re: [LAD] panning thoughts, Paul Davis, (Sun Nov 14, 11:27 am)
Re: [LAD] panning thoughts, Rui Nuno Capela, (Sun Nov 14, 4:02 pm)
Re: [LAD] panning thoughts, , (Sat Nov 13, 10:54 am)
Re: [LAD] panning thoughts, Ralf Mardorf, (Sat Nov 13, 1:18 pm)
Re: [LAD] panning thoughts, Philipp Überbacher, (Sat Nov 13, 5:07 pm)
Re: [LAD] panning thoughts, , (Sat Nov 13, 8:18 pm)
Re: [LAD] panning thoughts, James Morris, (Sat Nov 13, 8:25 pm)
Re: [LAD] panning thoughts, Philipp Überbacher, (Sat Nov 13, 10:44 pm)
Re: [LAD] panning thoughts, , (Sun Nov 14, 12:01 am)
Re: [LAD] panning thoughts, Remon Sijrier, (Mon Nov 22, 1:15 pm)
Re: [LAD] panning thoughts, , (Mon Nov 22, 2:36 pm)
Re: [LAD] panning thoughts, Remon Sijrier, (Mon Nov 22, 7:06 pm)
Re: [LAD] panning thoughts, Fons Adriaensen, (Mon Nov 22, 9:00 pm)
Re: [LAD] panning thoughts, David Olofson, (Sat Nov 13, 5:24 pm)
Re: [LAD] panning thoughts, Philipp Überbacher, (Sat Nov 13, 5:53 pm)
Re: [LAD] panning thoughts, , (Sat Nov 13, 3:04 pm)
Re: [LAD] panning thoughts, Ralf Mardorf, (Sat Nov 13, 5:30 pm)
Re: [LAD] panning thoughts, , (Fri Nov 12, 9:18 am)
Re: [LAD] panning thoughts, Eric Kampman, (Fri Nov 12, 3:11 pm)
Re: [LAD] panning thoughts, Ralf Mardorf, (Fri Nov 12, 5:40 am)
Re: [LAD] panning thoughts, Eric Kampman, (Fri Nov 12, 3:08 pm)
Re: [LAD] panning thoughts, Rui Nuno Capela, (Fri Nov 12, 3:44 pm)
Re: [LAD] panning thoughts, Ralf Mardorf, (Fri Nov 12, 4:20 pm)
Re: [LAD] panning thoughts, Ralf Mardorf, (Fri Nov 12, 3:32 pm)