Commit Graph

1 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