Skip to content

tools/lc6000-display: jog-display research tools (#165) - #166

Merged
Skeyelab merged 1 commit into
mainfrom
lc6000-display-tools
Nov 16, 2026
Merged

Skeyelab merged 1 commit into
mainfrom
lc6000-display-tools

Conversation

@Skeyelab

@Skeyelab Skeyelab commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Part of #165

Summary

tools/lc6000-display/
├── README.md          # the protocol in short (full recipe on #121), usage, rules
├── jogbuild.py        # PNG → upload: rotate 180°, encode as accepted, 0E byte-sum, plan writer, selftest
├── jogseq.swift       # sends a plan once, listening on WD + Controller; dry mode; port/message guards
├── sysex_decode.py    # .mmon / text / .syx → grouped SysEx, rebuilt uploads as PNG
├── mmon_list.py       # every message in a .mmon with time and To/From endpoint
└── images/
    ├── deck-ring.png  # our app icon, 198×198 (source, not rotated)
    └── f-test.png     # upright F + red square: the orientation test

The tools from tonight's #121 session, which lived in /private/tmp, so they survive it. They're research tools only: not built by the app, not run in CI.

Evidence

  • jogbuild.py selftest passes. It checks:

    • a PNG decode/encode round trip;
    • that two 180° turns are the identity;
    • a 7-bit bitstream round trip through sysex_decode;
    • that an upload rebuilds to the same PNG;
    • the byte-sum nibbles.
  • Both images are byte-identical to the PNGs uploaded and shown on hardware tonight, now produced by this encoder from our own sources.

  • jogseq dry accepts the plan jogbuild.py plan images/f-test.png writes.

  • No third-party bytes:

    • no DJ-app images and no capture files;
    • the eXIf is generated from the dimensions;
    • the plans hold only protocol messages.

    The README says which parts were verified and which are untested simplifications (the bisect in Show the active deck on the LC6000 jog display (upload a per-deck image over the WD port) #165).

Merge Danger

Door: two-way. Blast Radius: none (a new folder).

🤖 Generated with Claude Code

https://claude.ai/code/session_01VCgWWsoPKWUFiYf5pcC5B5

#165)

jogbuild.py (encoder: 180° rotation, byte-sum 0E, plan writer, selftest),
jogseq.swift (guarded sender), sysex_decode.py and mmon_list.py (capture
readers), and two test images of our own. No third-party images or
captures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VCgWWsoPKWUFiYf5pcC5B5
@Skeyelab Skeyelab added this to the v1.1: more controllers milestone Nov 16, 2026
@Skeyelab
Skeyelab enabled auto-merge November 16, 2026 05:33
@Skeyelab
Skeyelab merged commit a11e06b into main Nov 16, 2026
3 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