Audio · const
MASTER_OPEN_HZ
Where the master low-pass stands until somebody moves it: open, at the top of its range.
Explained in Your first game.
const MASTER_OPEN_HZ = 20000import { MASTER_OPEN_HZ } from '@driftengine/audio';In depth
It stood at cutoffForSpeed(0, 1) — 320 Hz — until 2026-09-19, so every mix was heard
through a wall until its caller drove the speed curve above: one game's "the filter opens as you
sprint" standing in as every consumer's default. A game that wants its world muffled at rest
says so with setCutoff(cutoffForSpeed(0, max)), and one that never thought about it hears its
mix.