HOME

TheInfoList



OR:

Digital room correction (or DRC) is a process in the field of acoustics where digital filters designed to ameliorate unfavorable effects of a room's acoustics are applied to the input of a
sound reproduction Sound recording and reproduction is the electrical, mechanical, electronic, or digital inscription and re-creation of sound waves, such as spoken voice, singing, instrumental music, or sound effects. The two main classes of sound recordin ...
system. Modern room correction systems produce substantial improvements in the
time domain Time domain refers to the analysis of mathematical functions, physical signals or time series of economic or environmental data, with respect to time. In the time domain, the signal or function's value is known for all real numbers, for the ...
and
frequency domain In physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency, rather than time. Put simply, a time-domain graph shows how a ...
response of the sound reproduction system.


History

The use of analog filters, such as equalizers, to normalize the frequency response of a playback system has a long history; however, analog filters are very limited in their ability to correct the distortion found in many rooms. Although digital implementations of the equalizers have been available for some time, digital room correction is usually used to refer to the construction of filters which attempt to invert the
impulse response In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an impulse (). More generally, an impulse response is the reac ...
of the room and playback system, at least in part. Digital correction systems are able to use acausal filters, and are able to operate with optimal time resolution, optimal frequency resolution, or any desired compromise along the
Gabor limit In quantum mechanics, the uncertainty principle (also known as Heisenberg's uncertainty principle) is any of a variety of mathematical inequalities asserting a fundamental limit to the accuracy with which the values for certain pairs of physic ...
. Digital room correction is a fairly new area of study which has only recently been made possible by the computational power of modern
CPUs A central processing unit (CPU), also called a central processor, main processor or just processor, is the electronic circuitry that executes instructions comprising a computer program. The CPU performs basic arithmetic, logic, controlling, an ...
and DSPs.


Operation

The configuration of a digital room correction system begins with measuring the impulse response of the room at a reference listening position, and sometimes at additional locations for each of the loudspeakers. Then, computer software is used to compute a FIR filter, which reverses the effects of the room and linear distortion in the loudspeakers. In low performance conditions, a few IIR peaking filters are used instead of FIR filters, which require convolution, a relatively computation-heavy operation. Finally, the calculated filter is loaded into a computer or other room correction device which applies the filter in real time. Because most room correction filters are acausal, there is some delay. Most DRC systems allow the operator to control the added delay through configurable parameters.


Implementation

The most widely used test signal is a swept sine wave, also called
chirp A chirp is a signal in which the frequency increases (''up-chirp'') or decreases (''down-chirp'') with time. In some sources, the term ''chirp'' is used interchangeably with sweep signal. It is commonly applied to sonar, radar, and laser system ...
. This signal maximizes the measurement's signal-to-noise ratio, and the spectrum can be calculated by deconvolution, which is dividing the response's
Fourier transform A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed, ...
with the signal's Fourier transform. The spectrum is then smoothed, and a filter set is calculated, which equalizes the
sound pressure Sound pressure or acoustic pressure is the local pressure deviation from the ambient (average or equilibrium) atmospheric pressure, caused by a sound wave. In air, sound pressure can be measured using a microphone, and in water with a hydrophon ...
levels at each frequency to the target curve. To calculate the delays and other time-domain corrections, an
inverse Fourier transform In mathematics, the Fourier inversion theorem says that for many types of functions it is possible to recover a function from its Fourier transform. Intuitively it may be viewed as the statement that if we know all frequency and phase information ...
is performed on the spectrum, which results in the
impulse response In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an impulse (). More generally, an impulse response is the reac ...
. The impulse peak's distance from the start of the signal is its delay, and its sign is its polarity. The delay is corrected by subtracting each channel's delay from the system's peak delay, and applying this result as additional delay for the channel. This correction is sometimes provided to the user as distance from the speaker, which is calculated by multiplying the delay with the
speed of sound The speed of sound is the distance travelled per unit of time by a sound wave as it propagates through an elastic medium. At , the speed of sound in air is about , or one kilometre in or one mile in . It depends strongly on temperature as ...
. Inverse polarity (most likely caused by switching a speaker's + and - wires) could be fixed by multiplying each sample with -1 or swapping the speaker wire ends on one side of the cable, but this result is usually shown as a warning, as some speakers (e.g. Focal Kanta) do this intentionally.


Challenges

DRC systems are not normally used to create a perfect inversion of the room's response because a perfect correction would only be valid at the location where it was measured: a few millimeters away the arrival times from various reflections will differ and the inversion will be imperfect. The imperfectly corrected signal may end up sounding worse than the uncorrected signal because the acausal filters used in digital room correction may cause
pre-echo In audio signal processing, pre-echo, sometimes called a '' forward echo'', (not to be confused with reverse echo) is a digital audio compression artifact where a sound is heard before it occurs (hence the name). It is most noticeable in impulsi ...
. Room correction filter calculation systems instead favor a
robust Robustness is the property of being strong and healthy in constitution. When it is transposed into a system, it refers to the ability of tolerating perturbations that might affect the system’s functional body. In the same line ''robustness'' ca ...
approach, and employ sophisticated processing to attempt to produce an inverse filter which will work over a usably large volume, and which avoid producing bad-sounding artifacts outside of that volume, at the expense of peak accuracy at the measurement location.


Software


Free software


Room EQ Wizard

Room EQ Wizard, or REW for short is a free room measurement tool with SPL, phase, distortion, RT60, clarity, decay, waterfall, and spectrogram views. REW also features IR windowing, and SPL meter, room simulation for subwoofer placement, and peaking filter-based EQ generation for multiple platforms, DSPs, and AVRs with a target curve editor.


Cavern QuickEQ

QuickEQ is part of Cavern, a free and
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
spatial audio Surround sound is a technique for enriching the fidelity and depth of sound reproduction by using multiple audio channels from speakers that surround the listener (surround channels). Its first application was in movie theaters. Prior to sur ...
engine. QuickEQ supports multichannel measurements with multiple microphones, time and level alignment with multiple standards and target curves, IR windowing, multi-sub crossover, and experimental filters for increasing speech intelligibility and simulating other cabinet types. QuickEQ exports minimum- or 0-phase FIR filters or peaking EQs depending on the target device.


RePhase

RePhase is a free EQ and crossover generation tool that also linearizes phase response. RePhase has multiple configurable filter sets available for manual filter composition, which then can be exported as a single FIR impulse.


Commercial software

Most new AVRs include room correction in their setup, and a microphone in the box. Denon and Marantz AVRs use Audyssey, and more expensive models allow for more corrections. Anthem AVRs use a proprietary software called Anthem Room Correction, or ARC for short, as well as Trinnov Audio with their optimizer solution. Dirac Live is a commercial software that is available for PC and select Onkyo, Pioneer, Integra, StormAudio, and other AVRs.


Industrial software

DCI-compliant hardware that are used in commercial theaters, sometimes use commercially available room correction software. Notable examples are IMAX cinemas, which use Audyssey MultEQ XT32, while Datasat processors (found in all DTS:X rooms) have Dirac software. Dolby's CP850 and CP950 processors (which support Dolby Atmos) use a proprietary solution called AutoEQ. AutoEQ measures 5 to 8 microphone positions simultaneously. It requires loudspeaker specifications manually entered for the room. Earlier Dolby processors, such as the CP750, used a 31-band equailzer for the 5 or 7 main channels, and a single peaking filter for correcting the subwoofers' largest peak. The CP750 didn't have a swept sine wave generator, and used pink noise for measurement.


See also

*
Deconvolution In mathematics, deconvolution is the operation inverse to convolution. Both operations are used in signal processing and image processing. For example, it may be possible to recover the original signal after a filter (convolution) by using a de ...
*
Digital filter In signal processing, a digital filter is a system that performs mathematical operations on a sampled, discrete-time signal to reduce or enhance certain aspects of that signal. This is in contrast to the other major type of electronic filte ...
*
Filter (signal processing) In signal processing, a filter is a device or process that removes some unwanted components or features from a signal. Filtering is a class of signal processing, the defining feature of filters being the complete or partial suppression of some asp ...
*
Filter design Filter design is the process of designing a signal processing filter that satisfies a set of requirements, some of which may be conflicting. The purpose is to find a realization of the filter that meets each of the requirements to a sufficient ...
*
LARES Lares ( , ; archaic , singular ''Lar'') were guardian deities in ancient Roman religion. Their origin is uncertain; they may have been hero-ancestors, guardians of the hearth, fields, boundaries, or fruitfulness, or an amalgam of these. Lares ...
*
Stereophonic sound Stereophonic sound, or more commonly stereo, is a method of sound reproduction that recreates a multi-directional, 3-dimensional audible perspective. This is usually achieved by using two independent audio channels through a configuration ...
*
Surround sound Surround sound is a technique for enriching the fidelity and depth of sound reproduction by using multiple audio channels from speakers that surround the listener (surround channels). Its first application was in movie theaters. Prior to sur ...


References


Michael Gerzon's paper on Digital Room Equalization
on audiosignal.co.uk.


External links


Open Source Implementations


Cavern QuickEQ
and it
source code

Python Open Room Correction (PORC)

DRC: Digital Room Correction


Free Room Correction Software


Room EQ Wizard

rePhase

Free Room EQ plug-in for Foobar2000 audio player


Commercial Room Correction Software


Acourate

Audiolense

Dirac Live

Focus Fidelity

IK Multimedia ARC System

SoundID Reference from Sonarworks

Trinnov Optimizer


Papers


On Room Correction and Equalization of Sound Systems
by Dr. Mathias Johansson, Dirac Research AB
Digital Room Equalization
by Michael Gerzon
Audio Equalization with Fixed-Pole Parallel Filters: An Efficient Alternative to Complex Smoothing
by Balazs Bank


Articles



by Nyal Mellor of Acoustic Frontiers
Sound Correction in the Frequency and Time Domain
by Bernt Ronningsbak of Audiolense
The Three Acoustical Issues a Room Correction Product Can't Actually Correct
by Nyal Mellor of Acoustic Frontiers


References

{{DEFAULTSORT:Digital Room Correction Acoustics Sound technology Signal processing