From 7c329fd6f38827b0cc2a3d60169ab8823c509668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A0Ilia=20Murzinov?= Date: Fri, 4 Dec 2026 09:53:16 +0100 Subject: [PATCH 1/6] Base: rest unused FM take hooks on the frame path. Take-only machines such as CX OSC stayed in the LFO and frame-source rows while unused (~+20 frame points). Allow take events to rest and mark the seven FM frame-path hooks so idle machines leave those rows. --- changelog/2026-12-04-fm-take-events-rest.md | 1 + sdk/machines/octatrack/HOOKS.md | 17 +++++----- .../octatrack/elekloader/runtime_events.h | 2 +- sdk/machines/octatrack/events.json | 31 +++++++++++++------ sdk/machines/octatrack/events.py | 16 +++++----- .../octatrack/include/modwerk_events.h | 14 ++++----- sdk/tests/test_runtime_loader.py | 8 +++-- 7 files changed, 53 insertions(+), 36 deletions(-) create mode 100644 changelog/2026-12-04-fm-take-events-rest.md diff --git a/changelog/2026-12-04-fm-take-events-rest.md b/changelog/2026-12-04-fm-take-events-rest.md new file mode 100644 index 0000000000..1af0167eae --- /dev/null +++ b/changelog/2026-12-04-fm-take-events-rest.md @@ -0,0 +1 @@ +- Octatrack base: unused FM machines leave the frame-path take hooks (LFO depth, frame source, retrig, kill, release, STOP), so a take-only module such as CX OSC costs nothing at rest. diff --git a/sdk/machines/octatrack/HOOKS.md b/sdk/machines/octatrack/HOOKS.md index 7eafcc2251..2e8290192c 100644 --- a/sdk/machines/octatrack/HOOKS.md +++ b/sdk/machines/octatrack/HOOKS.md @@ -19,7 +19,8 @@ stock runs at once. With no taker stock runs. A **table** has no site: modules c (order, module id) order. Each take hook and table has a room: the loader refuses a package past it. A module **rests** until a track uses it: one that subscribes `ev_in_use` and answers 0 is left out of -every hook whose kind says `rests`, so the frame interrupt never enters its code there; its other hooks +every call or take hook whose kind says `rests` (take sites with no remaining taker run stock), so the +frame interrupt never enters its code there; its other hooks (keys, pages, tables, project files) stay, so its setup still works. The base asks each module on its own from the UI tick and puts it back, in its (order, module id) place, at the first nonzero answer. A module that contributes a machine (`ot_machines`) and does not subscribe is answered for by the base: it rests while @@ -102,13 +103,13 @@ next base build, which renames them; the base loads them by those paths. | `ev_hook_reserved_66` | call | none: a module calls the base's `modwerk_raise_ev_hook_reserved_66` through a word the loader fills | Reserved index 66 for CLYPS (#1997). | `void f(void)` | Neutral placeholder: replace when the owning pull request lands on base/octatrack-next. | 10-90 | Reserved hook index; no subscribers on this branch. | | `ev_hook_reserved_67` | call | none: a module calls the base's `modwerk_raise_ev_hook_reserved_67` through a word the loader fills | Reserved index 67 for CLYPS (#1997). | `void f(void)` | Neutral placeholder: replace when the owning pull request lands on base/octatrack-next. | 10-90 | Reserved hook index; no subscribers on this branch. | | `ev_hook_reserved_68` | call | none: a module calls the base's `modwerk_raise_ev_hook_reserved_68` through a word the loader fills | Reserved index 68 for CLYPS (#1997). | `void f(void)` | Neutral placeholder: replace when the owning pull request lands on base/octatrack-next. | 10-90 | Reserved hook index; no subscribers on this branch. | -| `ev_fm_lfo_depth` | take | 0x40003ca4 | the LFO routine depth read for FM machines | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | -| `ev_fm_lfo_depth_frame` | take | 0x4000d03e | the frame-builder copy of the LFO depth read | `struct modwerk_take, jsr entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | +| `ev_fm_lfo_depth` | take, rests | 0x40003ca4 | the LFO routine depth read for FM machines | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | +| `ev_fm_lfo_depth_frame` | take, rests | 0x4000d03e | the frame-builder copy of the LFO depth read | `struct modwerk_take, jsr entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | | `ev_fm_lfo_page` | take | 0x40031e62 | the LFO page resolver branch for FLEX FM tracks | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | -| `ev_fm_amp_release` | take | 0x4000b51a | AMP envelope release consumer before stock staging | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | -| `ev_fm_transport_stop` | call | 0x4000b2c8 | STOP ends FM machine voices | `void f(void)` | A notification: every subscribed engine handler runs; each clears or gates only its own machine voices. Stock runs after every handler. d2-d7/a2-a6 must be kept, as C keeps them. | lower first, then module id; every handler runs. 10-90. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | -| `ev_fm_sequencer_retrig` | take | 0x4000c634 | sequencer START rewrite for FM machines | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | -| `ev_fm_voice_kill` | take | 0x4000685c | voice kill for FM machines | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | +| `ev_fm_amp_release` | take, rests | 0x4000b51a | AMP envelope release consumer before stock staging | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | +| `ev_fm_transport_stop` | call, rests | 0x4000b2c8 | STOP ends FM machine voices | `void f(void)` | A notification: every subscribed engine handler runs; each clears or gates only its own machine voices. Stock runs after every handler. d2-d7/a2-a6 must be kept, as C keeps them. | lower first, then module id; every handler runs. 10-90. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | +| `ev_fm_sequencer_retrig` | take, rests | 0x4000c634 | sequencer START rewrite for FM machines | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | +| `ev_fm_voice_kill` | take, rests | 0x4000685c | voice kill for FM machines | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | | `ev_midi_chromatic_on_gate` | call | 0x4000e452 | MIDI chromatic note-on octave gate | `void f(uint32_t *wide_mask)` | Every handler ORs its own tracks into wide_mask for notes outside 72..96, then returns. The base runs every handler. If the union is nonzero, it enters stock's wide chromatic block with d3 set to that mask; otherwise it runs the stock octave test. d2-d7/a2-a6 must be kept, as C keeps them. | lower first, then module id; every handler runs. 10-90. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | | `ev_midi_chromatic_off_gate` | call | 0x4000de10 | MIDI chromatic note-off octave gate | `void f(uint32_t *wide_mask)` | Every handler ORs its own tracks into wide_mask for notes outside 72..96, then returns. The base runs every handler. If the union is nonzero, it enters stock's wide chromatic release block with d4 set to that mask; otherwise it runs the stock octave test. d2-d7/a2-a6 must be kept, as C keeps them. | lower first, then module id; every handler runs. 10-90. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | | `ev_midi_live_record_event` | take | 0x400625e0 | MIDI live recorder on MIDI event 0x41 | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | @@ -122,7 +123,7 @@ next base build, which renames them; the base loads them by those paths. | `ev_fm_octave_func` | take | 0x40051fce | FUNC+UP/DOWN octave on FM tracks | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | | `ev_fm_slot_assign` | take | 0x400795ba | machine slot assign became-FM predicate | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | | `ev_fm_load_selector` | take | 0x40022686 | file browser load-selector hook | `struct modwerk_take, jsr entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | -| `ev_fm_frame_source` | take | 0x4000d514 | frame-builder renderer slot copy for FM machines | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | +| `ev_fm_frame_source` | take, rests | 0x4000d514 | frame-builder renderer slot copy for FM machines | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | | `ev_playback_page_resolve` | take | 0x40031ece | PLAYBACK page resolver FLEX seam | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI, sequencer or project file): short, no firmware call that can block | ## Reviewed subscribers diff --git a/sdk/machines/octatrack/elekloader/runtime_events.h b/sdk/machines/octatrack/elekloader/runtime_events.h index 3b23e9d096..ee1b778754 100644 --- a/sdk/machines/octatrack/elekloader/runtime_events.h +++ b/sdk/machines/octatrack/elekloader/runtime_events.h @@ -8,7 +8,7 @@ #define RUNTIME_SITE_EVENT_SPANS { {0x40004100u, 8u}, {0x40006820u, 8u}, {0x40006820u, 8u}, {0x00000000u, 0u}, {0x4000e746u, 6u}, {0x4000dfd4u, 8u}, {0x40045918u, 8u}, {0x400449beu, 8u}, {0x40010212u, 6u}, {0x40025ac2u, 6u}, {0x40044968u, 8u}, {0x4004fbdeu, 6u}, {0x4004fbfeu, 8u}, {0x4004fc58u, 10u}, {0x4004fc94u, 8u}, {0x4004fce0u, 8u}, {0x4004fd06u, 6u}, {0x4004fd20u, 6u}, {0x40050254u, 8u}, {0x40050e60u, 10u}, {0x40055170u, 6u}, {0x400866ccu, 8u}, {0x400867a2u, 8u}, {0x400888aau, 8u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x40004d0cu, 10u}, {0x00000000u, 0u}, {0x4009fb58u, 6u}, {0x4007a2ecu, 8u}, {0x4007a1ecu, 6u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x40090504u, 8u}, {0x00000000u, 0u}, {0x400905d4u, 8u}, {0x00000000u, 0u}, {0x400909d8u, 10u}, {0x400917c8u, 8u}, {0x00000000u, 0u}, {0x4008ee74u, 8u}, {0x00000000u, 0u}, {0x4008f180u, 8u}, {0x00000000u, 0u}, {0x4004a9c4u, 10u}, {0x4004a9d0u, 8u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x4000cf4au, 6u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x00000000u, 0u}, {0x40003ca4u, 8u}, {0x4000d03eu, 8u}, {0x40031e62u, 8u}, {0x4000b51au, 8u}, {0x4000b2c8u, 6u}, {0x4000c634u, 8u}, {0x4000685cu, 6u}, {0x4000e452u, 8u}, {0x4000de10u, 6u}, {0x400625e0u, 10u}, {0x4006262au, 10u}, {0x40059d56u, 6u}, {0x4003685au, 12u}, {0x400368acu, 12u}, {0x40036946u, 12u}, {0x4003ae40u, 12u}, {0x4003af0au, 10u}, {0x40051fceu, 6u}, {0x400795bau, 8u}, {0x40022686u, 6u}, {0x4000d514u, 8u}, {0x40031eceu, 6u} } #define RUNTIME_SITE_EVENT_ROOM { RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, RUNTIME_MODULES, 16u, 8u, 8u, 8u, RUNTIME_MODULES, 4u, 8u, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, 1u, 7u, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, 1u, RUNTIME_MODULES, 8u, RUNTIME_MODULES, RUNTIME_MODULES, 16u, 1u, 8u, RUNTIME_MODULES, RUNTIME_MODULES, RUNTIME_MODULES, 8u, 8u, 8u, 8u, RUNTIME_MODULES, 8u, 8u, RUNTIME_MODULES, RUNTIME_MODULES, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u, 8u } #define RUNTIME_SITE_EVENT_TABLES { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } -#define RUNTIME_SITE_EVENT_RESTS { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } +#define RUNTIME_SITE_EVENT_RESTS { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 } /* the event the base asks each module from the UI tick (loader.c rest_poll) */ #define RUNTIME_SITE_EVENT_IN_USE 50u /* the table whose contributors the base answers ev_in_use for (loader.c judged) */ diff --git a/sdk/machines/octatrack/events.json b/sdk/machines/octatrack/events.json index a78dee4d80..a3f4ebf3db 100644 --- a/sdk/machines/octatrack/events.json +++ b/sdk/machines/octatrack/events.json @@ -2935,7 +2935,8 @@ "evidence": "sdk/drafts/cx-osc/standalone/poly.s cx_lfo_standalone" } ], - "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order." + "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order.", + "rests": true }, { "event": "ev_fm_lfo_depth_frame", @@ -2943,7 +2944,7 @@ "kind": "take", "site": "0x4000d03e", "length": 8, - "entry": "jsr", + "entry": "jsr", "arg": null, "room": 8, "when": "the frame-builder copy of the LFO depth read", @@ -2966,7 +2967,8 @@ "evidence": "sdk/drafts/cx-osc/standalone/poly.s cx_lfo_frame" } ], - "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order." + "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order.", + "rests": true }, { "event": "ev_fm_lfo_page", @@ -3028,7 +3030,8 @@ "evidence": "sdk/drafts/cx-osc/standalone/poly.s po_rel" } ], - "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order." + "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order.", + "rests": true }, { "event": "ev_fm_transport_stop", @@ -3058,7 +3061,8 @@ "orderEvidence": "Every installed FM engine runs; FM Synth (40) before CX OSC (45).", "prototype": "void f(void)", "args": [], - "results": "notify" + "results": "notify", + "rests": true }, { "event": "ev_fm_sequencer_retrig", @@ -3089,7 +3093,8 @@ "evidence": "sdk/drafts/cx-osc/standalone/poly.s po_retrig" } ], - "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order." + "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order.", + "rests": true }, { "event": "ev_fm_voice_kill", @@ -3120,7 +3125,8 @@ "evidence": "sdk/drafts/cx-osc/standalone/poly.s po_kill" } ], - "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order." + "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order.", + "rests": true }, { "event": "ev_midi_chromatic_on_gate", @@ -3149,7 +3155,9 @@ ], "orderEvidence": "Every installed FM engine runs; FM Synth (40) before CX OSC (45).", "prototype": "void f(uint32_t *wide_mask)", - "args": ["&scratch"], + "args": [ + "&scratch" + ], "results": "mask", "maskRegister": "d3", "wide": "0x4000e6e2" @@ -3181,7 +3189,9 @@ ], "orderEvidence": "Every installed FM engine runs; FM Synth (40) before CX OSC (45).", "prototype": "void f(uint32_t *wide_mask)", - "args": ["&scratch"], + "args": [ + "&scratch" + ], "results": "mask", "maskRegister": "d4", "wide": "0x4000df9e" @@ -3556,7 +3566,8 @@ "evidence": "sdk/drafts/cx-osc/standalone/poly.s po_fmsource" } ], - "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order." + "orderEvidence": "FM Synth (40) before CX OSC (45), matching ev_midi_note_on and ot_machines row order.", + "rests": true }, { "event": "ev_playback_page_resolve", diff --git a/sdk/machines/octatrack/events.py b/sdk/machines/octatrack/events.py index a6e487fc91..51dcdf944a 100644 --- a/sdk/machines/octatrack/events.py +++ b/sdk/machines/octatrack/events.py @@ -22,10 +22,11 @@ so the routine must not run twice at once. Its package asks for the entry by the hook's index (runtime.json "raise"): the loader writes the address into a zero word of its image at install, so no package is -bound to one base build. A call event marked "rests" leaves out the handlers of a module -that answers ev_in_use 0 (the loader's RUNTIME_SITE_EVENT_RESTS, loader.c rest_poll). -A table marked "judged" (one at most) names the modules the base answers ev_in_use for: a contributor that does not -subscribe ev_in_use rests when the base says no track uses it (RUNTIME_SITE_EVENT_JUDGED, modwerk_machine_in_use). +bound to one base build. A call or take event marked "rests" leaves out the handlers (or take +records) of a module that answers ev_in_use 0 (the loader's RUNTIME_SITE_EVENT_RESTS, loader.c +rest_poll); with no taker left, a take site runs stock. A table marked "judged" (one at most) +names the modules the base answers ev_in_use for: a contributor that does not subscribe +ev_in_use rests when the base says no track uses it (RUNTIME_SITE_EVENT_JUDGED, modwerk_machine_in_use). Three kinds of hook (HOOKS.md): a `call` hook (the default) runs C handlers at its site; a `take` hook gives its site to one subscriber, whose detour-ABI entry @@ -83,8 +84,8 @@ def load(path=REGISTRY): room = e.get('room', ROOM if kind != 'call' else None) if room is not None and (type(room) is not int or not 1 <= room <= 128): raise ValueError('events.json: %s room is 1-128 subscribers' % name) - if type(e.get('rests', False)) is not bool or (e.get('rests') and (kind != 'call' or e.get('site') is None)): - raise ValueError('events.json: %s rests (true or false) only as a call event at a site' % name) + if type(e.get('rests', False)) is not bool or (e.get('rests') and (kind not in ('call', 'take') or e.get('site') is None)): + raise ValueError('events.json: %s rests (true or false) only as a call or take event at a site' % name) if type(e.get('judged', False)) is not bool or (e.get('judged') and kind != 'table'): raise ValueError('events.json: %s judged (true or false) only as a table' % name) if kind == 'call' and e.get('site') is None: # raised by a module through modwerk_raise_, or asked by the base ("each") @@ -422,7 +423,8 @@ def markdown(reg): '(`{"to", "order", "data"}` in runtime.json, `data` a symbol of the record) and base code reads them in\n' '(order, module id) order. Each take hook and table has a room: the loader refuses a package past it.\n\n' 'A module **rests** until a track uses it: one that subscribes `ev_in_use` and answers 0 is left out of\n' - 'every hook whose kind says `rests`, so the frame interrupt never enters its code there; its other hooks\n' + 'every call or take hook whose kind says `rests` (take sites with no remaining taker run stock), so the\n' + 'frame interrupt never enters its code there; its other hooks\n' '(keys, pages, tables, project files) stay, so its setup still works. The base asks each module on its own\n' 'from the UI tick and puts it back, in its (order, module id) place, at the first nonzero answer. A module\n' 'that contributes a machine (`ot_machines`) and does not subscribe is answered for by the base: it rests while\n' diff --git a/sdk/machines/octatrack/include/modwerk_events.h b/sdk/machines/octatrack/include/modwerk_events.h index 96da051c7d..4f7a240de9 100644 --- a/sdk/machines/octatrack/include/modwerk_events.h +++ b/sdk/machines/octatrack/include/modwerk_events.h @@ -402,26 +402,26 @@ typedef void modwerk_ev_hook_reserved_67(void); typedef void modwerk_ev_hook_reserved_68(void); /* Raise it: define `modwerk_ev_hook_reserved_68 *raise_ev_hook_reserved_68` as a zero word in your image (initialized data, not bss), list "ev_hook_reserved_68" under "raise" in runtime.json and call through it; every handler's answer, OR'd. */ -/* ev_fm_lfo_depth (0x40003ca4, take: subscribe a struct modwerk_take): the LFO routine depth read for FM machines. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ +/* ev_fm_lfo_depth (0x40003ca4, take: subscribe a struct modwerk_take, rests: left out while the module answers ev_in_use 0): the LFO routine depth read for FM machines. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ #define MODWERK_EV_FM_LFO_DEPTH 69 -/* ev_fm_lfo_depth_frame (0x4000d03e, take: subscribe a struct modwerk_take): the frame-builder copy of the LFO depth read. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ +/* ev_fm_lfo_depth_frame (0x4000d03e, take: subscribe a struct modwerk_take, rests: left out while the module answers ev_in_use 0): the frame-builder copy of the LFO depth read. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ #define MODWERK_EV_FM_LFO_DEPTH_FRAME 70 /* ev_fm_lfo_page (0x40031e62, take: subscribe a struct modwerk_take): the LFO page resolver branch for FLEX FM tracks. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ #define MODWERK_EV_FM_LFO_PAGE 71 -/* ev_fm_amp_release (0x4000b51a, take: subscribe a struct modwerk_take): AMP envelope release consumer before stock staging. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ +/* ev_fm_amp_release (0x4000b51a, take: subscribe a struct modwerk_take, rests: left out while the module answers ev_in_use 0): AMP envelope release consumer before stock staging. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ #define MODWERK_EV_FM_AMP_RELEASE 72 -/* ev_fm_transport_stop (0x4000b2c8): STOP ends FM machine voices. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. A notification: every subscribed engine handler runs; each clears or gates only its own machine voices. Stock runs after every handler. d2-d7/a2-a6 must be kept, as C keeps them. */ +/* ev_fm_transport_stop (0x4000b2c8, rests: left out while the module answers ev_in_use 0): STOP ends FM machine voices. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. A notification: every subscribed engine handler runs; each clears or gates only its own machine voices. Stock runs after every handler. d2-d7/a2-a6 must be kept, as C keeps them. */ #define MODWERK_EV_FM_TRANSPORT_STOP 73 typedef void modwerk_ev_fm_transport_stop(void); -/* ev_fm_sequencer_retrig (0x4000c634, take: subscribe a struct modwerk_take): sequencer START rewrite for FM machines. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ +/* ev_fm_sequencer_retrig (0x4000c634, take: subscribe a struct modwerk_take, rests: left out while the module answers ev_in_use 0): sequencer START rewrite for FM machines. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ #define MODWERK_EV_FM_SEQUENCER_RETRIG 74 -/* ev_fm_voice_kill (0x4000685c, take: subscribe a struct modwerk_take): voice kill for FM machines. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ +/* ev_fm_voice_kill (0x4000685c, take: subscribe a struct modwerk_take, rests: left out while the module answers ev_in_use 0): voice kill for FM machines. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ #define MODWERK_EV_FM_VOICE_KILL 75 /* ev_midi_chromatic_on_gate (0x4000e452): MIDI chromatic note-on octave gate. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. Every handler ORs its own tracks into wide_mask for notes outside 72..96, then returns. The base runs every handler. If the union is nonzero, it enters stock's wide chromatic block with d3 set to that mask; otherwise it runs the stock octave test. d2-d7/a2-a6 must be kept, as C keeps them. */ @@ -465,7 +465,7 @@ typedef void modwerk_ev_midi_chromatic_off_gate(uint32_t *wide_mask); /* ev_fm_load_selector (0x40022686, take: subscribe a struct modwerk_take): file browser load-selector hook. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ #define MODWERK_EV_FM_LOAD_SELECTOR 88 -/* ev_fm_frame_source (0x4000d514, take: subscribe a struct modwerk_take): frame-builder renderer slot copy for FM machines. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ +/* ev_fm_frame_source (0x4000d514, take: subscribe a struct modwerk_take, rests: left out while the module answers ev_in_use 0): frame-builder renderer slot copy for FM machines. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ #define MODWERK_EV_FM_FRAME_SOURCE 89 /* ev_playback_page_resolve (0x40031ece, take: subscribe a struct modwerk_take): PLAYBACK page resolver FLEX seam. A task (UI, MIDI, sequencer or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ diff --git a/sdk/tests/test_runtime_loader.py b/sdk/tests/test_runtime_loader.py index 9a16325ef1..a13f3d9d00 100644 --- a/sdk/tests/test_runtime_loader.py +++ b/sdk/tests/test_runtime_loader.py @@ -441,10 +441,12 @@ def test_modules_rest_out_of_the_per_frame_events_only(self): self.assertIn('#define RUNTIME_SITE_EVENT_IN_USE %du\n' % (asked['index'] - 4), header) rests = re.search(r'#define RUNTIME_SITE_EVENT_RESTS \{ (.*) \}', header).group(1).split(', ') self.assertEqual({reg['events'][i]['event'] for i, w in enumerate(rests) if w == '1'}, - {'ev_play_increment', 'ev_voice_bind', 'ev_voice_bind_run', 'ev_tail_kill'}) - # Only a call event at a site rests: never a take hook, a table, a raised event or the asked one; one asked event. + {'ev_play_increment', 'ev_voice_bind', 'ev_voice_bind_run', 'ev_tail_kill', + 'ev_fm_lfo_depth', 'ev_fm_lfo_depth_frame', 'ev_fm_amp_release', 'ev_fm_transport_stop', + 'ev_fm_sequencer_retrig', 'ev_fm_voice_kill', 'ev_fm_frame_source'}) + # Call or take at a site may rest; never a table, a raised event or the asked one; one asked event. doc = json.loads((EVENTS_DIR / 'events.json').read_text()) - for name, change in (('ev_knob_store', dict(rests=True)), ('ot_machines', dict(rests=True)), ('ev_trig_muted', dict(rests=True)), + for name, change in (('ot_machines', dict(rests=True)), ('ev_trig_muted', dict(rests=True)), ('ev_in_use', dict(rests=True)), ('ev_play_increment', dict(rests=1)), ('ev_mute_keep', dict(results='each'))): bad = json.loads(json.dumps(doc)); next(e for e in bad['events'] if e['event'] == name).update(change) with tempfile.TemporaryDirectory() as temp, self.subTest(name=name, change=change), self.assertRaises(ValueError): From 65c53332049ba14fe00673cff2259333b462ab16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A0Ilia=20Murzinov?= Date: Fri, 4 Dec 2026 10:18:19 +0100 Subject: [PATCH 2/6] Docs: unit proof that FM take rests clear CX OSC at-rest cost. --- .../2026-12-04-fm-take-events-rest.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 docs/verification/2026-12-04-fm-take-events-rest.md diff --git a/docs/verification/2026-12-04-fm-take-events-rest.md b/docs/verification/2026-12-04-fm-take-events-rest.md new file mode 100644 index 0000000000..748869ce80 --- /dev/null +++ b/docs/verification/2026-12-04-fm-take-events-rest.md @@ -0,0 +1,37 @@ +# Octatrack base: rest unused FM take hooks (4 December 2026) + +Status: measured on branch `fix/fm-take-events-rest` (tip `7c329fd6f`) for cumulative base `base/octatrack-next`. PR #2603. + +## What this proves + +Call **or take** hooks may declare `rests` in `events.json`. The seven FM frame-path hooks (LFO depth / frame LFO, release, STOP, retrig, kill, frame source) are marked `rests: true`, so a take-only machine that is installed and unused leaves those rows. + +## Unit run + +- Machine: MKII OS 1.40C +- Twin: `/Users/iliamurzinov/modwerk-builds/fm-take-rest-midi-20261204` (lean `--dev` USB MIDI + USB Audio MAIN/CUE, module-sets, table-owners), RAM identity `3dfbce8a59b70570…` +- Package: CX OSC `0.1.0-experimental` SHA-256 `24712ac8509ece68…` (`public/octatrack-modules/cx-osc/0.1.0-experimental.mwrm` on `module/cx-osc`) +- Bank A: A01 medium (trigs 1/5/9/13 on T1,T2,T3,T5,T6,T7; samples on T2 and T5), A02 empty, Part 1 stopped +- Command: `npm run device:price -- --write --curve T1,T3,T6,T7 --pick-pattern 2 --measure-pattern 1 --base 3dfbce8a59b70570 …` + +### Results + +| State | Frame add | Notes | +| --- | --- | --- | +| CX installed, unused (at rest) | **+0** (cpu +0.1) | Was **+20.4** on twin `292a5d1b` without these rests | +| Curve adds (T1, T3, T6) | +20.2, +24.8, +33.8 | first 20.2, each 9; stopped after T6 at 115.1 % (1 skip) | +| First instance on medium | 101.5 % of a frame | Module cost; release gate still fails without a `release-cost` waiver (#2293) | + +Trial left `needs-recovery` after the unclean curve stop. Cleared with `machineToStatic` on T1–T8, then `recover`, then a 1 s `set` of the same package. Inventory empty; status `normal` on `3dfbce8a…`. + +Logs: `/tmp/cx-osc-price.log`, `/tmp/cx-osc-price.json`, `/tmp/cx-osc-price-summary.json`. + +### Not run + +- FM Synth at-rest remeasure on this twin (unit went away after the CX run). Synth still uses Detours + `ev_in_use` for its own rests; this change only adds take-hook rests. +- Ear check of Synth wake/rest behaviour on this tip. + +## Software checks + +- `python3 -B sdk/machines/octatrack/events.py --check` +- `SiteEventTests.test_modules_rest_out_of_the_per_frame_events_only` From 30d7199b4c25456cdb555a8eeec2e54d96042f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A0Ilia=20Murzinov?= Date: Fri, 4 Dec 2026 10:24:44 +0100 Subject: [PATCH 3/6] Docs: FM Synth at-rest remasure on the take-rest twin (+14.7). --- .../2026-12-04-fm-take-events-rest.md | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/docs/verification/2026-12-04-fm-take-events-rest.md b/docs/verification/2026-12-04-fm-take-events-rest.md index 748869ce80..5dff6079a4 100644 --- a/docs/verification/2026-12-04-fm-take-events-rest.md +++ b/docs/verification/2026-12-04-fm-take-events-rest.md @@ -1,6 +1,6 @@ # Octatrack base: rest unused FM take hooks (4 December 2026) -Status: measured on branch `fix/fm-take-events-rest` (tip `7c329fd6f`) for cumulative base `base/octatrack-next`. PR #2603. +Status: measured on branch `fix/fm-take-events-rest` (tip `65c533320`, rests commit `7c329fd6f`) for cumulative base `base/octatrack-next`. PR #2603. ## What this proves @@ -10,11 +10,12 @@ Call **or take** hooks may declare `rests` in `events.json`. The seven FM frame- - Machine: MKII OS 1.40C - Twin: `/Users/iliamurzinov/modwerk-builds/fm-take-rest-midi-20261204` (lean `--dev` USB MIDI + USB Audio MAIN/CUE, module-sets, table-owners), RAM identity `3dfbce8a59b70570…` -- Package: CX OSC `0.1.0-experimental` SHA-256 `24712ac8509ece68…` (`public/octatrack-modules/cx-osc/0.1.0-experimental.mwrm` on `module/cx-osc`) -- Bank A: A01 medium (trigs 1/5/9/13 on T1,T2,T3,T5,T6,T7; samples on T2 and T5), A02 empty, Part 1 stopped -- Command: `npm run device:price -- --write --curve T1,T3,T6,T7 --pick-pattern 2 --measure-pattern 1 --base 3dfbce8a59b70570 …` +- Bank A: A01 medium (trigs 1/5/9/13 on T1,T2,T3,T5,T6,T7; samples on T2 and T5), A02 empty, Part 1 stopped. After twin re-boot, Parts 1–4 track kinds were all STATIC (0), signatures empty. + +### CX OSC (curve) -### Results +- Package: `0.1.0-experimental` SHA-256 `24712ac8509ece68…` +- Command: `npm run device:price -- --write --curve T1,T3,T6,T7 --pick-pattern 2 --measure-pattern 1 --base 3dfbce8a59b70570 …` | State | Frame add | Notes | | --- | --- | --- | @@ -22,14 +23,16 @@ Call **or take** hooks may declare `rests` in `events.json`. The seven FM frame- | Curve adds (T1, T3, T6) | +20.2, +24.8, +33.8 | first 20.2, each 9; stopped after T6 at 115.1 % (1 skip) | | First instance on medium | 101.5 % of a frame | Module cost; release gate still fails without a `release-cost` waiver (#2293) | -Trial left `needs-recovery` after the unclean curve stop. Cleared with `machineToStatic` on T1–T8, then `recover`, then a 1 s `set` of the same package. Inventory empty; status `normal` on `3dfbce8a…`. +Trial left `needs-recovery` after the unclean curve stop. Cleared with `machineToStatic` on T1–T8, then `recover`, then a 1 s `set`. Logs: `/tmp/cx-osc-price.log`, `/tmp/cx-osc-price.json`. -Logs: `/tmp/cx-osc-price.log`, `/tmp/cx-osc-price.json`, `/tmp/cx-osc-price-summary.json`. +### FM Synth (at-rest only) -### Not run +- Package: subscribe build `01b21edec056979f…` (`synth-take-rest-20261204.mwrm` / `pr2352-synth-subscribe-20261202.mwrm`, byte-identical; 45 hooks, 2 stock-code sites). Catalog `791e26c5…` Detour package refuses install on this tip (`RUNTIME_EVENT`). +- Command: `npm run device:price -- --base 3dfbce8a59b70570 …` (no curve) +- Result: at rest **frame +14.7**, cpu +9 (before frameMax 82.5 → atRest 99.7). Rolled back clean; inventory `[]`. +- Bank A Parts 1–4 had no FM/CX machine on any track when measured. Synth still answers `ev_in_use` (`fm_in_use`) and keeps Detour-style `runtime.json` `rests` address list; take-hook rests alone did not bring this subscribe package to ~0 on this card. -- FM Synth at-rest remeasure on this twin (unit went away after the CX run). Synth still uses Detours + `ev_in_use` for its own rests; this change only adds take-hook rests. -- Ear check of Synth wake/rest behaviour on this tip. +Logs: `/tmp/synth-at-rest-price.log`, `/tmp/synth-at-rest-price.json`. ## Software checks From ce66d84afbd66df9577060a9d25214a75122b2a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A0Ilia=20Murzinov?= Date: Fri, 4 Dec 2026 10:25:27 +0100 Subject: [PATCH 4/6] Docs: Synth +14.7 is fm_in_use on this card, not a take-rest miss. --- docs/verification/2026-12-04-fm-take-events-rest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/verification/2026-12-04-fm-take-events-rest.md b/docs/verification/2026-12-04-fm-take-events-rest.md index 5dff6079a4..bd6e61d8ae 100644 --- a/docs/verification/2026-12-04-fm-take-events-rest.md +++ b/docs/verification/2026-12-04-fm-take-events-rest.md @@ -30,7 +30,7 @@ Trial left `needs-recovery` after the unclean curve stop. Cleared with `machineT - Package: subscribe build `01b21edec056979f…` (`synth-take-rest-20261204.mwrm` / `pr2352-synth-subscribe-20261202.mwrm`, byte-identical; 45 hooks, 2 stock-code sites). Catalog `791e26c5…` Detour package refuses install on this tip (`RUNTIME_EVENT`). - Command: `npm run device:price -- --base 3dfbce8a59b70570 …` (no curve) - Result: at rest **frame +14.7**, cpu +9 (before frameMax 82.5 → atRest 99.7). Rolled back clean; inventory `[]`. -- Bank A Parts 1–4 had no FM/CX machine on any track when measured. Synth still answers `ev_in_use` (`fm_in_use`) and keeps Detour-style `runtime.json` `rests` address list; take-hook rests alone did not bring this subscribe package to ~0 on this card. +- Bank A Parts 1–4 had no FM/CX machine on any track when measured. Synth answers `ev_in_use` (`fm_in_use`, sweeps banks/FLEX/GLIDE); take-hook rests only leave it out of those rows when that answers 0. CX has no `ev_in_use` and is base-judged, so the same twin shows take rests work (+0). Synth +14.7 on this card is its in_use path, not a miss of the new take rests. Logs: `/tmp/synth-at-rest-price.log`, `/tmp/synth-at-rest-price.json`. From 886c300700092509d6be8942f94d112ad2e0bc56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A0Ilia=20Murzinov?= Date: Fri, 4 Dec 2026 10:39:52 +0100 Subject: [PATCH 5/6] Base: rebuild 0.8.7 and USB Audio recipes after take rests. --- sdk/machines/octatrack/base-binding.json | 4 +- sdk/machines/octatrack/base-versions.json | 2 +- .../usb-audio-input-reconstruction.json | 2 +- .../usb-audio-reconstruction.json | 2 +- src/engine/assets/octatrack-base-sources.json | 2 +- .../assets/octatrack-base-variants.json | 2 +- src/engine/assets/octatrack-base.elemod | 40 +++++++++++++------ 7 files changed, 34 insertions(+), 20 deletions(-) diff --git a/sdk/machines/octatrack/base-binding.json b/sdk/machines/octatrack/base-binding.json index a814e8cd41..f6403bbed0 100644 --- a/sdk/machines/octatrack/base-binding.json +++ b/sdk/machines/octatrack/base-binding.json @@ -1,6 +1,6 @@ { "schema": 1, - "identity": "3ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2", + "identity": "23b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf", "arena": 1092470240, "pool": 1087955104, "symbols": { @@ -15,6 +15,6 @@ "analog-bassdrum": "08055477d673f6f37ce4310fdbd3d2cf89d6588ed66e08ffd6c02ab35fe380b0" }, "variants": { - "off": "3ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2" + "off": "23b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf" } } diff --git a/sdk/machines/octatrack/base-versions.json b/sdk/machines/octatrack/base-versions.json index cd7ddf4a99..78dce731a4 100644 --- a/sdk/machines/octatrack/base-versions.json +++ b/sdk/machines/octatrack/base-versions.json @@ -190,7 +190,7 @@ { "version": "0.8.7", "identities": [ - "3ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2" + "23b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf" ] } ] diff --git a/sdk/machines/octatrack/module-adapters/usb-audio-input-reconstruction.json b/sdk/machines/octatrack/module-adapters/usb-audio-input-reconstruction.json index 27be9cee2c..bc85a5a755 100644 --- a/sdk/machines/octatrack/module-adapters/usb-audio-input-reconstruction.json +++ b/sdk/machines/octatrack/module-adapters/usb-audio-input-reconstruction.json @@ -4,7 +4,7 @@ "sources": { "generatedAssembly": "cf7a8f950ddd6dda12030a279ff98e0b1add646e4e9d9b90f381f399bf8d7427", "sdk/machines/octatrack/module-adapters/usb_audio_settings.c": "e893cec8f8054a39d53f96124667bd44639122e5c338d5f180d23ce9e0e97f89", - "sdk/machines/octatrack/include/modwerk_events.h": "94e51f04e58a2ed2a8983cdc055570cf911993ebe388f323732710f3dd1ac50e", + "sdk/machines/octatrack/include/modwerk_events.h": "833000e607c28669037e2b66a894a5932aaafd197931b7f414fae561c0c53f10", "sdk/octatrack/modules/usb-audio-out-tracks-main-cue/usb_audio_input_trim.c": "6b128ab96ae73b136afb9ccf3acfb4e9d21168b5452e5f835b7588f80364cba0", "sdk/octatrack/modules/usb-audio-out-tracks-main-cue/usb_audio_output_trim.c": "91aff3f0353b0f10d4f17f68d8ca01df214408cd55a1d058f40012fe7de07ed0", "generatedSettings": "745826397f23921738e246bb4c2bad60a174a91e59a70949d9e48c44852854b2" diff --git a/sdk/machines/octatrack/module-adapters/usb-audio-reconstruction.json b/sdk/machines/octatrack/module-adapters/usb-audio-reconstruction.json index fda2ff1e4a..bf7111733f 100644 --- a/sdk/machines/octatrack/module-adapters/usb-audio-reconstruction.json +++ b/sdk/machines/octatrack/module-adapters/usb-audio-reconstruction.json @@ -4,7 +4,7 @@ "sources": { "generatedAssembly": "5b10045507818c7ecfa8addf0db483351854510e7ed61d3242e378b7a8c46095", "sdk/machines/octatrack/module-adapters/usb_audio_settings.c": "e893cec8f8054a39d53f96124667bd44639122e5c338d5f180d23ce9e0e97f89", - "sdk/machines/octatrack/include/modwerk_events.h": "94e51f04e58a2ed2a8983cdc055570cf911993ebe388f323732710f3dd1ac50e" + "sdk/machines/octatrack/include/modwerk_events.h": "833000e607c28669037e2b66a894a5932aaafd197931b7f414fae561c0c53f10" }, "copies": [ { diff --git a/src/engine/assets/octatrack-base-sources.json b/src/engine/assets/octatrack-base-sources.json index d6c03a344f..b00fa33236 100644 --- a/src/engine/assets/octatrack-base-sources.json +++ b/src/engine/assets/octatrack-base-sources.json @@ -75,7 +75,7 @@ "sdk/machines/octatrack/elekloader/run_unpack.s": "78241fcab328e00fe5f3e5a51568d3db25c1723708a40d9270491a05d074f592", "sdk/machines/octatrack/elekloader/runtime.c": "de6a6c97d7660ff25431f356d9a163a994386d708a7ebe67490ac5dfff267f00", "sdk/machines/octatrack/elekloader/runtime.h": "c99e9f64174794a9f66a4eb8fbd8ca14d1a6d21fda243a456aa28c9ff22ded4e", - "sdk/machines/octatrack/elekloader/runtime_events.h": "75d4e14cb7a3504a70c1e3d69fc09ec8903eb132b87b1ed8dd085723c8372ef9", + "sdk/machines/octatrack/elekloader/runtime_events.h": "14cb2f923fd5f1bc7701235f4286c68aa9e204bb248a19978c64b3fe15a65528", "sdk/machines/octatrack/elekloader/runtime_events.s": "24a25d77d4717e6b764499981af68239e16d8e11d6ea4e524f019ffe263732fe", "sdk/machines/octatrack/elekloader/sample_memory.c": "207d022869eb071b63e4a991e6335c4e06272e316da7c2837f52351d92eac02f", "sdk/machines/octatrack/elekloader/selftest.h": "c1bbc27e23720b2d70bec0b022b2c4314eaad1f06226216d9d6200e2776bf037", diff --git a/src/engine/assets/octatrack-base-variants.json b/src/engine/assets/octatrack-base-variants.json index 210d0ada32..2e91fcf8bb 100644 --- a/src/engine/assets/octatrack-base-variants.json +++ b/src/engine/assets/octatrack-base-variants.json @@ -1 +1 @@ -{"schema":1,"packageSha256":"3824ff926532ee81edb536ee953d24f8188f65917188529b217d213f3193629b","variants":[]} +{"schema":1,"packageSha256":"6441954550ef621b33c501f6e830f07e29a77d17b00260755cb6aca810b74f43","variants":[]} diff --git a/src/engine/assets/octatrack-base.elemod b/src/engine/assets/octatrack-base.elemod index 6e8671805d..18410baae2 100644 --- a/src/engine/assets/octatrack-base.elemod +++ b/src/engine/assets/octatrack-base.elemod @@ -21206,16 +21206,7 @@ ], [ "hex", - "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003038613032313439663836323839316434333831383861663665643631326639613531363739623364666636313939643934353733623138616239353430313800336164383963313731623833633331636438323132363138663263336134333432386134353239643432383437323937626261323265623238363637623164" - ], - [ - "stock", - "0x400bcfcc", - 26 - ], - [ - "hex", - "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000312e3430430000000000000000000000003361643839633137316238336333316300" + "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003130396361623566626432366165643236643962316535666533633663316632383965343634373633373566343231626263303432383661626432346539623000323362363230643539623565313536363533353031613466393433636339386135333231336235373066303335393234646462306262656366626636646262660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000312e3430430000000000000000000000003233623632306435396235653135363600" ], [ "stock", @@ -21910,7 +21901,7 @@ ], [ "hex", - "302e382e37003ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2000000200000003200000044000000480000004c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + "302e382e370023b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf000000200000003200000044000000480000004c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ], [ "stock", @@ -21933,7 +21924,30 @@ ], [ "hex", - "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + "000000000000000000000000000000000000000000000000000000000000" + ], + [ + "stock", + "0x400a73b0", + 8 + ], + [ + "hex", + "01000101" + ], + [ + "stock", + "0x400d39ec", + 14 + ], + [ + "stock", + "0x400a73b6", + 58 + ], + [ + "hex", + "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ], [ "stock", @@ -114483,7 +114497,7 @@ "freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", "fxmap.c": "8205e72879af42ed1dffe917fd1554024d66e023ecace47754b0085a4bf32d12", "fxpage.c": "91fbe7aa6b5c7e9ae9a2c467ef6dc105868cb58ffa88bdbbc68839f0d5b41adb", - "identity.c": "e04659a89f8543b5d0ae8488389842e27cfcc7735692c6f4d06b2d9f2e9d8454", + "identity.c": "faf35ec3779c965fefa5afba2b1e83ad15fd0c397962b1fcffd73310c035891e", "lfo_pmtr_dest.c": "584ec5dbad54b7f646587cbf0cca3328ab6c1e8b8109adbc03e1fa7073fac525", "loader.c": "233c7391ab18932625863ecd19b66305d1458b3b1e9c056e18d658ff4493dcb7", "machine_admission.c": "fb551bab034a1b789bb80437967778cd0ca179ac29190f839e7d1ec3892bc862", From 2bca82d66bf59e96618fcee6bb8b9e9726e0291a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A0Ilia=20Murzinov?= Date: Fri, 4 Dec 2026 10:40:43 +0100 Subject: [PATCH 6/6] Base: record 0.8.7 size and retarget base-bound packages. --- sdk/machines/octatrack/base-sizes.json | 6 +++--- src/engine/assets/octatrack-module-packages.json | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sdk/machines/octatrack/base-sizes.json b/sdk/machines/octatrack/base-sizes.json index c0aaaa0b51..dc64f4ac9d 100644 --- a/sdk/machines/octatrack/base-sizes.json +++ b/sdk/machines/octatrack/base-sizes.json @@ -501,11 +501,11 @@ }, { "base": "0.8.7", - "identity": "3ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2", + "identity": "23b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf", "layouts": { "off": { - "main": 1365375, - "container": 850956 + "main": 1365379, + "container": 850944 } } } diff --git a/src/engine/assets/octatrack-module-packages.json b/src/engine/assets/octatrack-module-packages.json index 1e9b9a2d11..9d83dab857 100644 --- a/src/engine/assets/octatrack-module-packages.json +++ b/src/engine/assets/octatrack-module-packages.json @@ -341,7 +341,7 @@ "bytes": 2636, "sha256": "6dd2b668e6ab5b6ab9d5bd11a84f68690616e1ad75cd7f21c4c0e329cd8f518f", "path": "octatrack-modules/sidechain-compressor/0.2.2-experimental.mwrm", - "requiredBase": "3ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2" + "requiredBase": "23b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf" }, { "id": "output-matrix", @@ -357,7 +357,7 @@ "bytes": 4870, "sha256": "ffbdef92560ee1335c916fe21812319127362e5e7a8d42595fe8eaa198898224", "path": "octatrack-modules/output-matrix/0.2.0-experimental.mwrm", - "requiredBase": "3ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2" + "requiredBase": "23b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf" }, { "id": "cc-map", @@ -373,7 +373,7 @@ "bytes": 966, "sha256": "c7cd39a5f645d69279d3a288c40b8366e6638acdc042cf0fe68dfb9964a68ea2", "path": "octatrack-modules/cc-map/0.1.2-experimental.mwrm", - "requiredBase": "3ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2" + "requiredBase": "23b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf" }, { "id": "quantize-live-rec-toggle", @@ -451,7 +451,7 @@ "bytes": 1818, "sha256": "14247c8bc46d09f3419fead5ae2a2f738aa1e63d328fd41b9df7fad814f3ff8a", "path": "octatrack-modules/recorder-loop-fix/0.1.0-experimental.mwrm", - "requiredBase": "3ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2" + "requiredBase": "23b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf" }, { "id": "analog-bassdrum", @@ -467,7 +467,7 @@ "bytes": 26172, "sha256": "f76f6ad64cbe1a5c4c36311daa006b564a8d78b6a7f1bb48b4e6008ec83c3b79", "path": "octatrack-modules/analog-bassdrum/0.1.7-experimental.mwrm", - "requiredBase": "3ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2", + "requiredBase": "23b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf", "requires": 0, "claims": 1, "entries": 1 @@ -944,7 +944,7 @@ "copies": 4, "fills": 0, "installPresets": true, - "requiredBase": "3ad89c171b83c31cd8212618f2c3a43428a4529d42847297bba22eb28667b1d2" + "requiredBase": "23b620d59b5e156653501a4f943cc98a53213b570f035924ddb0bbecfbf6dbbf" }, "configurable-0.4.1": { "name": "USB Audio",