Reference · Audio and media

What is matrix surround sound?

Matrix surround carries spatial cues in two audio channels for compatible stereo and decoded surround playback.

Matrix encoding and decoding. The original four independent channels are combined into two; decoding estimates the directional programme.
The original four independent channels are combined into two; decoding estimates the directional programme.

How the matrix works

An encoder combines several programme channels into left-total and right-total signals with controlled gain and phase relationships. A matching decoder uses those relationships to derive speaker feeds. Four arbitrary independent signals cannot be uniquely recovered from two; the aim is useful separation and stereo compatibility, not lossless reconstruction.

Passive and active decoders

A fixed matrix uses predetermined sums and differences. Active logic adjusts separation based on signal direction, sometimes in frequency bands. This can improve localisation but may change ambience or cause steering artefacts. A decoder for a different matrix may place sounds incorrectly.

Where it appears

SQ, QS and Dolby Surround can be carried in two-channel PCM on CDs and lossless files. QUARK implements QS digitally. Ordinary stereo may also contain spatial cues, but an upmix of an unencoded recording is not proof of an original surround mix.

How to preserve it

Retain the original left and right samples at their native rate and bit depth. Avoid mono summing, independent channel processing and lossy conversion when creating an archive. Decode only for playback or a separate derivative.

Why a matrix is not a lossless multichannel codec

A stereo matrix encoder can be represented as a mapping from several source signals to two output signals. At any instant and frequency, two observations cannot uniquely determine four arbitrary independent source values. Phase conventions and programme assumptions make directional reproduction useful, but do not remove that fundamental ambiguity. Adaptive steering estimates which direction should dominate and can trade leakage, stability and fidelity against one another.

In contrast, a multichannel FLAC stream stores sufficient information to reconstruct every original PCM channel exactly. A stereo FLAC of an SQ or QS master preserves the two encoded channels exactly, not the missing independent channels from the original studio session.

Equipment and the stage where matrix processing happens

Historical decoders accepted analogue stereo after the phono or tape preamplifier. A modern player can decode the same matrix in software after recovering PCM from a CD or a file. An AV receiver may also decode a matrix after decoding a multichannel AC-3 or DTS core, as with EX or ES Matrix. The decoding stages are different even though they use similar concepts of directional derivation.

A receiver such as the Denon AVR-3312CI illustrates the coexistence of digital audio decoders and multiple matrix processing modes. The display can describe both incoming format and selected output processing; these should not be confused.

Listening and preservation

A matrix-encoded music CD can normally be played as stereo. The surround decoder changes presentation rather than converting a fundamentally unreadable data stream. This contrasts with DTS-CD, whose undecoded samples can produce noise. Preserve the encoded master and document the decoder used for any rendered copy. An algorithm that creates an impressive field from ordinary stereo is not necessarily the one that reproduces the authored matrix correctly.

Frequently asked questions

Is it a codec?

Not a compression codec: it is a spatial encoding and decoding method.

Does stereo playback lose the music?

The encoded mix is designed to remain listenable in stereo, although its presentation differs from the surround decode.

Sources and further reading

Matrix processing beyond stereo

Matrix techniques can also expand decoded 5.1 soundtracks. EX and ES Matrix use authored back-channel information; IIx and IIz derive additional spatial feeds.

What is Dolby Digital EX? · What is DTS-ES Extended Surround? · Surround sound upmixing explained

From original format to modern software

The software matrix stage operates after a source reader has supplied stereo samples. A FLAC decoder restores the encoded PCM; it does not by itself perform SQ, QS or Dolby matrix extraction. Preserve the input and then select a separate processing stage for listening.

Continue with Reading, decoding and DSP · Capturing matrix sources · Compatibility guide.