Applications of Dynamic Range Control
Applications of Dynamic Range Control
1 Introduction
SGN-14006 / A.K. SGN-14006 / A.K.
Dynamic range control ! Sound pressure level of natural sounds varies over time
Source: Zölzer, ”Digital audio signal processing,” Wiley & Sons, 2008. – For example in music and in movies, the loudness of sounds
works as an effect and is part of the content
– When recording, the distance to microphone may vary, which
causes unwanted level variation
! When audio is played back, the useful dynamic range may
Contents:
be limited due to background noise for example
! Introduction
! Static curve
! Dynamic behaviour
! Implementation
! Stereo processing
! Bandwise dynamic control
Dynamics 3 Dynamics 4
Introduction
Introduction
SGN-14006 / A.K. SGN-14006 / A.K.
Dynamics 7 Dynamics 8
Static curve SGN-14006 / A.K. Static curve SGN-14006 / A.K.
g (n) = y x = ( x cT )1 R −1
Dynamics 9 Dynamics 10
Dynamic behaviour
3 Dynamic behaviour
SGN-14006 / A.K. SGN-14006 / A.K.
Dynamics 11 Dynamics 12
! Output of the PEAK algorithm for a rectangular pulse ! RMS algorithm (produces level measurement xrms(n)):
• Square of the input, averaging with first-order lowpass filter
• Temporal length of the averaging is determined by coefficient TAV
x2rms(n) = (1 – TAV) · x2rms (n – 1) + TAV · [x(n)]2
• TAV = 1-exp( -2.2 Ts / (tM / 1000))
– tM is the averaging time in milliseconds.
– In the figure tM=100 ms (green line)
– For peak (red line): on the left, ta=10ms, on the right ta=0.02ms
Time(s)
Dynamics 13 Dynamics 14
Dynamic behaviour SGN-14006 / A.K. 4 Implementation SGN-14006 / A.K.
Dynamics 15 Dynamics 16
Implementation SGN-14006 / A.K. Implementation SGN-14006 / A.K.
– Output y(n)
– Control factor
g(n)
Dynamics 17 Dynamics 18
Implementation SGN-14006 / A.K. Implementation SGN-14006 / A.K.
Dynamics 19 Dynamics 20
! For stereo signals, a commong control factor g(n) is needed ! When processing complex audio signals, dynamic range
– That way the stareo balance is not displaced control is sometimes performed bandwise
– Input signal level is measured from channel average ! For example 4-band filterbank followed by compression at
! Figure: dynamic range control of a stereo signal each band separately
! De-esser: dynamic range control at sibilants (/s/
phoneme) frequency range (about 5 kHz)
– Bandpass filter at 2-6 kHz is used to detect prominent phonemes.
– If a threshold value is crossed, a so-called peak filter is used to cut
the level of /s/ phonemes in the same frequency range (peak filter:
has unity response everywhere else except around its center
frequency, where either boost or cut can be applied)