Misplaced Pages

Ambisonic data exchange formats

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
This article needs attention from an expert in mathematics. The specific problem is: Formulae need reviewing, errors may have crept in due to conversion from different notations.. See the talk page for details. WikiProject Mathematics may be able to help recruit an expert. (December 2013)
Main article: Ambisonics

Data exchange formats for Ambisonics have undergone radical changes since the early days of four-track magnetic tape. Researchers working on very high-order systems found no straightforward way to extend the traditional formats to suit their needs. Furthermore, there was no widely accepted formulation of spherical harmonics for acoustics, so one was borrowed from chemistry, quantum mechanics, computer graphics, or other fields, each of which had subtly different conventions. This led to an unfortunate proliferation of mutually incompatible ad hoc formats and much head-scratching.

This page attempts to document the different existing formats, their rationales and history, for the terminally curious and those unfortunate enough to have to deal with them in detail.

Most modern applications use ACN and SN3D, although traditional first order is still common.

Spherical harmonics in Ambisonics

A common formulation for spherical harmonics in the context of Ambisonics is Y m ( θ , ϕ ) = N | m | P | m | ( sin ϕ ) { sin ( m θ ) if  m < 0 , cos ( m θ ) if  m 0 , {\displaystyle Y_{\ell }^{m}(\theta ,\phi )=N_{\ell }^{|m|}P_{\ell }^{|m|}(\sin \phi )\cdot {\begin{cases}{\sin(-m\theta )}&{\text{if }}m<0,\\{\cos(m\theta )}&{\text{if }}m\geq 0,\end{cases}}} where Y {\displaystyle Y} denotes a spherical harmonic of degree {\displaystyle \ell } and index m {\displaystyle m} with a range of m + {\displaystyle -\ell \leq m\leq +\ell } .

(Note that if m = 0 {\displaystyle m=0} , then cos m θ = cos 0 = 1 {\displaystyle \cos m\theta =\cos 0=1} .)

N {\displaystyle N} is a normalisation factor (see below), and P m {\displaystyle P_{\ell }^{m}} is the associated Legendre polynomial of degree {\displaystyle \ell } and order m {\displaystyle m} . The azimuth angle θ {\displaystyle \theta } is zero straight ahead and increases counter-clockwise. The elevation angle ϕ {\displaystyle \phi } is zero on the horizontal plane and positive in the upper hemisphere.

Unfortunately, the "Ambisonic order" {\displaystyle \ell } is called the degree in mathematical parlance, which uses order for the "Ambisonic index" m {\displaystyle m} .

Relationship of spherical harmonics and B-format signals

For a source signal S {\displaystyle S} in direction ( θ , ϕ ) {\displaystyle (\theta ,\phi )} , the Ambisonic components B m {\displaystyle B_{\ell }^{m}} are given by B m = Y m ( θ , ϕ ) S . {\displaystyle B_{\ell }^{m}=Y_{\ell }^{m}(\theta ,\phi )\cdot S.} If we span a direction vector from the origin towards the source until it intersects the respective spherical harmonic, the length of this vector is the coefficient that gets multiplied with the source signal. Repeat for all spherical harmonics up to the desired Ambisonic order.

Prerequisites for successful data exchange

For successful exchange of Ambisonic material, some software requires the sender and receiver have to agree on the ordering of the components, their normalisation or weighting, and the relative polarity of the harmonics.

Since it is possible to omit parts of the spherical harmonic multipole expansion for content that has non-uniform, direction-dependent resolution (known as mixed-order), it might also be necessary to define how to deal with missing components.

In the case of transmission "by wire", be it an actual digital multichannel link or any number of virtual patchcords within an audio processing engine, these properties must be explicitly matched on both ends, since there is usually no provision for metadata exchange and parameter negotiation. In the case of files, some flexibility might be possible, depending on the file format and the expressiveness of its metadata set.

However, in practice, just two formats are in widespread use. The first is Furse-Malham higher-order format, which is an extension of traditional B-Format, and the more modern SN3D, in ACN channel order. In neither case is there any ambiguity about ordering, normalisation, weighting or polarity and it is rare to see cases with missing components. A third format is in limited use: N3D, also in ACN channel order.

Component ordering

Spherical Harmonics up to Ambisonic order 5 as commonly displayed, sorted by increasing Ambisonic Channel Number (ACN), aligned for symmetry.

The traditional B-format ( W X Y Z {\displaystyle WXYZ} ) only concerned itself with zeroth and first Ambisonic order. Because of a strong correspondence between the spherical harmonics and microphone polar patterns, and the fact that those polar patterns have clearly defined directions, it seemed natural to order and name the components in the same way as the axes of a right-hand coordinate system.

For higher orders, this precedent becomes awkward, because spherical harmonics are most intuitively arranged in symmetric fashion around the single z-rotationally symmetric member m=0 of each order, with the horizontal sine terms m<0 to the left, and the cosine terms m>0 to the right (see illustration).

Furse-Malham

W 0 {\displaystyle W_{0}}
Y 2 {\displaystyle Y_{2}} Z 3 {\displaystyle Z_{3}} X 1 {\displaystyle X_{1}}
V 8 {\displaystyle V_{8}} T 6 {\displaystyle T_{6}} R 4 {\displaystyle R_{4}} S 5 {\displaystyle S_{5}} U 7 {\displaystyle U_{7}}
Q 15 {\displaystyle Q_{15}} O 13 {\displaystyle O_{13}} M 11 {\displaystyle M_{11}} K 9 {\displaystyle K_{9}} L 10 {\displaystyle L_{10}} N 12 {\displaystyle N_{12}} P 14 {\displaystyle P_{14}}

In Furse-Malham higher-order format, an extension of traditional B-format up to third order, orders 2 ( R S T U V {\displaystyle RSTUV} ) and 3 ( K L M N O P Q {\displaystyle KLMNOPQ} ) begin with their z-rotationally symmetric member and then jump outward right and left (see table), with the horizontal components at the end. Higher-order extensions are trivially defined, but are not used.

SID

0
2 3 1
5 7 8 6 4
10 12 14 15 13 11 9

In his seminal 2001 thesis, Daniel used a three-index nomenclature Y m n σ {\displaystyle Y_{mn}^{\sigma }} for the spherical harmonics, which corresponds to Y | m | s g n ( m ) {\displaystyle Y_{\ell |m|}^{sgn(m)}} in the notation used here. He implied yet another channel ordering, subsequently developed into an explicit proposal called SID for Single Index Designation which was adopted by a number of researchers. This scheme is compatible with first-order B-format, and continues to traverse the higher spherical harmonics in the same fashion, with the z-rotationally symmetric component at the end, going through the horizontal components first. It is, however, incompatible with Furse-Malham. SID ordering is not in widespread use.

ACN

0
1 2 3
4 5 6 7 8
9 10 11 12 13 14 15

For future higher-order systems, adoption of the Ambisonic Channel Number (ACN) has reached wide consensus. It is determined algorithmically as A C N = 2 + + m {\displaystyle ACN=\ell ^{2}+\ell +m} .

ACN is used widely with SN3D and N3D, below.

More simply:

FuMa = WXYZ | RSTUV | KLMNOPQ

ACN = WYZX | VTRSU | QOMKLNP

SID = WXYZ | UVSTR | PQNOLMK

SID used in iem_ambi in Puredata.

Normalisation

For successful reconstruction of the sound field, it is important to agree on a normalisation method for the spherical harmonic components. The following approaches are common:

maxN

The maxN scheme by Daniel normalizes each single component to never exceed a gain of 1.0 for a panned monophonic source. Malham states that "hilst this approach is not rigorously "correct" in mathematical terms, it has significant engineering advantages in that it restricts the maximum levels a panned mono source will generate in some of the higher-order channels." This property is particularly interesting for fixed-point digital interfaces. The maxN weights may be determined by visual inspection up to the third order; above this value the maxima of each polynomial need to be determined explicitly.

MaxN is used in the Furse-Malham format (with the exception of a -3dB correction factor for W {\displaystyle W} , which makes it directly compatible with traditional B-Format). Otherwise, it is not in widespread use.

SN3D

SN3D stands for Schmidt semi-normalisation and is commonly used in geology and magnetics. The weighting coefficients are N , m SN3D = ( 2 δ m ) ( | m | ) ! ( + | m | ) ! , δ m { 1 if  m = 0 0 if  m 0. {\displaystyle N_{\ell ,m}^{\text{SN3D}}={\sqrt {{(2-\delta _{m})}{(\ell -|m|)! \over (\ell +|m|)!}}},\delta _{m}{\begin{cases}1&{\mbox{if }}m=0\\0&{\mbox{if }}m\neq 0.\end{cases}}}

Originally introduced into Ambisonic use by Daniel, he notes: "High degree of generality - the encoding coefficients are recursively computable, and the first-order components are unity vectors in their respective directions of incidence".

With SN3D, unlike N3D, no component will ever exceed the peak value of the 0th order component for single point sources. This scheme has been adopted by the proposed AmbiX format.

SN3D (in the ACN channel order) is in widespread use and a common choice in new software development.

In the Ambix specification paper the term ( 2 δ m ) {\displaystyle (2-\delta _{m})} is replaced with ( 2 δ m ) 4 π {\displaystyle {\frac {(2-\delta _{m})}{4\pi }}} .

N3D

N3D or full three-D normalisation is the most obvious approach to normalisation. Daniel describes it as follows: "Orthonormal basis for 3D decomposition. Simple relationship to SN3D . Ensures equal power of the encoded components in the case of a perfectly diffuse 3D field. Obvious significance for solving decoding problems (3D reconstruction)."

The relation to SN3D is N , m N3D = N , m SN3D 2 + 1 . {\displaystyle N_{\ell ,m}^{\text{N3D}}=N_{\ell ,m}^{\text{SN3D}}{\sqrt {2\ell +1}}.}

This normalisation is standard in physics and mathematics and is supported by some Ambisonic software packages. It is used in MPEG-H. However, SN3D is now much more common.

As N3D and SN3D differ only by scaling factors, care is needed when working with both, as it may not be obvious on first listening if an error has been made, particularly on a system with a small number of speakers.

N2D / SN2D

Additionally, two schemes exist which consider only the horizontal components. This has practical advantages for fixed-point media in the common situation where sources are concentrated on the horizontal plane, but the normalisation is somewhat arbitrary and its assumptions do not hold for strongly diffuse soundfields and sound scenes with strong elevated sources. Since Ambisonics is meant to be isotropic and the 2D schemes definitely are not, their use is discouraged.

Polarity

A third complication arises from the quantum mechanical formulation of spherical harmonics, which was adopted by some Ambisonics researchers. It includes a factor of ( 1 ) m {\displaystyle (-1)^{m}} , a convention called Condon–Shortley phase, which will invert the relative polarity of every other component within a given Ambisonic order. The term can be folded both into the formulation of the associated Legendre polynomials or the normalisation coefficient, so it may not always be obvious.

MATLAB and GNU Octave both include Condon–Shortley phase in its legendre(ℓ,X) functions, but undo it by applying the factor again in the Schmidt semi-normalized form legendre(ℓ,X,'sch').

Wolfram Language also includes C-S phase in its legendreP(ℓ,X) implementation, and retains it in SphericalHarmonicY, which is fully normalized. Note that this function returns complex values and uses the physics convention for spherical coordinates where θ {\displaystyle \theta } is the zenith angle (angle from the positive Z-axis) and ϕ {\displaystyle \phi } is the azimuth (counter-clockwise angle around the positive Z-axis).

The presence of Condon–Shortley phase in parts of the signal chain usually manifests itself in erratic panning behaviour and increasing apparent source width when going to higher orders, which can be somewhat difficult to diagnose and much harder to eliminate. Hence, its use is strongly discouraged in the context of Ambisonics.

None of the ambisonic exchange formats described above use Condon–Shortley phase. Polarity is generally only a concern when trying to reconcile theoretical formulations of the spherical harmonics from other academic disciplines.

Reference table of layouts and normalisations

The following table gives an overview of all Ambisonic formats published so far.

  • For Furse-Malham (and traditional B-format), sort by FuMa column and multiply the spherical harmonic by the maxN* factor.
  • For SID according to Daniel, sort by SID and apply the relevant normalisation factor as specified in the file metadata.
  • For basic AmbiX, sort by ACN and use the SN3D factor.
  • For extended AmbiX and all other combinations, good luck!

Conversion factors can be applied either to the Ambisonic components B {\displaystyle B} or the spherical harmonics Y {\displaystyle Y} .

The data is taken from Chapman (2008).

Please do not rely on this table until it has been thoroughly checked and the "Under construction" notice has been removed.

B {\displaystyle B} Y m ( Y A C N ) {\displaystyle Y_{\ell }^{m}(\equiv Y_{ACN})} Conversion factors
ACN FuMa SID {\displaystyle \ell } m {\displaystyle m} Spherical harmonic in N3D to SN3D to maxN*
0 W {\displaystyle W} 0 0 0 0 1 {\displaystyle 1} 1 {\displaystyle 1} 1 2 {\displaystyle 1 \over {\sqrt {2}}}
1 Y {\displaystyle Y} 2 2 1 -1 3 sin ( θ ) cos ( ϕ ) {\displaystyle {\sqrt {3}}\sin(\theta )\cos(\phi )} 1 3 {\displaystyle 1 \over {\sqrt {3}}} 1 3 {\displaystyle 1 \over {\sqrt {3}}}
2 Z {\displaystyle Z} 3 3 1 0 3 sin ( ϕ ) {\displaystyle {\sqrt {3}}\sin(\phi )} 1 3 {\displaystyle 1 \over {\sqrt {3}}} 1 3 {\displaystyle 1 \over {\sqrt {3}}}
3 X {\displaystyle X} 1 1 1 1 3 cos ( θ ) cos ( ϕ ) {\displaystyle {\sqrt {3}}\cos(\theta )\cos(\phi )} 1 3 {\displaystyle 1 \over {\sqrt {3}}} 1 3 {\displaystyle 1 \over {\sqrt {3}}}
4 V {\displaystyle V} 8 5 2 -2 15 2 sin ( 2 θ ) cos 2 ( ϕ ) {\displaystyle {\frac {\sqrt {15}}{2}}\sin(2\theta )\cos ^{2}(\phi )} 1 5 {\displaystyle 1 \over {\sqrt {5}}} 2 15 {\displaystyle 2 \over {\sqrt {15}}}
5 T {\displaystyle T} 6 7 2 -1 15 2 sin ( θ ) sin ( 2 ϕ ) {\displaystyle {\frac {\sqrt {15}}{2}}\sin(\theta )\sin(2\phi )} 1 5 {\displaystyle 1 \over {\sqrt {5}}} 2 15 {\displaystyle 2 \over {\sqrt {15}}}
6 R {\displaystyle R} 4 8 2 0 5 2 ( 3 sin 2 ( ϕ ) 1 ) {\displaystyle {\frac {\sqrt {5}}{2}}(3\sin ^{2}(\phi )-1)} 1 5 {\displaystyle 1 \over {\sqrt {5}}} 1 5 {\displaystyle 1 \over {\sqrt {5}}}
7 S {\displaystyle S} 5 6 2 1 15 2 cos ( θ ) sin ( 2 ϕ ) {\displaystyle {\frac {\sqrt {15}}{2}}\cos(\theta )\sin(2\phi )} 1 5 {\displaystyle 1 \over {\sqrt {5}}} 2 15 {\displaystyle 2 \over {\sqrt {15}}}
8 U {\displaystyle U} 7 4 2 2 15 2 cos ( 2 θ ) cos 2 ( ϕ ) {\displaystyle {\frac {\sqrt {15}}{2}}\cos(2\theta )\cos ^{2}(\phi )} 1 5 {\displaystyle 1 \over {\sqrt {5}}} 2 15 {\displaystyle 2 \over {\sqrt {15}}}
9 Q {\displaystyle Q} 15 10 3 -3 35 8 sin ( 3 θ ) cos 3 ( ϕ ) {\displaystyle {\sqrt {35 \over {8}}}\sin(3\theta )\cos ^{3}(\phi )} 1 7 {\displaystyle 1 \over {\sqrt {7}}} 8 35 {\displaystyle {\sqrt {8 \over 35}}}
10 O {\displaystyle O} 13 12 3 -2 105 2 sin ( 2 θ ) sin ( ϕ ) cos 2 ( ϕ ) {\displaystyle {\frac {\sqrt {105}}{2}}\sin(2\theta )\sin(\phi )\cos ^{2}(\phi )} 1 7 {\displaystyle 1 \over {\sqrt {7}}} 3 35 {\displaystyle 3 \over {\sqrt {35}}}
11 M {\displaystyle M} 11 14 3 -1 21 8 sin ( θ ) ( 5 sin 2 ( ϕ ) 1 ) cos ( ϕ ) {\displaystyle {\sqrt {21 \over {8}}}\sin(\theta )(5\sin ^{2}(\phi )-1)\cos(\phi )} 1 7 {\displaystyle 1 \over {\sqrt {7}}} 45 224 {\displaystyle {\sqrt {45 \over 224}}}
12 K {\displaystyle K} 9 15 3 0 7 2 sin ( ϕ ) ( 5 sin 2 ( ϕ ) 3 ) {\displaystyle {\frac {\sqrt {7}}{2}}\sin(\phi )(5\sin ^{2}(\phi )-3)} 1 7 {\displaystyle 1 \over {\sqrt {7}}} 1 7 {\displaystyle 1 \over {\sqrt {7}}}
13 L {\displaystyle L} 10 13 3 1 21 8 cos ( θ ) ( 5 sin 2 ( ϕ ) 1 ) cos ( ϕ ) {\displaystyle {\sqrt {21 \over {8}}}\cos(\theta )(5\sin ^{2}(\phi )-1)\cos(\phi )} 1 7 {\displaystyle 1 \over {\sqrt {7}}} 45 224 {\displaystyle {\sqrt {45 \over 224}}}
14 N {\displaystyle N} 12 11 3 2 105 2 cos ( 2 θ ) sin ( ϕ ) cos 2 ( ϕ ) {\displaystyle {\frac {\sqrt {105}}{2}}\cos(2\theta )\sin(\phi )\cos ^{2}(\phi )} 1 7 {\displaystyle 1 \over {\sqrt {7}}} 3 35 {\displaystyle 3 \over {\sqrt {35}}}
15 P {\displaystyle P} 14 9 3 3 35 8 cos ( 3 θ ) cos 3 ( ϕ ) {\displaystyle {\sqrt {35 \over {8}}}\cos(3\theta )\cos ^{3}(\phi )} 1 7 {\displaystyle 1 \over {\sqrt {7}}} 8 35 {\displaystyle {\sqrt {8 \over 35}}}
16 ø 17 4 -4 3 8 35 sin ( 4 θ ) cos 4 ( ϕ ) {\displaystyle {\frac {3}{8}}{\sqrt {35}}\sin(4\theta )\cos ^{4}(\phi )} 1 3 {\displaystyle {\frac {1}{3}}} ø
17 ø 19 4 -3 3 2 35 2 sin ( 3 θ ) sin ( ϕ ) cos 3 ( ϕ ) {\displaystyle {\frac {3}{2}}{\sqrt {\frac {35}{2}}}\sin(3\theta )\sin(\phi )\cos ^{3}(\phi )} 1 3 {\displaystyle {\frac {1}{3}}} ø
18 ø 21 4 -2 3 4 5 sin ( 2 θ ) ( 7 sin 2 ( ϕ ) 1 ) cos 2 ( ϕ ) {\displaystyle {\frac {3}{4}}{\sqrt {5}}\sin(2\theta )(7\sin ^{2}(\phi )-1)\cos ^{2}(\phi )} 1 3 {\displaystyle {\frac {1}{3}}} ø
19 ø 23 4 -1 3 4 5 2 sin ( θ ) sin ( 2 ϕ ) ( 7 sin 2 ( ϕ ) 3 ) {\displaystyle {\frac {3}{4}}{\sqrt {\frac {5}{2}}}\sin(\theta )\sin(2\phi )(7\sin ^{2}(\phi )-3)} 1 3 {\displaystyle {\frac {1}{3}}} ø
20 ø 24 4 0 3 8 ( 35 sin 4 ( ϕ ) 30 sin 2 ( ϕ ) + 3 ) {\displaystyle {\frac {3}{8}}(35\sin ^{4}(\phi )-30\sin ^{2}(\phi )+3)} 1 3 {\displaystyle {\frac {1}{3}}} ø
21 ø 22 4 1 3 4 5 2 cos ( θ ) sin ( 2 ϕ ) ( 7 sin 2 ( ϕ ) 3 ) {\displaystyle {\frac {3}{4}}{\sqrt {\frac {5}{2}}}\cos(\theta )\sin(2\phi )(7\sin ^{2}(\phi )-3)} 1 3 {\displaystyle {\frac {1}{3}}} ø
22 ø 20 4 2 3 4 5 cos ( 2 θ ) ( 7 sin 2 ( ϕ ) 1 ) cos 2 ( ϕ ) {\displaystyle {\frac {3}{4}}{\sqrt {5}}\cos(2\theta )(7\sin ^{2}(\phi )-1)\cos ^{2}(\phi )} 1 3 {\displaystyle {\frac {1}{3}}} ø
23 ø 18 4 3 3 2 35 2 cos ( 3 θ ) sin ( ϕ ) cos 3 ( ϕ ) {\displaystyle {\frac {3}{2}}{\sqrt {\frac {35}{2}}}\cos(3\theta )\sin(\phi )\cos ^{3}(\phi )} 1 3 {\displaystyle {\frac {1}{3}}} ø
24 ø 16 4 -4 3 8 35 cos ( 4 θ ) cos 4 ( ϕ ) {\displaystyle {\frac {3}{8}}{\sqrt {35}}\cos(4\theta )\cos ^{4}(\phi )} 1 3 {\displaystyle {\frac {1}{3}}} ø

However, please note that only the Furse-Malham and SN3D/ACN encodings are in wide use. (Traditional B-Format is a subset of Furse-Malham.) For both of these encodings, the equations can be expressed directly, without separate normalisation or conversion factors, and there is no ambiguity around ordering.

File formats and metadata

For file-based storage and transmission, additional properties need to be defined, such as the base file format and, if desired, accompanying metadata.

AMB

The .amb file format was proposed and defined by Richard Dobson in 2001, based on Microsoft's WAVE_FORMAT_EXTENSIBLE amendment to the WAV audio file format. It mandates the use of Furse-Malham encoding.

From its parent, it inherits a maximum file size of 4GB, which is a serious limitation for live recording in higher orders.

.amb Files are distinguished from other multichannel content by their suffix and by setting the file subtype Globally Unique Identifier in their header data to either of the following values:

  • SUBTYPE_AMBISONIC_B_FORMAT_PCM {00000001-0721-11d3-8644-C8C1CA000000} for integer samples, or
  • SUBTYPE_AMBISONIC_B_FORMAT_IEEE_FLOAT {00000003-0721-11d3-8644-C8C1CA000000} for floating point.

The definition mandates that the WAVE_EX dwChannelMask must be set to zero. Furthermore, it recommends that the file should contain a PEAK chunk, containing the value and position of the highest sample in each channel.

The channels within an .amb file are interleaved, and any unused channels are omitted. This makes it possible to identify traditional #H#P mixed-order content by the number of channels present, as per the following table:

.amb to B-format channel mapping
No of chns Order Description Layout of components
horiz. vert.
1 0 0 mono W {\displaystyle W}
2 1⁄2 0 M/S stereo W Y {\displaystyle WY}
3 1 0 first-order horizontal W X Y {\displaystyle WXY}
4 1 1 first-order full-sphere W X Y Z {\displaystyle WXYZ}
5 2 0 second-order horizontal W X Y U V {\displaystyle WXYUV}
6 2 1 second-order horizontal, first-order full-sphere W X Y Z U V {\displaystyle WXYZUV}
7 3 0 third-order horizontal W X Y U V P Q {\displaystyle WXYUVPQ}
8 3 1 third-order horizontal, first-order full sphere W X Y Z V U P Q {\displaystyle WXYZVUPQ}
9 2 2 second-order full-sphere W X Y Z R S T U V {\displaystyle WXYZRSTUV}
11 3 2 third-order horizontal, second-order full sphere W X Y Z R S T U V P Q {\displaystyle WXYZRSTUVPQ}
16 3 3 third-order full sphere W X Y Z R S T U V K L M N O P Q {\displaystyle WXYZRSTUVKLMNOPQ}

The free and open source C library libsndfile has included .amb support since 2007.

Dobson's format has been instrumental in making native Ambisonic content easily accessible to enthusiasts, and to pave the way for research and deployment of Higher-order Ambisonics. While it cannot scale any further than third order and does not accommodate #H#V mixed order sets, its capabilities are more than sufficient for most Ambisonic content in existence today, and backwards-compatibility to .amb is an important feature of any real-world Ambisonic workflow.

AmbiX

AmbiX adopts Apple's Core Audio Format or .caf. It scales to arbitrarily high orders and has no practically relevant limitation of file size. AmbiX files contain linear PCM data with word lengths of 16, 24, or 32 bit fixed point, or 32 or 64 bit float, at any sample rate valid for .caf. It uses ACN channel ordering with SN3D normalisation.

The basic format of AmbiX mandates a complete full-sphere signal set, the order of which can be uniquely and trivially deduced from the number of channels. Only the minimum header information required by the .caf specification are present and no other metadata is included.

The extended format is marked by the presence of a User-Defined Chunk with the UUID

1AD318C3-00E5-5576-BE2D-0DCA2460BC89.

(The original specifications used 49454D2E-4154-2F41-4D42-49582F584D4C, which is an invalid UUID ). Additionally, the header now contains an adaptor matrix of coefficients, which needs to be applied to the data streams before they can be played back. This matrix provides a generic way of mapping payloads in any previous format and any mix of orders to canonical periphony, ACN ordering and SN3D normalisation. Theoretically, it can even accommodate sound fields that span only subsets of the sphere.

AmbiX was originally proposed at the Ambisonic Symposium 2011, building upon previous work by Travis and Chapman et al.

Notes

  1. sgn(x) is the Sign function.
  2. ^ MaxN* (starred) denotes maxN normalisation with the additional -3dB correction factor for W.
  3. Dobson (2001) uses "1", which would imply a complete set of horizontal components WXY.

References

  1. ^ Christian Nachbar; Franz Zotter; Etienne Deleflie; Alois Sontacchi (June 2–3, 2011). AmbiX – A Suggested Ambisonics Format. Ambisonics Symposium 2011. Lexington (KY).
  2. ^ Malham, David (April 2003). "Higher order Ambisonic systems" (PDF). Space in Music – Music in Space (Mphil thesis). University of York. pp. 2–3. Retrieved 2 November 2007. Max-Normalisation (MaxN) by Daniel The factors for this can be obtained by inspection up to about third order but over this point it becomes more difficult and requires the maxima of each polynomial to be determined (either mathematically or numerically) explicitly and then inverted.
  3. Jérôme Daniel, Représentation de champs acoustiques, application à la transmission et à la reproduction de scènes sonores complexes dans un contexte multimédia, Paris 2001, p.151
  4. Jérôme Daniel, Spatial Sound Encoding Including Near Field Effect: Introducing Distance Coding Filters and a Viable, New Ambisonic Format, 23rd AES Conference, Copenhagen 2003, p. 13
  5. ^ Michael Chapman et al., A standard for interchange of Ambisonic signal sets, Ambisonics Symposium, Graz 2009
  6. Nachbar, Zotter, Deleflie, and Sontacchi (2011) lc, p.3, eq(3)
  7. Daniel (2001), lc, p.156, translated from French "Grande généricité: calcul récursif des coefficients d'encodage, les composantes d'ordre 1 étant celles du vecteur incidence (unitaire) u {\displaystyle {\vec {u}}} ."
  8. Daniel (2001) lc, p.156, translated from French "Base orthonormée pour la décomposition 3D. Relation simple á SN3D (facteur 2 m + 1 {\displaystyle {\sqrt {2m+1}}} ). Assure une puissance égale des composantes encodées dans le cas d'un champ parfaitement diffus 3D (intérêt dans le domaine analogique). Intérêt évident pour la résolution (en 3.3) des problèmes de décodage (restitution 3D)."
  9. Daniel (2001), lc, p.150 eq(3.9)
  10. MathWorks documentation: legendre
  11. GNU Octave documentation: legendre
  12. Wolfram language documentation: LegendreP
  13. Wolfram language documentation: SphericalHarmonicY
  14. Michael Chapman, Ambisonic channel sequence (proposed standard) Archived 2012-09-30 at the Wayback Machine
  15. ^ Richard Dobson The AMB Ambisonic File Format Archived 2014-04-22 at the Wayback Machine
  16. IEM, AmbiX reference implementation (API documentation)
  17. Travis, Chris, A new mixed-order scheme for Ambisonic signals Archived 2009-10-04 at the Wayback Machine, Ambisonics Symposium, Graz 2009

External links

Category: