Audio · function
masterFilterInsert
The master low-pass: everything the player hears, including the world's own sound.
Explained in Your first game.
function masterFilterInsert(context: BaseAudioContext, scheduleAt: ScheduleClock): MasterFilterInsertimport { masterFilterInsert } from '@driftengine/audio';Parameters
| Parameter | Type | Description |
|---|---|---|
context | BaseAudioContext | |
scheduleAt | ScheduleClock |
In depth
Deliberately across the whole mix rather than the score alone — going under water muffles the world, not only the music.