[linux-audio-dev] Mixing signals

Alfons Adriaensen fons.adriaensen at alcatel.be
Mon May 23 10:27:03 UTC 2005


On Mon, May 23, 2005 at 12:18:58PM +0200, Viceic Predrag wrote:

> Well, you're right. But if you want to finish with signal thats limited to 
> [-1:1] you got to have some normalization somewhere..Or I'm totaly wrong?

Since everything in LADSPA (and I assume in your app) is floats, there is
nor reason for the [-1:1] limits, except when you go to the sound card.
Your app will probably have a volume control at that point.

Otherwise, 0.5 * (L + R) will be limited to [-1:1] if both inputs are.

-- 
FA



More information about the Linux-audio-dev mailing list