Skip to content

Improvement: Rytm development bases no longer draw the link's armed mark - #1932

Closed
npp1993 wants to merge 5 commits into
repeat98:mainfrom
npp1993:claude/rytm-link-no-armed-mark
Closed

npp1993 wants to merge 5 commits into
repeat98:mainfrom
npp1993:claude/rytm-link-no-armed-mark

Conversation

@npp1993

@npp1993 npp1993 commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

What changes

While armed, the Analog Rytm MKII development base's USB link drew "the armed mark": a 2 x 5 black notch at x 126-127, y 2-6 of the header bar, right beside stock's transport icon. On the unit it runs into the stop square and reads as a drawing fault. No software reads it (rytm_link.py ident reports armed), and GLOBAL > REMOTE CTRL is what a person at the unit sees. Its comment said it was kept only because the rig's screen references were recorded with it.

  • link.c: mw_link_draw and its FILLRECT define go; base.json: its ev_draw subscription and the dev block's -DFILLRECT_AT (nothing else in link.c/link.s used it) go. Arming is unchanged: armed at every boot, the row toggles it, ident reports it.
  • rytm_test.py: every screen compare skips those 10 pixels (OLD_ARMED_MARK), so references recorded with the mark (every local reference with the white header has it) still pass, and new ones compare with old ones. One case in the repository compares the header with a reference (improved-amp-prefade-swing); the others ignore rows 0-8.
  • sdk/tests/test_rytm_cases.py: a test for that skip. The file's if __name__ == "__main__" block sat before its last test, so test_a_channel_on_cc_nrpn_and_midi_expectations was a function inside the if and never ran; the block moved to the end, and that test now runs and passes.
  • LINK.md, TEST_RUNNER.md, changelog entry.

Why not on a cumulative base draft

This touches only the dev block of the Rytm base (the USB link that --dev adds for development images). The release variants players install are byte-identical (identities below match base-binding.json), so no base update reaches anyone's instrument. There is no open base/analog-rytm-mkii-next draft, and parking a dev-only fix there would hold it behind a release run it doesn't need. Merged standalone as a Rytm maintainer call; a later Rytm cumulative draft starts from main with it in.

How it was checked

  • npm run machine:base -- analog-rytm-mkii --stock …OS1.74.syx: release variants unchanged and match base-binding.json (send-bus 3ece243b, voices dd771eae, plain 1c14b6b0). --dev: send-bus dev 6e2b69e6 (was 7ee5867d on main), voices dev 39a871c8, plain dev 9717f69a; dev identities are not recorded in the binding.
  • rytm-emu (dtboot with the RAM-boot model): images linked from main's dev base (7ee5867d) and this branch's (6e2b69e6), no modules, booted with no panel presses. Both answer ident armed 1, person 0 at 8000M. Screen after two NO taps: on main x 126-127, y 2-6 are 0 of 10 lit (the notch); on this branch 10 of 10 lit, the stop square at x 121-125 standing alone in the white bar.
  • python3 -m unittest sdk/tests/test_rytm_cases.py: 10 tests pass.
  • npm run pr:ready: Ready.
  • An independent review of the diff: no defects; from its notes, --record no longer says a reference was replaced when it differs only at the old mark.
  • Analog Rytm MKII (CM02 in flash): RAM-booted the same no-module image linked from 6e2b69e6 (image crc 95613973) with rytm_link.py ramboot. After the boot ident reports armed 1, person 0, with no panel presses. Screen capture on the kit page: x 126-127, y 2-6 are 10 of 10 lit, and the stop square stands alone in the white bar.

What the guides lacked

Nothing.

🤖 Generated with Claude Code

npp1993 and others added 3 commits November 21, 2026 00:46
The USB link drew a 2 x 5 black notch at x 126-127 of the header bar while
armed. On the unit it ran into stock's stop square and read as a drawing
fault; no software reads it (ident reports armed) and the GLOBAL row is
what a person sees. The draw hook, its function and its FILLRECT define
go. The test runner's screen compares skip those 10 pixels so references
recorded with the mark still pass. Also moves test_rytm_cases.py's
__main__ block to the end, so its last test runs under discovery.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d armed mark is not reported as replaced

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the enhancement New feature or request label Nov 21, 2026
@npp1993
npp1993 enabled auto-merge November 21, 2026 14:36
@repeat98

Copy link
Copy Markdown
Owner

Thanks @npp1993. I’ve carried both commits into the cumulative Rytm base draft #1934 with your authorship.

Could you RAM-boot the cumulative development build on your Rytm MKII and add the hardware test record to #1934? Please include the source revision, development base/build ID and OS version. Check the transport header while stopped and playing, verify arming at boot and via GLOBAL > REMOTE CTRL and rytm_link.py ident, and record whether the unit returns to the flashed base after a power cycle. Please list anything you couldn’t run.

@repeat98 repeat98 closed this Nov 21, 2026
auto-merge was automatically disabled November 21, 2026 15:23

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants