Re: [LAD] panning thoughts

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

On Thu, 2010-11-11 at 20:22 -0800, Eric Kampman wrote:

I think you misspelled one sin(), no?

let float p be the panning position such that:
Left == 0.0, Center == 0.5, Right == 1.0

.. then:

float l = sqrtf(1.0f - p)
float r = sqrtf(p)

> Thoughts?

For LFO and envelope, I would calculate ay most every 16th value and
interpolate inbetween.

There is support in SSE for sqrt:
http://web.nmsu.edu/~usa/nmcac/apps/intel/vtune/doc/users_guide/mergedPr...

It is a complex mul you really want - where L+R is the real and L-R is
the imaginary. You can have the sin/cos pair very cheaply by using an
LFO that works by rotating iself by some complex constant.

--
jedes mal wenn du eine quintparallele verwendest
tötet bach ein kätzchen.

http://www.youtube.com/watch?v=43RdmmNaGfQ

_______________________________________________
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)