Audio · const

FOA_SPEAKERS

The virtual speaker layout: the six world axes, in this engine's own frame.

Explained in Your first game.

const FOA_SPEAKERS: readonly (readonly [number, number, number])[]
import { FOA_SPEAKERS } from '@driftengine/audio';

In depth

An octahedron is a spherical 2-design, so the projection decode below reconstructs a first-order field exactly rather than approximately — which is the reason to spend six on a shape rather than six on a ring.