GameAudio
The sound of the Combing Vault: one component that owns every voice in THE LAST STRAW.
GameAudio
The sound of the Combing Vault: one component that owns every voice in THE LAST STRAW.
Attaches to the GameAudio director entity the scene spawns. It needs nothing
from a sibling component: it reads game.shared.game's bus and
GAME.state.attunement, and it plays through the AudioListener the player
camera carries, so nothing else has to cue a sound.
What plays, and when
| Voice | Signal / state | Where it is heard |
|---|---|---|
| cathedral bed, looping | always, from the moment play begins | 2D, under everything |
| attunement tone | GAME.state.attunement | 2D, volume and pitch rise with it; silent at 0 |
| gauntlet grip | needle.held | spatial, at the needle |
| steel scrape | needle.held, 60 ms later | spatial, at the needle |
| needle ring | needle.pulled | spatial, at the needle |
| needle clatter | needle.dropped | spatial, on the floor by the bale |
| Codex whisper | codex.unlocked | spatial, where the witness needle was |
| choir-and-bell sting | straw.found | 2D, and the bed steps back for it |
| begin / click / hover | phase, ui.begin, ui.click, ui.hover | 2D, small and dry |
The UI slice may emit ui.hover / ui.click / ui.begin for its own buttons;
when it does, the sound comes from here. Until it does, the hover tick is
driven by watching the pointer: while a menu phase is up, moving onto a
different widget plays it (debounced, and only over menus).
Mix
The bed is deliberately low, the tone is unmistakeable at attunement 1, and every one-shot is attenuated by how many are already sounding. A loud event ducks the bed rather than raising the voice. Nothing here touches the master level or a channel level, so a settings screen that turns the mix down stays in charge.
Slots
Every cue is a generated .soundClip under game/audio/. The bed, the tone
and each one-shot are real generated clips, not placeholders.
Scoped to this part · feeds back into the world's score.