Audio · function
fireLoopBuffer
Fire: a broadband hiss with sparks over it.
Explained in Your first game.
function fireLoopBuffer(ctx: BaseAudioContext, seconds?: number): AudioBufferimport { fireLoopBuffer } from '@driftengine/audio';Parameters
| Parameter | Type | Description |
|---|---|---|
ctx | BaseAudioContext | |
seconds? | number |
In depth
The hiss alone reads as static; the sparks are what make it fire, and they have to be irregular — anything periodic turns a hearth into a machine.