balancing two or more signals- math problem

May 13, 2013 at 10:29pm

balancing two or more signals- math problem

Hi. I’m trying to make a utility for stereo Combined Panning. I managed to do that but I have some problems with the math. Unlike regular panning, when sending the signal to the left the right channel doesn’t vanish, It is sent to the left channel, and as a result, the channel would clip unless I process the sum of the channels in some way (halving its amplitude, for example).
But I can’t find the right math. for example, when not processed (left is sent to the left end and the right to the right) the gain is dropped compered to the source.
I’m looking for a way to sum signals with different amplitudes without the gain loss.
here’s what I have so far:
<code>

– Pasted Max Patch, click to expand. –

</code>

#249189
May 14, 2013 at 6:56am

/2 for 2 channels, /3 for 3.

there is no alternative to it, either the sources must be lowered, or the summ will be over 0db/A.

#249235
May 14, 2013 at 6:58am

where is the edit button when you need it.

#249238

You must be logged in to reply to this topic.