Skip to content

Mute Modes 0.2.4-experimental: rests while MUTE MODE is OT (owner-approved, from the owner's unmerged Zac-Kyoti/octatrack-kyoti-fw#5) - #2172

Merged
repeat98 merged 9 commits into
mainfrom
module/mute-modes-0.2.4
Nov 26, 2026
Merged

repeat98 merged 9 commits into
mainfrom
module/mute-modes-0.2.4

Conversation

@repeat98

@repeat98 repeat98 commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Mute Modes 0.2.4-experimental: costs nothing while MUTE MODE is OT, the default. Choosing OTFX, OTFX-T or DT-T wakes it within one screen refresh, and a track that was muted before keeps the OT cut until it is unmuted, as in 0.2.3. It needs Modwerk base 0.8.2 (now on main), the first base that accepts a table owner with resting sites. The owner approved it as an owner-approved update on 26 November 2026. The owner still has to merge it.

What works: on the owner's MKII, 0.2.4 rests at +0.0 points of the frame interrupt (0.2.3: +0.9). Every MUTE MODE switch woke it, and it went back to rest on OT.
What is not checked: nobody has listened to check that a muted track stays silent right after a mode change. The exact release has also not run on released base 0.8.2. Details are below.
Blocked on the owner: one test still fails. src/catalog/module-qualification.test.ts (line 92) lists which modules are expected to qualify as owner-approved updates. 'mute-modes' has to join that list, as UNGEMACH, SYNTIZ, Grain, Kits and MIDI Scenes did in their releases. This session's permission guard refused an edit to a test, so the owner makes or approves that one-word change. Everything else in npm run pr:ready passes.

What changes for players

  • In MUTE MODE OT, the Octatrack runs its own mute code untouched, and Mute Modes costs nothing.
  • OTFX, OTFX-T and DT-T behave exactly as in 0.2.3.
  • It needs base 0.8.2 or newer. Earlier bases do not accept this version as the owner of the PERSONALIZE rows.

How

  • mm_in_use answers the base's ev_in_use once per UI tick.
    • In OT it answers 0, after doing pre's OT clear of UNHELD and SHADOW itself.
    • Any other mode answers 1.
  • runtime.json lists five detours as "rests". fresh_bind is not one, and neither are the PERSONALIZE table sites.
  • The new code is built only under MODWERK_EVENTS. The native plain unit (996 B) and SC_KEY unit (1,106 B) assemble the same, instruction for instruction, from 0.2.3's and 0.2.4's source.
  • Source: the head of the owner's own pull request to the author's repository, MUTE_MODES (Modwerk form): rest while MUTE MODE is OT, Modwerk 0.2.4 Zac-Kyoti/octatrack-kyoti-fw#5 (72d115f01 on repeat98/octatrack-kyoti-fw, branch mute-modes-0.2.4-rest). That pull request is still unmerged. The owner waived Zac's upstream merge for this version, and sdk/imports/mute-modes-72d115f.json and the approval both say so.
  • Package: 7542f10c… (3,026 B). It was rebuilt with build-modules-isolated.sh from this branch (after merging main) and imported, and octatrack:module-packages gives the same bytes. It is the package base 0.8.2 admits as its third reviewed Mute Modes table owner. The top-level mute-modes.declaration.json and .recipe.json now match table-owners/mute-modes/0.2.4/. The 0.2.3 package leaves public/, and its reviewed copy stays under table-owners/.
  • Approval: sdk/approvals/mute-modes-build-approval.json, an owner-approved update.
    • It waives current-build-hardware and release-documentation, and keeps 0.2.3's five captures (retainedUiVersion), since the screens are unchanged.
    • The manifest drops 0.2.3's tests.qualification, so the approval governs. hardwareStatus is now historical.
  • CPU price: resources.cpuPrice is now 0, from the owner's at-rest run of 7542f10c (evidence/cpu-price.json).
    • That run was device:price without --write. The record was written afterwards from its saved output, with the tool's own writePrice.
    • When awake (OTFX, OTFX-T or DT-T), the module costs what 0.2.3 did: +1.7 points on the author's MKI.
  • Performance record: evidence/performance.json carries 0.2.3's ot_emu load and stress figures, measured on the native image, which this source builds unchanged. It is unstamped, and the approval binds it with the source.
  • candidate-recipes.json re-pins the manifest, cpu-price.json and performance.json. The changelog's base line now names 0.8.2 instead of 0.7.8.
Measurements on the owner's unit (MKII, OS 1.40C)

All runs used a development twin of base 0.8.1 (493c9cc5) that admits 7542f10c as table owner, on 25 November 2026. Every trial was rolled back, and nothing was flashed.

Package Frame interrupt at rest CPU at rest
0.2.3 (d460c7e2) +0.9 +0.9
0.2.4 (7542f10c) +0.0 +0.2

The wake test had pattern C04 playing and T1 muted. The rest site 0x40004dc6 was read 300 ms after each MUTE MODE change:

  • OT: resting.
  • OTFX, OTFX-T and DT-T: awake, with T1 still muted in the mute word.
  • OT again: resting.

There were no stalls, errors or crashes.

On a development twin of base 0.8.2 with UI-tick caching (cd450fed), the module UI ticks took 117.8 µs, against 116.4 and 115.5 µs with no module: about +1.8 µs.

Not tested on a unit: the exact release, package 7542f10c on released base 0.8.2, has not run the test procedure (device:qualify, a power cycle, removal), and nobody has listened that a muted track stays silent right after a mode change. Both need the owner's MKII or Zac's MKI, and this session had no unit. The owner approved the release without them. The owner's readings above ran the same package bytes on a 0.8.1 development twin.

Edge cases

Case Why this change makes it a risk How run Result
A track muted in OT stays silent when MUTE MODE leaves OT While resting, pre no longer runs. mm_in_use must do its OT clear, or the OT-exit hold breaks Owner's MKII, 0.8.1 dev twin, T1 muted while C04 played, each mode in turn Mute word: pass (T1 still muted in OTFX, OTFX-T and DT-T). Sound: not run, because there is no per-track level reading over USB and nobody listened
Wake on a switch to OTFX, OTFX-T or DT-T Stock bytes stay under the rest sites until the next UI tick Same run, rest site 0x40004dc6 read 300 ms after each change pass (awake in every soft mode)
Rest again on a switch back to OT The module must not stay awake Same run pass (stock's bytes again)
Cost at rest in OT This is the point of the release device:price A/B on the same twin, 3 readings of 8 s each pass (+0.0, against +0.9 for 0.2.3)
UI tick cost of the answer mm_in_use runs every UI tick profile:3 on a 0.8.2 caching twin pass (about +1.8 µs)
The native units The new code must stay out of the native build Assembled 0.2.3's and 0.2.4's patch_softmute.s, plain and SC_KEY, and compared the disassembly pass (identical, 996 and 1,106 B)
Base admission The package must be the exact table owner base 0.8.2 admits Isolated build and octatrack:module-packages compared with table-owners/mute-modes/0.2.4/mute-modes.mwrm pass (7542f10c, byte for byte)
Install on a base before 0.8.2 Earlier bases have no admission for a table owner with rests not run: no unit in this session, and the owner's twins all admitted it not run: no unit
Upgrade from 0.2.3 in a saved set, a power cycle, removal The table owner changes package not run: no unit in this session not run: no unit
A muted SIDE-CHAIN key track, or a machine asking ev_trig_muted while waking The rest/wake boundary meets these paths not run: no unit in this session not run: no unit
MKI Same OS 1.40C sites on both models not run: only the owner's MKII measured this version not run: no MKI run

Guides: two gaps, not fixed here because a module release stays free of guide edits, and this session was limited to this branch:

  • MODULE_QUALIFICATION.md does not say that an owner-approved update applies only when the manifest has no tests.qualification, so a module that had a qualification record must drop it.
  • octatrack:module-packages fails with "The private cave/table declaration does not name the exact source inputs" after a price write or an evidence edit, because candidate-recipes.json pins Mute Modes' manifest and evidence hashes. The message does not name the file.

Both belong in a small Fix:/Docs: pull request.

npm run module:doctor -- mute-modes: green. npm run pr:ready: see the checks.

  • Changing a module someone else wrote: its author said yes before I started. Not given: the owner waived Zac's upstream merge for this version (26 November 2026), and the change is the owner's own pull request to Zac's repository, MUTE_MODES (Modwerk form): rest while MUTE MODE is OT, Modwerk 0.2.4 Zac-Kyoti/octatrack-kyoti-fw#5.
  • I read the guide for its category in docs/module-guides/, and TESTING.md lists what I did not test.
  • Source and media are mine or properly licensed, with authors and full licence texts kept. Nothing comes from Elektron firmware.
  • Screenshots are real captures of the current module UI (0.2.3's, retained: the screens are unchanged). Hardware results are what a named person saw on a named build; emulator results are labelled as emulator results.

🤖 Generated with Claude Code

The source change of Zac-Kyoti/octatrack-kyoti-fw#5 (mm_in_use answers ev_in_use;
runtime.json lists five detours as rests), version 0.2.4-experimental, its changelog
entry and the source pins in candidate-recipes.json re-taken. The import record,
catalogue and package wait for Zac's merge; base 0.8.2 (#2079) admits 7542f10c.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repeat98 and others added 6 commits November 26, 2026 14:28
…l, catalogue pin, TESTING and README

The source is the head of the owner's unmerged Zac-Kyoti/octatrack-kyoti-fw#5
(72d115f01, repeat98/octatrack-kyoti-fw mute-modes-0.2.4-rest), imported under the
owner's waiver of the author's merge (sdk/imports/mute-modes-72d115f.json). The
owner-approved update waives current-build hardware and release documentation
(0.2.3's captures kept). The CPU price is the owner's 25 November MKII at-rest run of
package 7542f10c (+0.0), written with the tool's own price writer. The top-level
table-owner declaration and recipe point at 0.2.4's. The ot_emu performance record
carries 0.2.3's measurements: the native units assemble identically.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ecipe pins, generated catalogue

The isolated build and octatrack:module-packages give package 7542f10c (3,026 B), the
one base 0.8.2 admits as table owner. The 0.2.3 package leaves public/; its reviewed
copy stays under table-owners/mute-modes/0.2.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es were rebuilt from

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	src/engine/assets/module-build.json
…lay Modes 0.2.1); 7542f10c unchanged

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98 repeat98 changed the title Mute Modes 0.2.4-experimental: rests while MUTE MODE is OT (draft, waits on Zac-Kyoti/octatrack-kyoti-fw#5) Mute Modes 0.2.4-experimental: rests while MUTE MODE is OT (owner-approved, from the owner's unmerged Zac-Kyoti/octatrack-kyoti-fw#5) Nov 26, 2026
@repeat98
repeat98 marked this pull request as ready for review November 26, 2026 15:01
@repeat98 repeat98 closed this Nov 26, 2026
@repeat98 repeat98 reopened this Nov 26, 2026
@repeat98
repeat98 merged commit 48f4a9b into main Nov 26, 2026
25 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant