1681-engine / index / SoundTable
Interface: SoundTable ​
Defined in: src/audio/soundTable.ts:8
The sounds the engine can play: synthesised recipes by name, plus the master share every sound plays at. Empty until the game registers its own (registerSounds); the mapping from game happenings to sound names stays in the game.
Properties ​
master ​
ts
master: number;Defined in: src/audio/soundTable.ts:10
Share of the effects volume everything plays at: keeps full volume modest next to the music.
recipes ​
ts
recipes: Record<string, SynthRecipe>;Defined in: src/audio/soundTable.ts:11