Am 11.03.2013 08:55, schrieb Tim E. Real:
> Hey.
> I'm working in the audio mixing engine again.
> 
> I'm finally adding sample-accurate track controllers
>  such as volume and pan. The code also demonstrates the place 
>  to inject sample-accurate faders and cross-faders when we 
>  get around to adding them.
> 
> I've noticed that we do possibly incorrect things with the pan control.
> 
> Our pan knob goes from -1.0 to 1.0.
> The pan formula we use is:
> 
>   vol_L = _volume * (1.0 - _pan);
>   vol_R = _volume * (1.0 + _pan);

from analouge devices, i'm used to this:

if PAN is set to "middle", both speakers are at 0dB
if PAN is turned toward the right speaker, then the left speaker gets
quieter, but the right speaker stays at the same volume.

i.e., when at center, you need more power to drive the boxes than when
at left/right.

greetings,
flo

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to