Higher-Order Ambisonic Encoder — Point Sources & Speaker Beds
Encode a single point source or an existing multichannel loudspeaker bed into portable Full-3D ambiX ACN/SN3D, from 1st through 5th order.
What this does
Higher-Order Ambisonic Encoder converts either a point source or an existing multichannel loudspeaker bed into a combined ambiX ACN/SN3D B-format representation. It supports Full-3D HOA orders 1–5: 4, 9, 16, 25, or 36 channels.
Two input modes
Point source
Mono input is encoded directly. Stereo or multichannel input is first summed to mono, then placed at one direction. Distance applies one shared inverse-distance amplitude scalar; it is not near-field compensation.
Multichannel speaker bed
Each input channel is treated as a fixed source located at its loudspeaker direction. The ACN/SN3D contribution of every feed is accumulated into one Ambisonic field. This avoids extracting and encoding channels one by one.
Speaker-bed layouts
| Layout | Input channels | Notes |
|---|---|---|
| 2.0 | 2 | L/R at ±30° |
| 4.0 quad | 4 | Four directional feeds |
| 5.0 | 5 | L, R, C, Ls, Rs |
| 5.1 | 6 | Channel 4 treated explicitly as LFE |
| 7.0 | 7 | Seven directional feeds |
| 7.1 | 8 | Choose explicitly when channel 4 is LFE |
| 8-ring | 8 | Channel 1 front, then evenly spaced around the ring |
| 7.1.4 | 12 | Eight bed channels including LFE + four height feeds |
| 12-ring | 12 | Even horizontal ring |
| 16-ring | 16 | Even horizontal ring |
| 22.2 | 24 | NHK / Spat channel order; two LFE feeds handled separately |
| Even horizontal ring | 2–64 | Uses all input channels at equal angular spacing |
HOA orders
| Order | ambiX channels | ACN range |
|---|---|---|
| 1st | 4 | ACN0–3 |
| 2nd | 9 | ACN0–8 |
| 3rd | 16 | ACN0–15 |
| 4th | 25 | ACN0–24 |
| 5th | 36 | ACN0–35 |
The encoder uses a generic real spherical-harmonic engine with ACN indexing and SN3D normalization, rather than a separate hard-coded formula set for each order.
LFE policy
Ambisonics has no directional LFE component. For 5.1, 7.1, 7.1.4, and 22.2, choose one of two explicit policies:
- Ignore LFE — recommended default. The LFE feed is not included in the Ambisonic field.
- Add LFE to ACN0/W only — preserves it as an omnidirectional contribution without inventing a spatial direction.
Workflow examples
8-channel ring master
↓
Encoder: Speaker Bed / 8-ring / HOA3
↓
16-channel ambiX master
↓
Decoder → 7.1.4 / 22.2 / another ring
└→ IRCAM ambiX B-format → binauralMono source ↓ Encoder: Point Source / azimuth / elevation / HOA5 ↓ 36-channel ambiX master
Technical behavior
- ambiX convention: 0° front, +90° left, −90° right, +Z upward.
- One shared peak-protection factor is applied only when necessary; quiet material is not normalized upward.
- Internal reference-direction and SN3D energy-identity tests cover orders 1–5.
- Fixed-media submission mode remains available for the point-source HOA3 combined-WAV workflow.
- Combined outputs are suitable as portable spatial masters; raw Ambisonic channels should be decoded before loudspeaker or headphone listening.
Outputs
Choose individual ACN channels, one combined multichannel B-format Sound, or both. Optional WAV export validates the combined file. Speaker-bed output names identify the source layout; point-source output names identify the encoded position/preset.