Repository navigation
Octatrack base 0.7.9: Part Edit menu, resting modules, kept effects after a power cycle, status word, CPU in the pick box (folds #1678 #1694 #1610 #1742 #1711) - #1745
Merged
Conversation
…ooks A module that subscribes the new ev_in_use (hook 38, asked by the base from the UI tick, each module on its own) and answers 0 is left out of the rows of the events marked "rests" in events.json (ev_play_increment, ev_voice_bind, ev_voice_bind_run, ev_tail_kill), so the frame interrupt never enters its code there; its other hooks, tables and setup UI stay. The loader keeps a resting and an asking bit per position; a switch wakes its position, and modwerk_runtime_rest_poll restages and commits the rows only when an answer changed, under the lock, fenced against a paused task inside the dispatch and written masked, as a switch is. Modules that do not subscribe never rest. Host tests only; no base regeneration (the base-identity pins are stale until the owner rebuilds the base from a stock OS file). Co-Authored-By: Claude <noreply@anthropic.com>
…alled set changes, so it never shows a removed module. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…menu); Pattern Sample Locks 0.1.9 is its first row Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main took hooks 38-52 for project, bank and Part events (#1564). The generator keeps both new kinds: hooks the base raises itself, and ev_in_use, which the base asks each module. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ckages name it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the base's Part Edit menu Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e's own detours Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n and 0.1.9 MKII screenshots Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… rests A runtime.json may name the module's own detours under "rests". The builder sets bit 7 of those sites' length byte (loader.h RUNTIME_SITE_RESTS), only for a hashed site of a module that subscribes ev_in_use; an older base reads the length as malformed and refuses it. When the rest poll changes a module's state it writes those sites masked, with its rows: stock's bytes while it rests, its patch when it wakes. A wake waits while a paused task would resume inside such a site past its first byte; the site checks (switch, intact, broken, journal) expect stock's bytes in a resting module's resting sites. The reviewed recipes re-pin build.py and verify_static.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…MKII Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ges name it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ack before an at-rest price Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…overload the frame, and the pick box shows its CPU A module effect's package carries its CPU price in its FX page recipe (bytes 46-47, from resources.cpuPrice; older bases ignore them). The base keeps the frame interrupt's share from the frame guard's sums and refuses a pick with CPU FULL when that share plus the price, less the price of the effect the slot runs, reaches mw_frame_line (60 %, measured on an MKII). The box after a pick shows CPU in place of POOL. Effects without a price are judged by the meter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
octatrack:module-packages -- --base-only --stock: the other base-bound packages were already on 0.7.8. Sidechain's held 0.2.1 builds byte-identical under this base, so only its requiredBase moved (test_base_bound rebuilds and compares it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…after #1418); build.py and page-script pins refreshed Generated base files take main's side and are regenerated next. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts: took main's base files and rebuilt (octatrack:base --beta --write: base 0.7.9 f6367148, package 076abb50, fills a27efddc), relinked the base-bound packages with --base-only (bytes unchanged, requiredBase moved), merged octatrack-module-packages.json row by row, kept this branch's empty reconstruction recipe (PSL 0.1.9 drops its route), wrote the size record (805,032 of 851,712 bytes, +2,756 since 0.7.8). The changelog, PSL README and module changelog now say base 0.7.9; TESTING.md notes the tested builds were numbered 0.7.8 and predate #1418. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bound packages re-bound; sizes recorded (+880 since 0.7.8, 48,556 free) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e host test compiles under -Werror #1711 moved every use of it behind #ifndef MODWERK_HOST; the host build then failed on an unused variable (test_recipe.py's test_status.c, the red module-suites (sdk) check). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…kages re-bound, sizes recorded (+776 since 0.7.8, 48,660 free) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…after a project load (#1720) A project load replaced the effect map with the project's lines, so an installed module the project did not name stayed on its handle unnamed; once a track used it, the save wrote no line, and after the next power cycle a pinned module (Tape Echo 15, BBD 14, Euclid 29) was refused RUNTIME_FULL by the restore and every re-add. rebind_tick now names every live module that stays on its handle, and the admission reads a handle's owner as MISSING does (map, else catalogue), so files saved before the fix heal. Host test in test_dsp.c. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nged Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # sdk/machines/octatrack/HOOKS.md # sdk/machines/octatrack/base-binding.json # sdk/machines/octatrack/base-sizes.json # sdk/machines/octatrack/base-versions.json # sdk/machines/octatrack/elekloader/base-version.json # sdk/machines/octatrack/elekloader/runtime_events.h # sdk/machines/octatrack/events.json # sdk/machines/octatrack/include/modwerk_events.h # sdk/machines/octatrack/module-adapters/candidate-recipes.json # sdk/machines/octatrack/module-adapters/controller-policies.json # sdk/machines/octatrack/module-adapters/machine-recipes.json # sdk/machines/octatrack/module-adapters/reconstruction-recipes.json # sdk/machines/octatrack/module-adapters/standalone-recipes.json # sdk/machines/octatrack/site-events.json # src/engine/assets/octatrack-base-fills.json # src/engine/assets/octatrack-base-sources.json # src/engine/assets/octatrack-base-variants.json # src/engine/assets/octatrack-base.elemod # src/engine/assets/octatrack-module-packages.json
# Conflicts: # sdk/machines/octatrack/base-binding.json # sdk/machines/octatrack/base-sizes.json # sdk/machines/octatrack/base-versions.json # src/engine/assets/octatrack-base-fills.json # src/engine/assets/octatrack-base-variants.json # src/engine/assets/octatrack-base.elemod # src/engine/assets/octatrack-module-packages.json
# Conflicts: # sdk/machines/octatrack/base-binding.json # sdk/machines/octatrack/base-sizes.json # sdk/machines/octatrack/base-versions.json # sdk/machines/octatrack/module-adapters/reconstruction-recipes.json # src/engine/assets/octatrack-base-fills.json # src/engine/assets/octatrack-base-variants.json # src/engine/assets/octatrack-base.elemod # src/engine/assets/octatrack-module-packages.json
… (a merge step had kept conflict markers) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…on by price comes with set-carried prices The in-package price (#1711's recipe bytes) would change released packages once #1709 writes prices into manifests, so the packers are back to main's; fxpage.c keeps no price. status.c keeps the frame share and the pick box's CPU row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ackages re-bound, size recorded Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 18, 2026
Closed
repeat98
marked this pull request as ready for review
November 18, 2026 19:48
This was referenced Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One Octatrack base release instead of five base pull requests, each of which would otherwise have rebuilt the base and needed its own unit test and base update. Each one's branch is merged, not squashed, so every author's commits keep their authorship.
ot_part_menuand Improvement: Octatrack base 0.7.8, a module that no track uses rests #1694'sev_in_use). Whichever merged later had to renumber, rebuild and be tested on a unit again, and every one meant another base update for every player.dfa43813…. It folds in:ot_part_menuat index 53, and Pattern Sample Locks 0.1.9, its first contributor.ev_in_usemoves to index 54.ev_engine_job). Its only user, FM Synth 0.1.4 (FM Synth 0.1.4: the author's 2.21 engine; MIDI quantizing moves to Scale Quantizer #1146), is closed, and main has used index 38 since; it closes.read_pairfield in the sample editor's backend breaks the test of the published Beat Slicer 0.1.66. Fixing that test is a change to Beat Slicer, which needs a new Beat Slicer version, so Improvement: add SNAP alignment to Octatrack sample editor #1165 ships with Beat Slicer 0.1.68 as its author planned. It stays open and moves on top of 0.7.9.Octatrack base 0.7.9: 807,036 of 851,712 container bytes, 44,676 free; +4,760 since 0.7.8.pr:readystill names it locally; CI's module-contract job passes.origin/mainmerged after them. Conflicts were only in generated files, which were regenerated:octatrack:base --beta --write,octatrack:module-packages --base-only,events.py --write,base-size.mjs --write.events.jsonkeeps both new entries, renumbered 53 and 54.test_runtime_loader.pyexpectsev_in_useat 54.build.pyand main's page script.resident_source.pyapplies the reviewed patch to the mergeddsp.c.test_status.candtest_fxpage.cwith gcc and clang, at 32 and 128 effect ids.npm run pr:ready: every other check passes.dfa43813, Octatrack MKII (OS 1.40C), 18 November 2026. The owner's unit, flashed from 0.7.8 (931a91bd), with its own project.87830783, the same source with--dev; Analog BD can't run on a twin), driven over USB with the owner's project and set:pick:presses NO after YES, which closes the box after a pick. That's why the box never showed in earlier tool runs; it shows when the pick is made by hand.ev_in_useyet.npm run device -- flash, the same staging the site uses.device.mjs'sreloadstep assumes stock's Part Edit popup and would quietly do nothing with this window.docs/MODULE_PERFORMANCE.mdexplains why the CPU meter can read 72 % while renders drop, and where the 60 % line comes from.docs/OCTATRACK_API.md,docs/module-guides/README.md) come with them.Supersedes #1678, #1694, #1610 and #1742 (each closes with a link here), and #1711's base part.
🤖 Generated with Claude Code