Skip to content

feat: zone-aware background audio with crossfade#354

Merged
mokn merged 2 commits intodevfrom
feat/audio-zones
Apr 13, 2026
Merged

feat: zone-aware background audio with crossfade#354
mokn merged 2 commits intodevfrom
feat/audio-zones

Conversation

@mokn
Copy link
Copy Markdown
Collaborator

@mokn mokn commented Apr 13, 2026

Summary

  • Replace single cave-melody.ogg with per-zone MIX tracks (Dark Cave, Windy Peaks)
  • SoundContext reads currentZone from MapContext, crossfades between zone audio on transition (2s fade)
  • Moved SoundProvider inside MapProvider to access zone state

Test plan

  • 12 SoundContext tests passing (zone creation, crossfade, toggle, auto-start)
  • Verify on beta: Dark Cave plays dark-cave-mix.ogg
  • Verify on beta: Windy Peaks plays windy-peaks-mix.ogg
  • Verify crossfade on zone transition

🤖 Generated with Claude Code

mokn and others added 2 commits April 13, 2026 08:10
Replace single cave-melody.ogg with per-zone MIX tracks (Dark Cave, Windy
Peaks). SoundContext now reads currentZone from MapContext and crossfades
between zone audio on transition. Moved SoundProvider inside MapProvider
to access zone state.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@mokn mokn merged commit dd56e70 into dev Apr 13, 2026
4 of 11 checks passed
@mokn mokn deleted the feat/audio-zones branch April 13, 2026 14:12
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Building Building Preview, Comment Apr 13, 2026 2:12pm
ud Building Building Preview, Comment Apr 13, 2026 2:12pm
ud-api Building Building Preview, Comment Apr 13, 2026 2:12pm
ud-api-beta Building Building Preview, Comment Apr 13, 2026 2:12pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant