Commit Graph

2 Commits

Author SHA1 Message Date
Brian Fertig 4d9ccbe3e5 Add per-frame gain to cues and maglev train sounds to Cyberpunk City
- Extend `Cue` with an optional `gain(t)` so a cue's volume can be rescaled every frame while it plays (e.g. by source distance), updated live in `CueTrack`.
- Play each maglev train's `fx-train.mp3` as it slides into view, swelling with the drone's proximity via `TRAIN_PASSES` distance data in `traffic.ts`.
- Rework flyby selection to avoid reusing a file still playing for an earlier car instead of just skipping close passes.
- Fix train window shading to be relative to each car's own end so windows ride along with it.
- Update README cue docs and swap the `fx-city.mp3` ambience loop.
2026-10-31 20:06:49 -06:00
Brian Fertig 5e19f6e08e Add Cyberpunk City meditation scene
- New 5-minute pixel scene: rain-soaked neon avenue with buildings, crowds, traffic, holograms, and wet-street reflections, drifting to a plaza screen that dissolves into a moonlit sea
- Generalize ambience to support layering multiple loops (rain + city noise) in types and Player
- Register the meditation and document it plus the new `ambience` list form
2026-10-31 16:21:23 -06:00