Repository navigation
Improvement: the Digitone II link client in the site's engine (read-only) - #1823
Merged
prodbysmolec merged 4 commits intoNov 20, 2026
Merged
Conversation
ident, mem, the screen and the diagnostics log over any SysEx line, in the Rytm link's wire format; the log reads with parseDeviceLog. Tested against a simulated unit answering as link.c does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
|
Please reject incomplete replies before returning screen or diagnostics data. Please check the echoed address, the exact requested byte count, and the mandatory identity fields. Tests for a short chunk and a reply for the wrong address would cover the cases the simulated unit currently misses. |
This was referenced Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
src/engine/elektron/dn2-link.ts, read-only: the link's requests and replies in the Analog Rytm MKII link's wire format over any SysEx line (LinkLine, asos-upgrade.ts's),ident,mem,screen(stock's frame pointer, then the 128x64 frame in eight reads) andreadLog, which reads the diagnostics log throughdiagandmemand parses it with the site'sparseDeviceLog. No keys, turns or RAM boot from the site. Tests run it against a simulated unit that answers aslink.cdoes, with a log laid out as the unit kept it on 19 November (a START, then a FREEZE of 9,050 frames after FLTR). A changelog entry. No page uses it yet.npm run pr:ready(Ready, after merging current main); the tests above; the run on a unit below. The wire format and the reads are the onesdn2_link.pyused on my unit (Machine: Digitone II development link, stage one (read-only diagnostics over USB MIDI) #1763, Machine: Digitone II diagnostics log, the Octatrack's layout, over the development link #1820's records).@julusian/midithroughscripts/zoom-device.ts'snodeMidiAccess), with this PR'sdn2-link.tsbyte for byte:ident(version 1, armed, no person, boot status 1, no drops),memof SRAM0x800053a4(8 bytes),screen(64 rows of 128 pixels, the page header readable as text) andreadLog(6,148 bytes, parsed: version 2, boot 1, load records every 5 minutes). No page calls it yet.Edge cases: none, because this adds read-only TypeScript to the site's engine; nothing that runs on a unit changes.
🤖 Generated with Claude Code