Dynamic range compression: Difference between revisions

Content deleted Content added
m added links
m unpiped links using script
Line 7:
'''Dynamic range compression''' ('''DRC''') or simply '''compression''' is an [[audio signal processing]] operation that reduces the volume of loud [[sound]]s or amplifies quiet sounds, thus reducing or ''compressing'' an [[audio signal]]'s [[dynamic range]]. Compression is commonly used in [[sound recording and reproduction]], [[broadcasting]],<ref name="Follansbee">{{Cite book |url=https://books.google.com/books?id=gEN1GbEgb5AC |title=Hands-on Guide to Streaming Media: An Introduction to Delivering On-Demand Media |last=Follansbee |first=Joe |publisher=Focal Press |year=2006 |isbn=9780240808635 |edition=1 |page=84 |oclc=1003326401 |via=Google Books}}</ref> [[sound reinforcement system|live sound reinforcement]] and some [[instrument amplifier]]s.
 
A dedicated electronic hardware unit or audio software that applies compression is called a '''compressor'''. In the 2000s, compressors became available as software plugins that run in [[digital audio workstation]] software. In recorded and live music, compression parameters may be adjusted to change the way they affect sounds. Compression and [[limiter|limiting]] are identical in process but different in degree and perceived effect. A limiter is a compressor with a high [[#Ratio|ratio]] and, generally, a short [[#Attack and release|attack time]].
 
Compression is used to improve performance and clarity in [[public address system]]s, as an [[Effects unit|effect]] and to improve consistency in [[Audio mixing (recorded music)|mixing]] and [[Mastering (audio)|mastering]]. It is used on voice to reduce sibilance and in [[broadcasting]] and [[advertising]] to make an audio program stand out. It is an integral technology in some [[noise reduction]] systems.
Line 44:
The signal entering a compressor is split; one copy is sent to a [[variable-gain amplifier]] and the other to a ''side-chain'' where the signal level is measured and a circuit controlled by the measured signal level applies the required gain to the amplifier. This design, known as a ''feed-forward'' type, is used today in most compressors. Earlier designs were based on a ''feedback'' layout where the signal level was measured after the amplifier.<ref>{{Cite journal |last1=Giannoulis |first1=Dimitrios |last2=Massberg |first2=Michael |last3=Reiss |first3=Joshua D. |date=2012-07-09 |title=Digital Dynamic Range Compressor Design—A Tutorial and Analysis |url=https://www.eecs.qmul.ac.uk/~josh/documents/2012/GiannoulisMassbergReiss-dynamicrangecompression-JAES2012.pdf |journal=Journal of the Audio Engineering Society |language=en |volume=60 |issue=6 |pages=399–408 |citeseerx=10.1.1.260.1340 |access-date=2019-06-06}}</ref>
 
There are a number of technologies used for variable-gain amplification, each having different advantages and disadvantages. [[Vacuum tube]]s are used in a configuration called ''variable-mu'' where the grid-to-cathode voltage changes to alter the gain.<ref>{{Cite web |url=http://www.tangible-technology.com/dynamics/comp_lim_ec_dh_pw2.html |title=An Overview of Compressor/Limiters and Their Guts |last1=Ciletti |first1=Eddie |last2=Hill |first2=David |date=2008-04-19 |website=www.tangible-technology.com |access-date=2019-11-03 |last3=Wolff |first3=Paul}}</ref> Optical compressors use a [[photoresistor]] stimulated by a small lamp ([[Incandescent light bulb|incandescent]], [[Light-emitting diode|LED]], or [[Electroluminescence|electroluminescent panel]])<ref>{{Cite web |url=http://media.uaudio.com/assetlibrary/l/a/la-2a_manual.pdf |title=Model LA-2A Leveling Amplifier |website=Universal Audio |type=Manual }}</ref> to create changes in signal gain. Other technologies used include [[field effect transistor]]s and a [[diode bridge]].<ref>{{Cite magazine |last=Berners |first=Dave |date=April 2006 |title=Compression Technology and Topology |url=https://www.uaudio.com/webzine/2006/april/text/content4.html |department=Analog Obsession |magazine=Universal Audio WebZine |publisher=Universal Audio |volume=4 |issue=3 |access-date=2016-08-29}}</ref>
 
When working with digital audio, [[digital signal processing]] (DSP) techniques are commonly used to implement compression as [[audio plug-in]]s, in [[mixing console]]s, and in [[digital audio workstation]]s. Often the algorithms are used to emulate the above analog technologies.{{citation needed|date=May 2019}}
Line 102:
 
=== Voice ===
A compressor can be used to reduce [[Sibilant consonant|sibilance]] ('ess' sounds) in vocals ([[de-essing]]) by feeding the compressor's side-chain an [[Equalization (audio)|equalized]] version of the input signal, so that specific, sibilance-related frequencies (typically 4000 to 8000 hz) activate the compressor more.<ref>{{cite magazine|url=https://www.soundonsound.com/techniques/techniques-vocal-de-essing|title=Techniques For Vocal De-essing|magazine=Sound on Sound|date=May 2009|access-date=12 May 2010}}</ref>
 
Compression is used in voice communications in [[amateur radio]] that employ [[single-sideband modulation|single-sideband (SSB) modulation]] to make a particular station's signal more readable to a distant station, or to make one's station's transmitted signal stand out against others. This is applicable especially in [[DXing]]. An SSB signal's strength depends on the level of [[modulation]]. A compressor increases the average level of the modulation signal thus increasing the transmitted signal strength. Most modern amateur radio SSB transceivers have speech compressors built-in. Compression is also used in [[Two-way radio|land mobile radio]], especially in transmitted audio of professional [[walkie-talkie]]s and [[Tone remote|remote control dispatch consoles]].<ref>{{Cite book |title=HF radio systems & circuits |publisher=Noble Pub |year=1998 |isbn=9781613530740 |editor-last=Sabin |editor-first=William E. |edition=2nd |___location=Atlanta |pages=13–25, 271–290 |oclc=842936687 |editor-last2=Schoenike |editor-first2=Edgar O.}}</ref>
Line 133:
[[Hearing aid]]s use a compressor to bring the audio volume into the listener's hearing range. To help the patient perceive the direction sound comes from, some hearing aids use [[binaural recording|binaural]] compression.<ref>{{Cite book |title=The textbook of hearing aid amplification |last=Sandlin |first=Robert E. |date=2000 |publisher=Singular Thomson Learning |isbn=1565939972 |edition=2nd |___location=San Diego, California |oclc=42475568}}</ref>
 
Compressors are also used for [[Hearing protection device|hearing protection]] in some electronic active hearing protection [[earmuffs]] and [[earplugs]], to let sounds at ordinary volumes be heard normally while attenuating louder sounds, possibly also amplifying softer sounds. This allows, for example, shooters wearing hearing protection at a shooting range to converse normally, while sharply attenuating the much louder sounds of the gunshots,<ref>{{cite web |url=https://www.pewpewtactical.com/best-shooting-ear-protection/ |title=10 Best Shooting Ear Protection |date=27 May 2020 |quote=They are comfy for hours with their gel caps, have easily accessible button controls, great sound cutoff and compression, and allow for earplugs if the decent 22db NRR doesn’t cut it. |access-date=2021-05-25}}</ref> and similarly for musicians to hear quiet music but be protected from loud noises such as drums or cymbal crashes.{{citation needed|date=December 2013}}
 
In applications of machine learning where an algorithm is training on audio samples, dynamic range compression is a way to augment samples for a larger data set.<ref>{{Cite journal |last1=Salamon |first1=Justin |last2=Bello |first2=Juan Pablo |date=March 2017 |title=Deep Convolutional Neural Networks and Data Augmentation for Environmental Sound Classification |journal=IEEE Signal Processing Letters |volume=24 |issue=3 |pages=279–283 |arxiv=1608.04363 |doi=10.1109/LSP.2017.2657381 |bibcode=2017ISPL...24..279S |s2cid=3537408 |issn=1070-9908 }}</ref>
Line 169:
==Serial compression==
 
Serial compression is a technique used in [[Sound recording and reproduction|sound recording]] and [[Audio mixing (recorded music)|mixing]]. Serial compression is achieved by using two fairly different compressors in a signal chain. One compressor generally stabilizes the [[dynamic range]] while the other aggressively compresses stronger peaks. This is the normal internal signal routing in common combination devices marketed as ''compressor-limiters'', where an RMS compressor (for general gain control) is followed by a fast peak-sensing limiter (for overload protection). Done properly, even heavy serial compression can sound natural in a way not possible with a single compressor. It is most often used to even out erratic [[vocal]]s and [[guitar]]s.
 
== Software audio players ==