[LAD] panning thoughts

Ralf Mardorf ralf.mardorf at alice-dsl.net
Fri Nov 12 15:32:28 UTC 2010


On Fri, 2010-11-12 at 07:08 -0800, Eric Kampman wrote:
> Thanks. I don't understand the square root though. The equation is
> even more expensive processor-wise than the straight cos.
> 
> 
> Granted, you're quoting someone else, but maybe someone out there
> knows.

Yes, I don't have the knowledge myself, but for Qtractor this does a
good job. Don't trust my shot in the dark: Alternating voltage is
switching between 0 and it's max., hence it's higher, but the nominal
voltage by the factor of 1.41, perhaps it has to do with this issue.

> 
> On Nov 11, 2010, at 9:40 PM, Ralf Mardorf wrote:
> > 
> > In January Rui at Qtractor devel-list wrote:
> > 
> > stereo panning in qtractor follows an "approximated equal-power"
> > trigonometric formula: L = SQRT2 * cos(pan * PI/2); R = SQRT2 *
> > sin(pan
> > * PI/2), where pan value ranges from 0 (full-left) to 1
> > (full-right).







More information about the Linux-audio-dev mailing list