Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ae27557
Model:Cycles base: a machine table and machine switches on the own core
durchgemacht Nov 30, 2026
86bd91a
Bases: catalogue record for the Model:Cycles base 23a7a53a
durchgemacht Nov 30, 2026
27e34d9
Merge remote-tracking branch 'upstream/main' into base/model-cycles-m…
durchgemacht Nov 30, 2026
c88d1f5
Merge remote-tracking branch 'upstream/base/model-cycles-next' into b…
durchgemacht Nov 30, 2026
8587a76
Model:Cycles base 7b0c96d9: the machine table on the held sites
durchgemacht Nov 30, 2026
9131816
Bases: catalogue record for the Model:Cycles base 7b0c96d9
durchgemacht Nov 30, 2026
ec4ee97
Merge remote-tracking branch 'upstream/main' into base/model-cycles-m…
durchgemacht Nov 30, 2026
6dfbcf1
Merge upstream/base/model-cycles-next (Modwerk's own Model:Cycles cor…
durchgemacht Nov 30, 2026
f333b1a
Model:Cycles base: P1-P4, a machine's own parameters
durchgemacht Dec 1, 2026
6fca7e9
Model:Cycles base: added machines read as CHORD on the stock OS
durchgemacht Dec 1, 2026
82c948c
Model:Cycles base 841c3411: the machines' params and the stock fallback
durchgemacht Dec 1, 2026
363e8dc
Bases: catalogue record for the Model:Cycles base 841c3411
durchgemacht Dec 1, 2026
51a4ff7
Model:Cycles base 12c3fee4: the knob lookup through a jmp at its start
durchgemacht Dec 1, 2026
5ae2e48
Bases: catalogue record for the Model:Cycles base 12c3fee4
durchgemacht Dec 1, 2026
e2cdd7d
Model:Cycles base 49e751ef: voice hooks and a sound word for modules
durchgemacht Dec 1, 2026
192f947
Bases: catalogue record for the Model:Cycles base 49e751ef
durchgemacht Dec 1, 2026
166b756
Model:Cycles base 6723c268: LFO destinations only where they have an …
durchgemacht Dec 1, 2026
da7cd58
Bases: catalogue record for the Model:Cycles base 6723c268
durchgemacht Dec 1, 2026
0621928
Docs: the Model:Cycles voice hooks and sound word
durchgemacht Dec 1, 2026
94a7e3a
Model:Cycles base 50a44d75: the sound word's pictures, and every tabl…
durchgemacht Dec 1, 2026
83295ac
Bases: catalogue record for the Model:Cycles base 50a44d75
durchgemacht Dec 1, 2026
4362c7f
Model:Cycles base 6ecdd4b9: a full p-lock file still saves CHORD wher…
durchgemacht Dec 1, 2026
820cc08
Bases: catalogue record for the Model:Cycles base 6ecdd4b9
durchgemacht Dec 1, 2026
a437a9b
Model:Cycles: the machine registry for base 6ecdd4b9's budget
durchgemacht Dec 1, 2026
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-11-24-model-cycles-machines.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The Model:Cycles base has room for eight more machines: a machine module loaded over USB shows up after CHORD in the MACHINES list, plays on its tracks and leaves them silent and named "----" when it is taken out.
1 change: 1 addition & 0 deletions changelog/2026-11-30-model-cycles-machine-switches.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bases: on the Model:Cycles, a machine module can take PUNCH and GATE as switches of its own: hold MACHINES and press PUNCH or GATE on a track that plays it. The switches are saved with the sound. A machine's record also keeps room for four parameters of its own, for a later base. Nothing changes for musicians until the next base release, which is tested on a unit first.
1 change: 1 addition & 0 deletions changelog/2026-12-01-model-cycles-full-lock-file.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bases: on the Model:Cycles, a p-lock to an added machine in a pattern whose file is full is now saved as CHORD, as every other place the stock OS reads, so the stock OS can never open an added machine there. Nothing changes for musicians until the next base release, which is tested on a unit first.
1 change: 1 addition & 0 deletions changelog/2026-12-01-model-cycles-machine-params.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bases: on the Model:Cycles, a machine module can have up to four parameters of its own: hold MACHINES and turn COLOR, SHAPE, SWEEP or CONTOUR. They take p-locks, the LFO and MIDI CC 20-23, and are saved with the sound. A project with an added machine no longer freezes the stock OS: there the machine plays as CHORD. Nothing changes for musicians until the next base release, which is tested on a unit first.
1 change: 1 addition & 0 deletions changelog/2026-12-01-model-cycles-sound-word.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bases: on the Model:Cycles, a module can now change how every track plays, whatever its machine, and give every sound one value of its own on MACHINES + DECAY and MIDI CC 73, such as an attack. Without such a module nothing changes. The LFO's destination list no longer shows "----" for parameters a machine does not have. Nothing changes for musicians until the next base release, which is tested on a unit first.
1 change: 1 addition & 0 deletions changelog/2026-12-01-model-cycles-tables-in-builds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bases: on the Model:Cycles, a module that adds a machine, a machine's switches, a voice hook or the sound word can now be built into the image as well as loaded over USB, so it stays on the unit through a power cycle. The sound word's knob can show a picture for each value, as Amp Decay's. Nothing changes for musicians until the next base release, which is tested on a unit first.
2 changes: 1 addition & 1 deletion docs/MACHINE_RECIPE.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Read this before you plan a core, a base or the first modules for any machine ot
| 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)) |
| Syntakt | research | Modwerk boot probe | not started | digiemu's port (open upstream pull request; emulator only) | the core stage, planned as the base |
| Digitone II | research | core-dn2 0.3, with the Digitakt II 1.1 additions, in toonst's elekloader fork: boots and its six UI events run on units (18 November 2026) | started: Modwerk's builder carries the device (`machine:base` and the site's kit, 19 November 2026) | digikit (the author's; emulator only) | the Modwerk base, reusing the Digitakt II's with its own recipe as the Rytm MKI does, then flashing from the site and the link ([goal](../sdk/machines/digitone-ii/GOAL.md)) |
| Model:Cycles | research | Modwerk's own base (it replaced core-mc 0.3 from Elekloader v0.11.0, same symbols and sites) plus a key-LED hook ([events.json](../sdk/machines/model-cycles/events.json)) | started: built by `npm run machine:base`; runs on a unit with a test module on the LED hook; the USB link started over USB MIDI SysEx: in every base the identity, the audio load, a diagnostics log in the Octatrack's layout and the Octatrack's runtime loader (modules on trial, kept, undone, refused while playing), on a unit flashed with the release base (24 November 2026); development bases add memory reads, keys, encoder turns and a RAM boot ([LINK.md](../sdk/machines/model-cycles/LINK.md)); the site builds the pinned base from the owner's OS file as a local preview, downloads and the USB send for beta testers only (26 November 2026); the MCP's `device_status` reads its identity, `device_load` the audio load, `device_log` the log, and its trial tools load modules (24 November 2026); its Status page (`#model-cycles/unit`, beta) reads the base, the live modules and the load over the link (24 November 2026) | digiemu (emulator only) | the first module, Control All Config ([guide](../sdk/machines/model-cycles/README.md)) |
| Model:Cycles | research | Modwerk's own base (it replaced core-mc 0.3 from Elekloader v0.11.0, same symbols and sites) plus a key-LED hook ([events.json](../sdk/machines/model-cycles/events.json)) | started: built by `npm run machine:base`; runs on a unit with a test module on the LED hook; the USB link started over USB MIDI SysEx: in every base the identity, the audio load, a diagnostics log in the Octatrack's layout and the Octatrack's runtime loader (modules on trial, kept, undone, refused while playing), on a unit flashed with the release base (24 November 2026); development bases add memory reads, keys, encoder turns and a RAM boot ([LINK.md](../sdk/machines/model-cycles/LINK.md)); the site builds the pinned base from the owner's OS file as a local preview, downloads and the USB send for beta testers only (26 November 2026); the MCP's `device_status` reads its identity, `device_load` the audio load, `device_log` the log, and its trial tools load modules (24 November 2026); its Status page (`#model-cycles/unit`, beta) reads the base, the live modules and the load over the link (24 November 2026); the base's machine table `mw_machines` gives machine modules eight slots over the loader, on a unit (24 November 2026, before the own core) | digiemu (emulator only) | the first modules: MAXSAW on `mw_machines`, then Control All Config ([guide](../sdk/machines/model-cycles/README.md)) |
| Analog Keys | research | none | not started | none known | the machine steps first ([add a machine](ADD_A_MACHINE.md)) |
| Zoom MultiStomp | preview (MS-70CDR); research (MS-50G, MS-60B, G1on) | MIDISTOMP on the MS-70CDR; the MS-50G and MS-60B need builds from their own OS | browser base build and flash over Web MIDI. Shared MCP status and load tools use the same link. Load needs the MIDISTOMP SysEx load reply. | Ziddle (emulator only) | Prove a RAM-only effect trial and rollback on the MS-70CDR before wiring review, trial, Keep and Undo. See the [plan](ZOOM_MULTISTOMP.md#plan). |
| Zoom G1 FOUR | research | none: effects load on the stock OS | not started: zoom-zt2's file commands work over USB, the pedal page does not speak ZD2 yet | none known | [next steps](ZOOM_ZD2.md#next-steps) |
Expand Down
4 changes: 4 additions & 0 deletions docs/module-guides/machines.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ Test in layers, as Analog BD does: the DSP engine, the ColdFire glue, the port (
New SRC machines take a machine id from 4 to 127 through the Digitakt core's `core_machines` table (STRING uses 8, RAM Machines 120–121, Live Looper 122), and the OS treats them "like the stock machine they stand in for", so the machine list comes from the OS. Claim the id in `platform.claims` (`machine:<id>`) and keep it once released, since kits store it; `pr:ready` claims it on the [agent board](../AGENT_BOARD.md) too, so no other branch in progress takes it. Test your mod beside another that also adds a machine ([Digitakt guide](../../sdk/machines/digitakt/README.md)).

On the Digitakt II the base's `core_machines` adds types 7-10 (`machine:<type>`), each standing for a stock type, and sends their voices to the module's own sound-chip player (`build.sharc`). To show what the player does, the player posts 32 words about the view track's voice. The module's `ev_draw` handler sets `core_machine_view_track` and draws `core_machine_view` over the sample page's waveform, only in a frame where `core_machine_sample_views` changed. The layout is in `mk2/machines.h`, and Mikrotakt's grain view is the example ([MACHINES.md](../../sdk/machines/digitakt-ii/elekloader/modwerk/MACHINES.md)).

## Model:Cycles

A machine adds a slot to the MACHINES list through the base's table `mw_machines`: one `struct mw_machine` (name, picture, four knobs' names and defaults, Amp Decay's default, `update` and `render`) contributed from the module's runtime package, in a slot from 6 to 13 claimed as `machine:<slot>` and kept once released, since sounds store it. The voice loop calls `update` and `render` each block as for the stock machines, so end `render` with the stock amp chain and do nothing while the voice is idle. A second record in `mw_machine_switches` lets MACHINES + PUNCH or GATE flip switches of the machine, saved with the sound, and the record's `params` name up to four parameters of the machine's own (MACHINES held + a knob, with p-locks, LFO and MIDI CC 20-23). A module that changes every track whatever its machine (an envelope, a pitch) uses the base's `mw_voice_hooks` and, for one value of its own on every sound, `mw_sound_word` (k 31 on MACHINES + DECAY and CC 73) instead of patching the voice loop ([guide](../../sdk/machines/model-cycles/README.md#machines)). A slot whose module is gone reads "----" and stays silent, so test what a project saved with your machine does without it, and with it again ([guide](../../sdk/machines/model-cycles/README.md#machines)).
Loading