Replace the synthesized soundscapes with generated clips #11

Merged
cmoriarty merged 2 commits from generated-ambient-music into main 2026-12-03 21:50:01 -05:00
Owner

The four selectable soundscapes (ocean, forest, rain, ambient) were synthesized in-browser from swept noise and a pad-chord schedule, so they all sounded like variations of digital white noise.

Each soundscape is now a real, relaxing generated clip (60s, ~1.7MB), played back through the same Music dropdown via a fetch -> decode -> cached -> loop-with-fade engine, behind the same public audio API. Switching is immediate; the choice is still persisted; a clip that fails to load or decode falls back to silence rather than breaking gameplay. The placement click and the win firework stay synthesized. AGENTS.md is updated to match.

OpenSpec: generated-ambient-music (spec deltas in this PR; will fold into openspec/specs/puzzle-audio/spec.md on archive).

The four selectable soundscapes (ocean, forest, rain, ambient) were synthesized in-browser from swept noise and a pad-chord schedule, so they all sounded like variations of digital white noise. Each soundscape is now a real, relaxing generated clip (60s, ~1.7MB), played back through the same Music dropdown via a fetch -> decode -> cached -> loop-with-fade engine, behind the same public audio API. Switching is immediate; the choice is still persisted; a clip that fails to load or decode falls back to silence rather than breaking gameplay. The placement click and the win firework stay synthesized. AGENTS.md is updated to match. OpenSpec: `generated-ambient-music` (spec deltas in this PR; will fold into `openspec/specs/puzzle-audio/spec.md` on archive).
All four selectable soundscapes (ocean, forest, rain, ambient) were generated in-browser from swept noise and a pad-chord schedule, so they all sounded like variations of digital white noise.

Each soundscape is now a real, relaxing generated clip (60s, ~1.7MB): fetch -> decode -> cached -> loop with a fade-out near the end and a fade-in on restart, behind the same public audio API. Switching is immediate and the choice is still persisted; a clip that fails to load or decode falls back to silence rather than breaking gameplay.

The placement click and the win firework stay synthesized on the fly. AGENTS.md's audio project note is updated accordingly.
Proposal, spec deltas, design and tasks for replacing the synthesized soundscapes with generated clips.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/brooke!11
No description provided.