Skip to content

Add singleton music room playback - #309

Open
han4wluc wants to merge 5 commits into
mainfrom
docs/music-room-design
Open

Add singleton music room playback#309
han4wluc wants to merge 5 commits into
mainfrom
docs/music-room-design

Conversation

@han4wluc

@han4wluc han4wluc commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add the strict singleton resources.musicRoom catalog and computed musicRoom projection
  • add paginated track navigation plus play, pause, stop, seek, previous/next, and clear actions
  • integrate Route Graphics 1.31.1 command-controlled playback and cursor-preserving looping-BGM audio focus
  • route ready, progress, completion, and error events through stale-safe private engine actions
  • keep player state transient across saves and rollback while resetting it on load, story reset, and project replacement
  • preserve template-looking authored and event-supplied track IDs as literal runtime data

Validation

  • bun run test — 1,298 tests passed
  • bun run lint
  • node esbuild.js
  • browser fixture: real canvas Play/Pause/Seek/Resume/Clear dispatch, renderer readiness/progress, stable paused cursor, mixer rerender command retention, and looping-BGM restoration

@han4wluc han4wluc changed the title Document music room design Add singleton music room playback Jul 28, 2026
# Conflicts:
#	bun.lock
#	package.json
#	spec/RouteEngine.audioChannels.test.js
#	src/stores/constructRenderState.js
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