www.rajeshsharma.co.in
Dynamic Range Compression
Audio DSP Ksharing: Rajesh Sharma
www.rajeshsharma.co.in sharma.rajesh@gmail.com
www.rajeshsharma.co.in
Objective
• To reduce the dynamic range of audio
signal using compressor
– Sound recording, broadcasting (loudness wars)
– Make music sound louder without changing its peak amplitude
– To deal with technical limitation of audio equipment
– To improve audibility of audio in noisy environment
• Upward Compression
• Downward compression
– Reduces the gain of an
audio signal
www.rajeshsharma.co.in
Design
• Audio Signal is split:
• Feedback method: older designs
• Feed forward Methods: new designs
• Digital Audio DRC: DSP techniques are used to implement DRC.
– Digital audio editors, dedicated workstations
www.rajeshsharma.co.in
Threshold/Ratio
• Threshold: The level above
which signal is reduced
– -60dB means a large portion will
be compressed
• Ratio: The input/output ratio
above threshold
– 4:1 means that a signal 4dB above
threshold will become 1dB.
www.rajeshsharma.co.in
DRC Response
• Peak/RMS Sensing:
– compressor response to input signal
• Peak sensing: reacts to instantaneous changes
– reacts fast, may have distortion
– Acts more like limiter
• RMS sensing: compressor apply averaging to i/p signal
– More relaxed compression, close to loudness perception
• Soft/Hard Knees:
– Defines Response curve of DRC
www.rajeshsharma.co.in
Attack/Release
• Attack/Release:
– how quickly it acts to change the signal
– Expressed as N dB/ms (e.g. 10 dB/ms)
• Attack phase (signal above threshold):
– it is the period when compressor is increasing gain reduction
• Release phase (signal below threshold):
– it is the period when compressor is decreasing gain reduction
www.rajeshsharma.co.in
Stereo Linking
• Stereo Linking: compressor applies the same gain
to left/right channel
– To avoid image shifting (phantom source)
– Can be done in two ways:
• left/right channels are summed to mono
• DRC computes the gain for both channels and applies the highest
• Look Ahead: used to catch transients
– DRC is applied to Delayed Signal
– DRC gain is computed from non-delayed signal
www.rajeshsharma.co.in
Side Chaining
• Side Chaining: used to apply DRC to main audio
signal, depending on external input signal level.
• Usage: DJ use it for ducking
– Ducking: to suppress audio when they speak
– Can detect strong spectral content using equalizer in SideChain
– Can be used as de-esser,
• 6-9KHz band of original signal fed to side chain
www.rajeshsharma.co.in
Compressor/Limiter
• Compressor and limiter are not so much different
– A limiter is a DRC with higher ratio and fast attack
www.rajeshsharma.co.in
Multi Band DRC
• MDRC: separate DRC for different bands
– Signal change in one band does not change other band signal
• e.g. low frequency kick drum
– Signal is split using band pass filters
– Each band pass signal is passed through its own DRC
– Signal are recombined at the output
• MDRC Usage:
– Audio mix engineers for audio mastering
– Radio stations use them for increasing apparent loudness
– commercials may also use them in similar fashion
www.rajeshsharma.co.in
Usage
• Public Spaces: To make music sound louder
• Music Production: vocal performances in rock
concerts may use DRC to make them stand out
• Broadcasting : To boost the perceived volume of sound
• Marketing: DRC on TV commercials
• Sometimes DRC may be used for transmission purpose and
can be expanded afterward….

Audio Dynamic Range Compression

  • 1.
    www.rajeshsharma.co.in Dynamic Range Compression AudioDSP Ksharing: Rajesh Sharma www.rajeshsharma.co.in sharma.rajesh@gmail.com
  • 2.
    www.rajeshsharma.co.in Objective • To reducethe dynamic range of audio signal using compressor – Sound recording, broadcasting (loudness wars) – Make music sound louder without changing its peak amplitude – To deal with technical limitation of audio equipment – To improve audibility of audio in noisy environment • Upward Compression • Downward compression – Reduces the gain of an audio signal
  • 3.
    www.rajeshsharma.co.in Design • Audio Signalis split: • Feedback method: older designs • Feed forward Methods: new designs • Digital Audio DRC: DSP techniques are used to implement DRC. – Digital audio editors, dedicated workstations
  • 4.
    www.rajeshsharma.co.in Threshold/Ratio • Threshold: Thelevel above which signal is reduced – -60dB means a large portion will be compressed • Ratio: The input/output ratio above threshold – 4:1 means that a signal 4dB above threshold will become 1dB.
  • 5.
    www.rajeshsharma.co.in DRC Response • Peak/RMSSensing: – compressor response to input signal • Peak sensing: reacts to instantaneous changes – reacts fast, may have distortion – Acts more like limiter • RMS sensing: compressor apply averaging to i/p signal – More relaxed compression, close to loudness perception • Soft/Hard Knees: – Defines Response curve of DRC
  • 6.
    www.rajeshsharma.co.in Attack/Release • Attack/Release: – howquickly it acts to change the signal – Expressed as N dB/ms (e.g. 10 dB/ms) • Attack phase (signal above threshold): – it is the period when compressor is increasing gain reduction • Release phase (signal below threshold): – it is the period when compressor is decreasing gain reduction
  • 7.
    www.rajeshsharma.co.in Stereo Linking • StereoLinking: compressor applies the same gain to left/right channel – To avoid image shifting (phantom source) – Can be done in two ways: • left/right channels are summed to mono • DRC computes the gain for both channels and applies the highest • Look Ahead: used to catch transients – DRC is applied to Delayed Signal – DRC gain is computed from non-delayed signal
  • 8.
    www.rajeshsharma.co.in Side Chaining • SideChaining: used to apply DRC to main audio signal, depending on external input signal level. • Usage: DJ use it for ducking – Ducking: to suppress audio when they speak – Can detect strong spectral content using equalizer in SideChain – Can be used as de-esser, • 6-9KHz band of original signal fed to side chain
  • 9.
    www.rajeshsharma.co.in Compressor/Limiter • Compressor andlimiter are not so much different – A limiter is a DRC with higher ratio and fast attack
  • 10.
    www.rajeshsharma.co.in Multi Band DRC •MDRC: separate DRC for different bands – Signal change in one band does not change other band signal • e.g. low frequency kick drum – Signal is split using band pass filters – Each band pass signal is passed through its own DRC – Signal are recombined at the output • MDRC Usage: – Audio mix engineers for audio mastering – Radio stations use them for increasing apparent loudness – commercials may also use them in similar fashion
  • 11.
    www.rajeshsharma.co.in Usage • Public Spaces:To make music sound louder • Music Production: vocal performances in rock concerts may use DRC to make them stand out • Broadcasting : To boost the perceived volume of sound • Marketing: DRC on TV commercials • Sometimes DRC may be used for transmission purpose and can be expanded afterward….