Skip to content

Songbook 0.1.0-experimental: out of drafts, listed, with its USB package (Octatrack) - #2116

Merged
repeat98 merged 11 commits into
repeat98:mainfrom
Andrey-Sidorkin:module/songbook-release
Nov 24, 2026
Merged

repeat98 merged 11 commits into
repeat98:mainfrom
Andrey-Sidorkin:module/songbook-release

Conversation

@Andrey-Sidorkin

Copy link
Copy Markdown
Contributor

Songbook 0.1.0-experimental: out of drafts, listed, with its USB package (as asked in #2096). Nothing in the module's code changes: the package is 84a8ba8a…, the build tested on my MKI.

What changes for players: Songbook appears in the library and installs over USB: 128 arrangements per project as 16 books of 8, LEFT/RIGHT in ARR > CHANGE (stopped) to step books.

Who must act: a device reviewer or maintainer, to review this first release. @repeat98, one question below about the development twin.

Tested on a unit: package 84a8ba8ac39f74aaa8cd842f3179a1f8b0d38a24ffb32b56765daeb417c4ac47 (source c642ca2), MKI (OS 1.40C). test:procedure songbook on a development twin 4c7eb79b (main 3043f83, with #2103): steps 1-10 passed (scripted pass, 120 s soak with MIDI, cost at rest 0, put back). The developer's own results on this package on the flashed base (book switching, list cursor and YES after a switch, LOAD of another project and back, PLAY), as I reported them in #1737.

Question for the owner: on that twin Songbook's UI hooks were not seen to run: no BOOK label in ARR > CHANGE, RIGHT switched nothing, and the module's diagnostic word did not change across FUNC + PATTERN. So steps 7-9 show the package installs, survives the scripted pass and the soak and costs nothing at rest, not that its features ran there; TESTING.md says so. I built the twin with build_core.py and the beta base's flags minus the controller rows, plus --dev (OCTATRACK_DRIVING.md). Is that the right recipe, or does it leave out what dispatches module_key, module_tick and module_draw?

Details
  • Moved sdk/drafts/songbook to sdk/octatrack/modules/songbook; release notes to src/community/module-changelogs/songbook.json; catalog entry; REQUESTED and the package table; the packages built in the isolated container and imported; octatrack:module-packages gave 84a8ba8a….
  • tests.qualification: the dearest event, a book switch from book 1, 13,754,188 executed ColdFire instructions under ot_emu (budget 26,600,000); memory 7,292 + 4,728 bytes and a 20-byte battery RAM record; the hardware report above.
  • evidence/performance.json (key template): 20 cycles of PLAY, a refused switch while playing, STOP, a Part change (FUNC + MIDI on the MKI) and a switch, no hang.
  • resources.cpuPrice 0 from device:price (frame 58.1 % before, 57.7 % installed), with the twin caveat.
  • Not run: MAIN/CUE recording over USB (no recorder here, no USB AUDIO on the twin; the module makes no sound); an MKII.

Edge cases

Case Why this change makes it a risk How run Result
The package installed beside a full set a listed module is offered beside every other test:procedure step 7 on the twin pass: no crash, stall, freeze or skipped track
120 s soak with MIDI over USB listing exposes it to long sessions test:procedure step 8 pass
Book switch while playing stock's write job would stop playback ot_emu, 20 cycles pass: refused
The features on a development twin the UI hooks were not seen to run there test:procedure step 11 by hand fail: no BOOK label, no switch (asked above)
MKII another panel none not run: no MKII

What the guides lacked or got wrong: TEST_PROCEDURE.md's soak needs scripts/octatrack-midi-bridge.py running, which on macOS needs mido and python-rtmidi; the procedure only says so when the soak fails. Not fixed here (one change per PR).

🤖 Generated with Claude Code

Сидоркін Андрій Володимирович and others added 6 commits November 24, 2026 13:43
… into module-changelogs, listed in the catalog (qualification, CPU price and packages to follow)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…der ot_emu, memory, the developer's MKI results on package 84a8ba8a), resource gauges and the declared screenshot

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…age 84a8ba8a), CPU price 0 from device:price, the key-press performance record (dearest switch 13.75 M instructions, 20 cycles without a hang)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e table

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r's MKI) and the source-built packages imported

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Andrey-Sidorkin

Copy link
Copy Markdown
Contributor Author

One more check on the current base, passed. On my MKI, flashed base eb667962 (updated today), package 84a8ba8a kept over USB: book 3 with arrangement 4 chosen, then a power cycle; ARR > CHANGE came back on BOOK 3 with the cursor on arrangement 4, as I reported it. (A setlist resume bug I'm seeing after a power cycle is in the unreleased setlists build, not in this version.)

🤖 Generated with Claude Code

repeat98 and others added 2 commits November 24, 2026 17:14
# Conflicts:
#	src/engine/assets/module-build.json
Isolated build in the modwerk-source-tools image after merging main (Resonator
0.1.0 and Scale Quantizer 0.1.5 there), imported with --development:
module-build.json pins this branch. requested-packages.json was unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98

Copy link
Copy Markdown
Owner

Thanks, Songbook looks ready to go out as experimental. Your power-cycle check on the flashed base shows the features working where players will use them.

About the twin: your recipe matches what the guide says. Hooks not running on that twin is a question about the twin, not about Songbook, and it doesn't hold this release. I'll look into it separately.

One thing on our side: the branch conflicted with main (the package build record, after Resonator and Scale Quantizer landed). I'm merging main in and rebuilding the packages in the isolated build. Please don't push to this branch until it merges. Anything new can go into 0.1.1. Once the checks are green on that head, I'll approve and merge.

repeat98 added a commit that referenced this pull request Nov 24, 2026
… unit (#2123)

The guide opened with "Drive an Octatrack MKII", and a Grain author's agent
concluded the frame-cost curve needed the owner's unit (#2115). Contributors
ran the whole procedure on their own MKI twins on 24 November (#2081, #2116).
Room made under the 40 KiB cap: a repeated boot sentence and the 72 s boot note.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
repeat98 added a commit that referenced this pull request Nov 24, 2026
… files (#2127)

An eager import.meta.glob bakes its file list into the importing module's cached
transform, and fsModuleCache keys that transform by the module's own content.
SYNTIZ 0.1.1 added evidence/frame-cost.json, so every cached run (locally, and
in CI, which restores node_modules/.vite/vitest) still saw no curve for it and
ModuleCaution.test.ts failed on main's code (#2116, #2081). Without the cache
the test passes. Closes #2124.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

@repeat98 repeat98 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed: Songbook 0.1.0-experimental, its test record and the refreshed packages. Approved for this commit.

@repeat98

Copy link
Copy Markdown
Owner

/modwerk merge acfc468

@repeat98
repeat98 merged commit 7ad7087 into repeat98:main Nov 24, 2026
13 checks passed
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