Re: [linux-audio-dev] Mixing signals

From: Alfons Adriaensen <fons.adriaensen@email-addr-hidden>
Date: Mon May 23 2005 - 13:27:03 EEST

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
Received on Mon May 23 16:15:18 2005

This archive was generated by hypermail 2.1.8 : Mon May 23 2005 - 16:15:19 EEST