▣
module · drop-in viewer
What it does
game.audio.sound
The game's sound on each machine:
- Music: the Thursday loop, swapped for the warm daydream loop (
daydream(on)). - Weather: a drizzle bed that swells outdoors and drops to a murmur indoors.
- Room beds: the courtyard ambience outdoors (distant traffic, gutters, a crow), the office's ventilation hum, the grocery store's fridge hum and scanner beeps. They crossfade by
game.world.runtime.room();M.BEDSsets each room's clip and level, and a room with no entry (the flat) gets none. - Pikkis motor: a spatial microcar whine on the
Pikkisentity that starts when someone is in it or it moves and climbs in pitch and level up to 45 km/h. vehiclesKit's own kart voice stays underneath it, held atM.MOTOR.engineVoiceVolume.M.MOTORholds the level, range and top speed. - Footsteps: wet steps while the body moves.
- One-shots:
play(cue)/clip(cue)for the vending machine, washer, phone buzz (wired to pocketPhoneKit'snotify), chores, alarm, success, checkout and the paperwork stamp (played on every paperworkKitminigameDone).
Bus sounds live in busLineKit (each BusLine bus) and phone key clicks in pocketPhoneKit, not here.
API: start, tick(dt, indoors, rain, speed), play(cue, volume?), clip(cue), daydream(on), stop.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.