Toolkit | Ears Audio

gain_i = Σ_mn B_mn * Y_mn(l_i) with optional or basic energy preservation for in-phase rendering. 2.2. Microphone Array Processing Eigenmike (em32) → Ambisonics up to 3rd order: Uses pseudo-inverse of spherical harmonic matrix sampled at capsule positions.

– For a plane wave from direction (θ, φ) with signal s(t) : ears audio toolkit

– For loudspeakers at directions l_i : gain_i = Σ_mn B_mn * Y_mn(l_i) with optional

B_mn(t) = s(t) * Y_mn(θ, φ) where Y_mn are real spherical harmonics (SN3D normalization). – For a plane wave from direction (θ,

– Decodes to B-format via fixed matrix derived from capsule directivity (cardioid/omni).

| Order | Channels | Encoding Example (SH coefficients) | |-------|----------|-------------------------------------| | 0 (Omni) | 1 | W | | 1 | 4 | W, X, Y, Z | | 2 | 9 | + channels R, S, T, U, V | | 3 | 16 | Higher order |

– Allows user to define arbitrary sphere/plane arrays and compute encoding matrix. 2.3. Binaural Rendering Core pipeline: Ambisonic signal → SH-domain rotation → SH-to-binaural filter bank → Headphone output.