# Ambisonic decoding

Main article: Ambisonics

This page focusses on decoding of classic first-order Ambisonics. Other relevant information is available on the Ambisonic reproduction systems page.

The Ambisonic B-format WXYZ signals define what the listener should hear. How these signals are presented to the listener by the speakers for best results, depends on the number of speakers and their location. Ambisonics treats directions where no speakers are placed with as much importance as speaker positions. It is undesirable for the listener to be conscious that the sound is coming from a discrete number of speakers. Some simple decoding equations are known to give good results for common speaker arrangements.

But Ambisonic Speaker Decoders can use much more information about the position of speakers, including their exact position and distance from the listener. Because human beings use different mechanisms to locate sound, Classic Ambisonic Decoders it is desirable to modify the speaker feeds at each frequency to present the best information using Shelf Filters.

Some views on the complexities of Shelf Filters and Distance Compensation are explained in "Ambisonic Surround Decoders"[1] and "SHELF FILTERS for Ambisonic Decoders"[2] in the External links.

There are specialised decoders for large audiences in large spaces.

Hardware decoders have been commercially available since the late 1970s; currently, Ambisonics is standard in surround products offered by Meridian Audio, Ltd.. Ad hoc software decoders are also available (see External links).

There are five main types of decoder:

## Diametric decoders

This design is intended for a domestic, small room setting, and allows speakers to be arranged in diametrically opposed pairs.

## Regular Polygon decoders

This design is intended for a domestic, small room setting. The speakers are equidistant from the listener and lie equally spaced on the circumference of a circle. The simplest Regular Polygon decoder is a Square with the listener in the centre. At least four speakers are required. Triangles do not work, exhibiting large "holes" between the speakers. Regular Hexagons perform better than Squares especially to the sides.

For the simplest (two dimensional) case (no height information), and spacing the loudspeakers equally in a circle, we derive the loudspeaker signals from the B-format W, X and Y channels:

$P_n = W + X \cos\theta_n + Y \sin\theta_n$

where $\theta_n$ is the direction of the speaker under consideration.

The most useful of these is the Square 4.0 decoder.

The coordinate system used in Ambisonics follows the right hand rule convention with positive X pointing forwards, positive Y pointing to the left and positive Z pointing upwards. Horizontal angles run anticlockwise from due front and vertical angles are positive above the horizontal, negative below.

## Auditorium decoders

This design is intended for a large, public space setting.

## "Vienna" decoders

These are so named because the paper introducing them was presented at the 1992 AES conference held in Vienna. This design was covered by US 5757927 [3] from Trifield Productions (see External links). The technology provides one approach to the decoding of Ambisonic signals to irregular loudspeaker arrays (such as ITU) commonly used for 5.1 surround sound replay.

## Parametric decoders

The idea behind parametric decoding is to treat the sound's direction of incidence as a parameter that can be estimated through time–frequency analysis. A large body of research into human spatial hearing[4][5] suggests that our auditory cortex applies similar techniques in its auditory scene analysis, which explains why these methods work.

The major benefits of parametric decoding is a greatly increased angular resolution and the separation of analysis and synthesis into separate processing steps. This separation allows B-format recordings to be rendered using any panning technique, including delay panning, VBAP[6] and HRTF-based synthesis.

Parametric decoding was pioneered by Lake DSP[7] in the late 1990s and independently suggested by Farina and Ugolotti in 1999.[8] Later work in this domain includes the DirAC method[9] and the Harpex method.[10]

## Irregular Layout Decoders

Decoding for arbitrary irregular speaker layouts is a subject of ongoing research. The Rapture3D decoder from Blue Ripple Sound supports this and is already used in a number of computer games using OpenAL.