NOTE: A linear gain factor, denoted G,
corresponds to the
logarithmic
gain specified in dB, denoted GdB,
according to
the formula: G dB = 20 log10 G.
The logarithmic gain is most commonly used in audio
since the
human hearing response is logarithmic (in terms of perceived
amplitude differences).
Algorithm
Signals are amplified (by muliplication by the
appropriate linear gain factors), summed, and routed, using
floating-point arithmetic throughout.
Signal Implementations
| Audio signals | Control signals | Description |
| Single input single output mono-mono | n/a |
Mono output obtained from the single mono input multiplied by the single gain (no mixing, just amplification) |
| Single input single output mono-stereo | n/a |
Stereo output obtained from the single mono input multiplied by two separate gains (no mixing, just amplification and routing) |
| Single input single output stereo-mono | n/a |
Mono output obtained by summing the channels
of the single stereo input
after multiplying each by a separate gain
|
| Single input single output stereo-stereo | n/a |
Stereo output obtained from the
single stereo input multiplied by a separate gain for each channel (no mixing, just amplification and routing)
|
| Double input single output mono-mono | n/a |
Mono output obtained by
summing the
double mono inputs,
after multiplying each by a separate gain
|
| Double input single output mono-stereo | n/a |
Stereo output obtained by
multiplying the double mono inputs by a separate gain,
then routing them
to the left and right output channels, respectively
(no mixing, just amplification and routing)
|
| Double input single output stereo-mono | n/a |
Mono output obtained by summing
all four channels corresponding to the double stereo inputs,
after multiplying each by a separate gain.
| Double input single output stereo-stereo | n/a |
Left channel output obtained by
summing the left channels of the double inputs,
after multiplying each by a separate gain.
Right channel output obtained by
summing the right channels of the double inputs,
after multiplying each by a separate gain.
| |