Skip to content

Section kits: load a song kit's samples ahead - #315

Merged
Devko merged 8 commits into
mainfrom
claude/project-thread-178k7b
Nov 30, 2026
Merged

Devko merged 8 commits into
mainfrom
claude/project-thread-178k7b

Conversation

@Devko

@Devko Devko commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Requested by Roland · project thread

The second Fable review (2026-11-30), proposal 9: section kits load their samples ahead.

  • A song kit read ahead stages each plain sample file that differs from the playing one into the track's staging slot (pool slots 16-23, inside the same 64 MiB budget) during the section before. The engine applies it with the kit at the boundary, so entry 2's first step plays the new file with no gap. Zone tracks, streamed files and files that do not fit beside the playing one load after the boundary, as they did.
  • Turning the chain off drops a held kit together with its staged files.
  • SAVE with a song kit playing that was edited since it landed says SAVING K2 UNCHANGED: the edit lives in the project's kit, not KIT_2.BIN (Roland's choice, in DESIGN_NOTES).

Fix for main: #312 moved CHAIN to row 20 of the FUNC menu, and the walk pushed the chain start past the end of scenario_sections.sh and scenario_sectionkit.sh (both fail on main). They now jump with SET's screen key first and walk from CLICK. scenario_prep_slice.sh still removed a slice point with CLR twice, which #310 moved to push B; it pushes B now.

Checks

  • Host: build, test (5,111,040 checks), warn, check_rules all pass.
  • GCC-only scenarios: m0, factory, genload (66.94%), visuals, sectionkit, sections, nextsong, clear, tempoguard, arrrec pass. energy is at 71.14% against its 70% GCC-only target, as on main (70.6%).
  • cl6x figures still to come from Roland's PC.
  • Unit check W125.

Generated by Claude Code

… SAVE keeps

The second review (2026-11-30), proposal 9:
- A song kit read ahead stages each plain file that differs from the
  playing one into the track's staging slot (pool slots 16-23, same 64 MiB
  budget) during the section before; Cmd::stage_sample hands it over and
  the engine applies it with the kit at the boundary
  (Status::section_kit_staged). The main context then swaps the pool
  records and releases the replaced range. Zone tracks, streamed files,
  files that do not fit and dropped kits load after the boundary as before.
- Turning the chain off drops a held kit, with its staged files.
- SAVE with a song kit playing that was edited since it landed says
  SAVING  K2 UNCHANGED: the edit is the project's kit, not KIT_2.BIN.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tw2EaEK2oaJWJMdGQTNLPf
Main took W112 for GEN as a band.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tw2EaEK2oaJWJMdGQTNLPf
The menus-by-group change put CHAIN twenty rows down, and the walk pushed the chain start
past the end of both chain scenarios' runs. SET's screen key jumps to the settings first.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tw2EaEK2oaJWJMdGQTNLPf
#310 moved slice point removal from CLR to push B; this scenario still tapped CLR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tw2EaEK2oaJWJMdGQTNLPf
@Devko
Devko merged commit 6b9a686 into main Nov 30, 2026
3 checks passed
Devko pushed a commit that referenced this pull request Nov 30, 2026
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.

2 participants