Apply Make-up Gain

2 views (last 30 days)
Khaled Abdellatif
Khaled Abdellatif on 2 Sep 2019
Answered: jibrahim on 4 Sep 2019
Hi all,
is it right that I can use the Apply Make-up Gain in the dynamic range compressor to add any specific gain to my signal?
I kind of see the opposite so when I set it to 10dB, then the output signal gain decreases by 10dBFS?

Answers (1)

jibrahim
jibrahim on 4 Sep 2019
Hi Khaled,
The make-up gain is added to the gain computed by the compressor.
Let's call your signal x, and the (computed, in dB) gain to be applied to your signal G. If make-up gain is zero dB, then your output is:
in_gain = 10.^(G /20);
y = x .* lin_gain;
If you pecify a non-zero make-up gain, G_makeup, then your output will be:
G = G + G_makeup; % in dB
in_gain = 10.^(G /20);
y = x .* lin_gain;

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!