Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/2026-12-01-runtime-loader-gpl2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Runtime loader and upload controller: their C sources (`sdk/runtime/loader`, `sdk/runtime/upload`) are now GPL-2.0-or-later, with their authors' agreement, so a base whose release set may hold GPL-2.0-only modules (the Analog Rytm MKII's) can carry the loader. Two small loader checks (an engine's price per voice, the machine's look at a rebuilt DSP image) were rewritten; they accept and refuse the same packages. The Octatrack base is built from these files, so it is rebuilt with base 0.8.6.
1 change: 1 addition & 0 deletions changelog/2026-12-01-rytm-release-loader.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Analog Rytm MKII base: release bases carry the runtime loader again, in every variant (the release bases before them, last `1ff3ad57`, `93c5cf27` and `9e3a63be`, left it out), now that `sdk/runtime` is GPL-2.0-or-later, so a musician's unit takes a module on trial over USB and keeps or undoes it without a reflash, as on the Octatrack. Release identities plain `e6787a4a`, voices `7d4e86b1`, send-bus `adaab166`; the loader adds about 33 KB of `.run` and 108 KB of `.bss` (96 KB of it the pool and staging) in the 3.7 MiB mod area.
5 changes: 3 additions & 2 deletions docs/FRONTEND_MCP.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,9 @@ Model:Cycles; the Rytm's `cpu` is the audio block's share of its period, its
`playing` the looks the sequencer played. `device_review`, `device_trial`,
`device_keep` and `device_undo` load a runtime package on it as on the
Model:Cycles: the same link commands and runtime loader
([LINK.md](../sdk/machines/analog-rytm-mkii/LINK.md#loading-modules)); a release base
or one from before the loader refuses the review (`hello was not confirmed`). On a unit (25 November 2026, SR09 from RAM, a release build that still carried the loader): review, trial, Undo and Keep of `hello.mwrm`, the trial held by the pings
([LINK.md](../sdk/machines/analog-rytm-mkii/LINK.md#loading-modules)); a base from
before the loader, or a release base of 1 December 2026 (1d8190fa, b83aed26, 6230ee6a, then 8b2663e1, dacd67fe, b37be733 and 442ca20c, b94a5ce2, 7e4ca6c9, which left it out), refuses the review (`hello was not confirmed`). On a unit (25 November 2026, the release base
SR09 from RAM): review, trial, Undo and Keep of `hello.mwrm`, the trial held by the pings
([record](verification/2026-11-25-rytm-runtime-loader.md)). Tests run against a fake unit (`scripts/rytm-device.test.mjs`). On a unit (Nathaniel Pavel's MKII, 25
November 2026): on SR01 (a development base with the link change, RAM-booted) `device_status` gave the set identity
and named SR01's `.syx` in `--elektron-images`, `device_load` 58.5 %, `device_log` START and BASE, and
Expand Down
2 changes: 1 addition & 1 deletion docs/MACHINE_RECIPE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Read this before you plan a core, a base or the first modules for any machine ot
| --- | --- | --- | --- | --- | --- |
| Octatrack | available | Modwerk base (beta) | done | `ot_emu` | the reference |
| Digitakt, Digitone | preview | Modwerk cores, interfaces 2.1 and 2.2 (in development, frozen) | not started | digiemu | grow the core into the base, then the loader glue (the Octatrack's ColdFire family) |
| Analog Rytm MKII | preview | Modwerk base with its own core (28 November 2026; core-ar2 0.7's interface): plain, voices with a digital voice machine (17 November 2026), or send-bus with a send effect (the site, 30 October 2026) | started: built by `npm run machine:base`, with the send bus and the FX list `mw_fx` (29 October 2026), and digital voices `mw_voices` with the hook `ev_sound_applied` (voices and send-bus variants); the plan was agreed on #878, with a SysEx link over USB MIDI: in every base since 25 November 2026 the identity with the set identity, the audio load and a diagnostics log in the Octatrack's layout (rytm-emu so far); development bases (`--dev`, since 14 November 2026) add flash, RAM boot, keys, pads and screen from [`rytm_link.py`](../sdk/machines/analog-rytm-mkii/LINK.md); every base's part ran on a unit, and the MCP's `device_status`, `device_load` and `device_log` read it; the machine page sends a build over USB (25 November 2026); development bases carry the runtime loader (release bases from when `sdk/runtime` is GPL-2.0-or-later): trial, Undo and Keep on a unit, through `rytm_link.py` and the MCP's trial tools (25 November 2026); its Status page (`#analog-rytm-mkii/unit`, beta) reads the base, the set identity, the live modules (on a development base) and the load over the link, and shares the unit's log with a member's diagnostics (25 November 2026); on a unit from the site: a release base flashed from the page with YES, its Status page and a shared log ([record](verification/2026-11-25-rytm-stack-from-the-site.md)) | rytm-emu | the base's release (base-next) |
| Analog Rytm MKII | preview | Modwerk base with its own core (28 November 2026; core-ar2 0.7's interface): plain, voices with a digital voice machine (17 November 2026), or send-bus with a send effect (the site, 30 October 2026) | started: built by `npm run machine:base`, with the send bus and the FX list `mw_fx` (29 October 2026), and digital voices `mw_voices` with the hook `ev_sound_applied` (voices and send-bus variants); the plan was agreed on #878, with a SysEx link over USB MIDI: in every base since 25 November 2026 the identity with the set identity, the audio load and a diagnostics log in the Octatrack's layout (rytm-emu so far); development bases (`--dev`, since 14 November 2026) add flash, RAM boot, keys, pads and screen from [`rytm_link.py`](../sdk/machines/analog-rytm-mkii/LINK.md); every base's part ran on a unit, and the MCP's `device_status`, `device_load` and `device_log` read it; the machine page sends a build over USB (25 November 2026); every base carries the runtime loader: trial, Undo and Keep on a unit, through `rytm_link.py` and the MCP's trial tools (25 November 2026); its Status page (`#analog-rytm-mkii/unit`, beta) reads the base, the set identity, the live modules and the load over the link, and shares the unit's log with a member's diagnostics (25 November 2026); on a unit from the site: a release base flashed from the page with YES, its Status page and a shared log ([record](verification/2026-11-25-rytm-stack-from-the-site.md)) | rytm-emu | the base's release (base-next) |
| Analog Rytm MKI | research | Modwerk base from the MKII's (its own core with the MKI's addresses and sites; sections, no send bus): its predecessor from core-ar2 0.7's source passed on a unit (8 November 2026) | started: `sdk/machines/analog-rytm-mki/elekloader/`; `npm run machine:base` needs the MKI device and ELE2, which the pinned Elekloader kit lacks | rytm-emu (MKI profile) | the MKI device and ELE2 in Modwerk's builder (`machine:base`, then `LINK_DEVICES` and the site's firmware flow) |
| Analog Four MKII | research | Modwerk beta base built from Elekloader core-a4 0.5 source | started: `npm run machine:base -- analog-four-mkii` uses the same build process as the Rytm MKII. The author reported that A4B1 worked on their unit | analog-emu | review the OS 1.56 base and its first module |
| Digitakt II | preview | Modwerk base from core-dt2 1.1's source (elekloader#221 at `0df8409`), with sequencer and project hooks | started: the site builds the [pinned base](../sdk/machines/digitakt-ii/elekloader/README.md) `8650bb8a` (`e88273ed`, which passed on one unit on 17 November 2026, with kit data ended before the project archive); downloads off. The native USB responder is not started; an [offline USB binding preflight](../sdk/machines/digitakt-ii/LINK.md) checks OS 1.17 and base patch overlap | digikit (emulator only) | the exact build on a second unit, then the USB link ([goal](../sdk/machines/digitakt-ii/GOAL.md)) |
Expand Down
2 changes: 1 addition & 1 deletion docs/verification/2026-12-01-rytm-base-next-own-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Main (Modwerk's own Rytm core, #2399, and its firmware builder, #2425) merged in

## Release bases without the runtime loader, later the same day

Release bases now leave the runtime loader out (`sdk/runtime` is GPL-3.0-or-later; development bases keep it): release identities plain `1d8190fa`, voices `b83aed26`, send-bus `6230ee6a`. A release image RAM-boots from the development base in flash, which hands over to it; the agent read it over the link a release base answers. Nobody pressed a key (a first attempt was refused while the unit reported a person at it; it booted once the user kept hands off).
Release bases then left the runtime loader out (`sdk/runtime` was GPL-3.0-or-later; development bases kept it; it came back to every release base with the GPL-2.0-or-later relicensing, `changelog/2026-12-01-rytm-release-loader.md`): release identities plain `1d8190fa`, voices `b83aed26`, send-bus `6230ee6a`. A release image RAM-boots from the development base in flash, which hands over to it; the agent read it over the link a release base answers. Nobody pressed a key (a first attempt was refused while the unit reported a person at it; it booted once the user kept hands off).

| Check | Build | Result |
|---|---|---|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,48 +2,48 @@
"schema": 1,
"kind": "elekloader-catalog",
"revision": "modwerk-base-analog-rytm-mkii-2026-11-06",
"about": "Modwerk's Analog Rytm MKII base for OS 1.74, built by npm run machine:base -- analog-rytm-mkii from Modwerk's own core (core-ar2/, GPL-2.0-or-later, checked against core-ar2 0.7's sites, exports, imports and tables, and keeping its saved-data format) and Modwerk's base/ sources. Three variants, each identified by its SHA-256 in sdk/machines/analog-rytm-mkii/base-binding.json: plain (1ff3ad57, the source with the machine list's sections, the amp envelope's record, the delay and reverb sends' hook (ev_fx_sends), the FX track's edit save of words 38 to 41 and their step, scene and performance locks, the lean engine, pad pressure and the USB link's identity, load and diagnostics log), send-bus (9e3a63be, with the send bus, whose effects work in the mod RAM the set leaves free, the sequencer's time, and the digital voices (mw_voices, ev_sound_applied)) and voices (93c5cf27, send-bus without the send bus, its pages, the sequencer's time and the FX list: the digital voices), compiled with GCC's late-combine pass off. The site builds a Rytm set on send-bus when it holds a send effect (sdk/machines/analog-rytm-mkii/fx-ids.json), on voices when it holds a digital voice machine (voice-modules.json) and no send effect, and on plain otherwise. Stock-free: each site names its stock bytes by length and SHA-256, and the build fills them from the owner's OS.",
"about": "Modwerk's Analog Rytm MKII base for OS 1.74, built by npm run machine:base -- analog-rytm-mkii from Modwerk's own core (core-ar2/, GPL-2.0-or-later, checked against core-ar2 0.7's sites, exports, imports and tables, and keeping its saved-data format) and Modwerk's base/ sources. Three variants, each identified by its SHA-256 in sdk/machines/analog-rytm-mkii/base-binding.json: plain (e6787a4a, the source with the machine list's sections, the amp envelope's record, the delay and reverb sends' hook (ev_fx_sends), the FX track's edit save of words 38 to 41 and their step, scene and performance locks, the lean engine, pad pressure and the USB link's identity, load and diagnostics log and the runtime loader, which takes modules on trial), send-bus (adaab166, with the send bus, whose effects work in the mod RAM the set leaves free, the sequencer's time, and the digital voices (mw_voices, ev_sound_applied)) and voices (7d4e86b1, send-bus without the send bus, its pages, the sequencer's time and the FX list: the digital voices), compiled with GCC's late-combine pass off. The site builds a Rytm set on send-bus when it holds a send effect (sdk/machines/analog-rytm-mkii/fx-ids.json), on voices when it holds a digital voice machine (voice-modules.json) and no send effect, and on plain otherwise. Stock-free: each site names its stock bytes by length and SHA-256, and the build fills them from the owner's OS.",
"cores": [
{
"file": "modwerk-base-analog-rytm-mkii-1ff3ad57.elemod",
"sha256": "1ff3ad573c1b3160ad5c03b3f737c86311f897cdb5250d6c82aa85b5e0a2baf6",
"file": "modwerk-base-analog-rytm-mkii-e6787a4a.elemod",
"sha256": "e6787a4a78000af3c65052552a9739a2ed3c123e25fb9d66399203c7b45e414c",
"id": "core",
"version": "0.7.1",
"device": "analog-rytm-mk2",
"os": "1.74",
"license": "GPL-2.0-or-later",
"source": {
"repo": "repeat98/modwerk",
"commit": "dd272e8ff1c5eff5f012fd87d4144a7e2abaeaf4",
"path": "sdk/imports/packages/modwerk-base-analog-rytm-mkii/modwerk-base-analog-rytm-mkii-1ff3ad57.elemod"
"commit": "32214434d42505ab69ff0170bb40bd90b30f8bcf",
"path": "sdk/imports/packages/modwerk-base-analog-rytm-mkii/modwerk-base-analog-rytm-mkii-e6787a4a.elemod"
}
},
{
"file": "modwerk-base-analog-rytm-mkii-9e3a63be.elemod",
"sha256": "9e3a63bec190eb9a29f6b3a79bae7a73a84eb4277ba3d178f7b11f58e7f93e9a",
"file": "modwerk-base-analog-rytm-mkii-adaab166.elemod",
"sha256": "adaab16618bc46e7c736dbed6edb96405e5f64a4577495608608c3b70f67334e",
"id": "core",
"version": "0.7.1",
"device": "analog-rytm-mk2",
"os": "1.74",
"license": "GPL-2.0-or-later",
"source": {
"repo": "repeat98/modwerk",
"commit": "dd272e8ff1c5eff5f012fd87d4144a7e2abaeaf4",
"path": "sdk/imports/packages/modwerk-base-analog-rytm-mkii/modwerk-base-analog-rytm-mkii-9e3a63be.elemod"
"commit": "32214434d42505ab69ff0170bb40bd90b30f8bcf",
"path": "sdk/imports/packages/modwerk-base-analog-rytm-mkii/modwerk-base-analog-rytm-mkii-adaab166.elemod"
}
},
{
"file": "modwerk-base-analog-rytm-mkii-93c5cf27.elemod",
"sha256": "93c5cf2795493854d3d3c37ff4e1ee9552542d689e0edfdd1caca9a7e224162d",
"file": "modwerk-base-analog-rytm-mkii-7d4e86b1.elemod",
"sha256": "7d4e86b15202eadbdb4a3aff7c541c07fca59f9675897b09d61ab64015a72604",
"id": "core",
"version": "0.7.1",
"device": "analog-rytm-mk2",
"os": "1.74",
"license": "GPL-2.0-or-later",
"source": {
"repo": "repeat98/modwerk",
"commit": "dd272e8ff1c5eff5f012fd87d4144a7e2abaeaf4",
"path": "sdk/imports/packages/modwerk-base-analog-rytm-mkii/modwerk-base-analog-rytm-mkii-93c5cf27.elemod"
"commit": "32214434d42505ab69ff0170bb40bd90b30f8bcf",
"path": "sdk/imports/packages/modwerk-base-analog-rytm-mkii/modwerk-base-analog-rytm-mkii-7d4e86b1.elemod"
}
}
],
Expand Down
Loading
Loading