What is companding in music?

What is companding?

Mixing & Effects

A process that compresses the dynamic range of a signal and later expands it. It is used in some recording and transmission systems to reduce the audible effects of noise.

What does companding mean?

Companding combines compression before storage or transmission with complementary expansion afterward. The compressor fits a signal’s changing levels into a more limited dynamic range; the decoder expands them toward their original relationships. The name joins “compressing” and “expanding.” In a matched system, the two stages are designed as an encode–decode pair rather than chosen independently for a creative sound.

The encoded signal can make better use of a channel whose noise floor and overload limit would otherwise restrict the program. After decoding, the channel’s added noise is affected differently from the source because it was introduced between the two operations. This principle supports noise-reduction systems and some analog wireless links. It does not remove noise already present before encoding.

Correct tracking is crucial. Mismatched levels, frequency response, timing behavior, or incompatible encoder and decoder designs can cause pumping, altered dynamics, or tonal changes. A processed encoded recording may also fail to decode as intended. Different companding systems therefore should not be assumed interchangeable.

A Simplified Matched Level-Range Model

ΔLencoded=ΔLinputR\Delta L_{\mathrm{encoded}}=\frac{\Delta L_{\mathrm{input}}}{R}
ΔLdecoded=R ΔLencoded\Delta L_{\mathrm{decoded}}=R\,\Delta L_{\mathrm{encoded}}

ΔLinput\Delta L_{\mathrm{input}}, ΔLencoded\Delta L_{\mathrm{encoded}}, and ΔLdecoded\Delta L_{\mathrm{decoded}} are differences between two signal levels in decibels, measured relative to the same reference. R>1R>1 is the encoder's constant compression ratio over the operating range considered; the matching decoder has the complementary expansion slope RR. With R=2R=2, a 40 dB input difference encodes as 20 dB and ideally expands back to 40 dB. The two expressions describe static *differences*, not absolute output levels: offsets, thresholds and makeup gains need separate specifications. Exact restoration assumes an error-free path, perfectly matched inverse transfer and no detector or time-dependent errors. Practical companders exploit the encoding/decoding arrangement to reduce the effect of noise introduced **between** those stages; the formula alone neither predicts the achieved noise reduction nor removes noise already mixed with the input.

Examples related to companding

Common confusions and distinctions

Companding is not file compression such as ZIP, nor necessarily a lossy audio codec. It can involve level-dependent gain over time or a nonlinear amplitude mapping, depending on the system; telephony’s A-law and μ-law are familiar mapping examples. An ordinary mix compressor followed by an arbitrary expander is not automatically a matched noise-reduction system.

Back to the glossary