[art] No music — audio.js synthesizes SFX only, no background music or ambient track #10
Labels
No labels
blocked:needs-attention
blocked:needs-decision
blocked:needs-decompose
blocked:needs-design
blocked:needs-triage
blocked:unclassified
bug
documentation
enhancement
gsd-spec
in-progress
needs-decompose
priority:high
priority:low
priority:medium
quickfix
test
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/cybertactics#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Asset gap.
web/js/audio.jssynthesizes 10 SFX cues (shot, melee, boom, alert, hack, pickup, click, door, win, lose) via WebAudio oscillators and noise buffers. No music is loaded or scheduled anywhere.The README's gameplay loop is "semi-realtime squad tactics — strike teams, playbooks, snap-focus events." A 3-mission campaign with persistent progression and an after-action report is unaccompanied by any background music.
What's missing:
Implementation note:
audio.jsalready gates on first user gesture (silent no-op when AudioContext unavailable). Music should follow the same pattern — synthesized if no asset available, or load an OGG/MP3 if dropped intoweb/assets/music/.Acceptance:
Refs:
web/js/audio.jssynthesizes SFX at_master.gain = 0.14.Shipped as commit
a53d5c0on main. Synthesized two looped tracks in web/js/audio.js (no asset files required):Music bus sits well below the SFX master (0.06 vs 0.14) so it never competes with combat cues. The full asset-loader scaffolding (_tryLoadAsset, _playAssetLoop) is wired up and ready to be enabled in one place if/when OGGs are dropped into web/assets/music/ -- see the README there.
make ci all gates green after rebase: 7 smoke scripts + lint + Playwright + Godot headless import.