Skip to content

Draft: CLYPS Octatrack SRC clip list and ARR performance view - #1997

Draft
btzz5w8w5d-star wants to merge 46 commits into
repeat98:mainfrom
btzz5w8w5d-star:feature/clyps-community-draft
Draft

btzz5w8w5d-star wants to merge 46 commits into
repeat98:mainfrom
btzz5w8w5d-star:feature/clyps-community-draft

Conversation

@btzz5w8w5d-star

@btzz5w8w5d-star btzz5w8w5d-star commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Current status · 27 November 2026

CLYPS Alpha 2.1 is the build in this pull request. It's a draft: experimental, not qualified, and it does not run on the public base yet.

CLYPS adds a clip-launch performance layer to the Octatrack MKII. You can launch each track's patterns as clips, capture combinations as rows, and recall them as whole rows or single cells, quantized to the stock wrap, without stopping playback.

Commits

Commit What it is
d426b1190 The exact hardware-tested Alpha 2.1 candidate, unchanged. Package SHA-256 d5c3e8864ce590bbde8e4d586074552f83cf3f897b60e32b64e90fe83e2742fd (evidence/native-ui-04/build.json). It was this pull request's head before anything else was pushed.
7f3a9b8e8 Moves the module from sdk/drafts/clyps to sdk/octatrack/modules/clyps. Its release notes move to src/community/module-changelogs/clyps.json, and the late-EOF reproducer moves into the module's tests/.
1456a37ed Moves the Bank and copy/paste requirements to sdk/octatrack/modules/clyps/BANKS_COPY_PASTE_REQUIREMENTS.md and removes the CLYPS links from the root README.md and docs/README.md.
a76bdc479 Current head. Removes a local folder path from evidence/performance-01/official.json.

After d426b1190, only paths, links and that one evidence line change. Every C and assembly source is byte-identical, and the head builds the same package (d5c3e886…).

Build and try the exact candidate

The public base can't load this build: its event registry ends below the three sequencer services CLYPS needs, and it refuses the package (code 257 in evidence/performance-01/public-base-refusal.json). It runs only on the compatible contributor development base 5c32cbacd, on the branch integration/clyps-current-base-nov23 of my fork.

Prerequisites: Python 3.12, Node 24, m68k-elf GCC, your own OS 1.40C file, and the Elekloader checkout pinned in the base's proofs. Keep the firmware, cards and .mwrm files outside Git.

# 1. Sources: the base and the tested candidate, side by side
git clone https://github.com/btzz5w8w5d-star/modwerk.git clyps-src && cd clyps-src
git worktree add ../clyps-base 5c32cbacd2b1efea3d70e9b543a9a43cfe634651
git worktree add ../clyps-a21  d426b119060f980c1291e2246abf0776ba108847
BASE=$PWD/../clyps-base; D=$PWD/../clyps-a21/sdk/drafts/clyps; OUT=/path/outside/git; mkdir -p "$OUT"

# 2. Host tests (11 pass on the candidate)
python3.12 -B -m unittest discover -s "$D" -p 'test_*.py' -v

# 3. The package: prints and must equal sha256 d5c3e886…42fd, hooks ev_seq_wrap 63, ev_audio_seq_source 64, ot_modal_input 65
python3.12 -B "$D/build_candidate.py" "$BASE/sdk" "$OUT/clyps.mwrm" --performance --symbols "$OUT/module.json"
shasum -a 256 "$OUT/clyps.mwrm"

# 4. The development twin (RAM boot only, never flashed)
cd "$BASE" && node scripts/mirror-octatrack-modules.mjs
python3.12 -B sdk/machines/octatrack/elekloader/build_core.py \
  --upstream "$ELEK" --stock "$STOCK_OS" --output "$OUT/base" \
  --dev --usb-midi --dsp-loader --site-events --module-sets --module-ui-roots \
  --cached-modules --resident-stock-hooks --resident-on-demand --part-menu --sample-editor
# expect proofs.json configurationHash d7e727cd84cf2d99… and MAIN.raw 1f8e2e9f…

# 5. On the unit: note the flashed set first (npm run device -- do inventory), then
npm run device -- boot "$OUT/base"
npm run device -- try "$OUT/clyps.mwrm" --seconds 120
# A power cycle returns to the flashed base and its kept set.

I rebuilt step 3 today from these two public commits in an empty folder and got d5c3e886… again, from both d426b1190 and the head a76bdc479 (where D is sdk/octatrack/modules/clyps). The twin recipe in step 4 reproduced MAIN 1f8e2e9f… on 25 November (PERFORMANCE_SPRINT01.md); I didn't rebuild it today. The emulator replays are in NATIVE_REPLAY.md and PERFORMANCE_SPRINT01.md.

What was tested

Tested on a unit: package d5c3e8864ce590bbde8e4d586074552f83cf3f897b60e32b64e90fe83e2742fd, MKII OS 1.40C, development twin d7e727cd84cf2d99 (RAM boot, base 5c32cba), five 120 s trials by the developer on 27 November 2026. These were exploratory trials, not the test procedure and not a qualification.

  • On the unit (developer's own trials and musical judgement): 0 refusals, and no crash, stall, freeze or skipped track logged. Clip View opens first. FUNC + LEVEL moves across tracks, the outline-only pending state reads as "waiting", native mutes (FUNC + TRACK) work, empty slots are readable, STOP cancels a waiting launch, Pause keeps it, and Restore All returns home. A power cycle restored the flashed public base 0.8.2, its 13 modules and an identical set identity. Trial 02a was incomplete and counts for nothing. The CPU readings (5-minute windows, mean 45–48 %, peaks 58–69 %) mix workloads and don't isolate CLYPS's own cost.
  • In the emulator only: the replay steps and Sprint 03/06 observations in PERFORMANCE_SPRINT01.md and evidence/native-ui-04.
  • Not tested: TRIG LED feedback (none yet), mute-state display, HOM/NXT legibility, TEMPO/ARR routing (inconsistent on the unit, cause not confirmed), the contextual footer on the real screen, row persistence (rows are RAM-only), Banks other than A, external clock, MIDI tracks, and coexistence with other modules (Track Solo is declared incompatible).

Edge cases

Case Why this change makes it a risk How run Result
Launch requested before a waiting launch commits A pending source could land on the wrong boundary or be lost Unit, developer's trials; emulator replay pass: STOP cancelled it; Pause and resume kept it
Restore All Home sources must come back on every track Unit, developer's trials pass
Native mutes while CLYPS sources play Mute bytes could diverge from stock Emulator byte comparison (FUNC + T2); unit by ear pass
TEMPO and ARR from inside CLYPS Stock popup and Arranger routing could trap the view Unit, developer's trials fail: NO sometimes returned to CLYPS; other times ARR opened the stock Arranger first
Uncertain bank or project load Rows could be cleared or point at the wrong patterns Emulator late-EOF reproducer and 06-B bank guard host checks pass in the emulator; not run on a unit: needs a disposable card
Power cycle after trials The flashed set must be untouched Unit: inventory and set identity before and after pass
Public base admission The public base lacks the services Emulator refusal control pass: refused with code 257, pool and callbacks unchanged
Other modules installed Shared sites and TRACK ownership Track Solo declared incompatible; others not run: CLYPS ran alone in every trial

Outstanding before review for release

  • Shared base services, on Octatrack base 0.8.3: CPU back from the Part read, USB Audio streams in the CPU limit, no USB DISK freeze, and four more #2246. These are ev_seq_wrap, ev_audio_seq_source and ot_modal_input, which Jannik numbered 64–66. Alpha 2.1 still binds the contributor numbering 63–65, so it needs a rebuild once the services land on base/octatrack-next. The TRIG LED overlay is proposed there as a declared-exclusive claim. The capability question (the 0x4000 feature bit) is still open and will be raised separately.
  • Qualification gates (module:doctor, modules:check; red on this draft as expected): a catalog entry, CPU/DSP/memory gauges in resources.impact and a measured cpuPrice, a USB package and its fingerprint, presentation/thumbnail.svg, the cross-compatibility gate, and the full test procedure on a unit. The changelog CI reads "Unknown changelog module: clyps" until the module is in the catalog. The manifest version (0.2.0-experimental) doesn't match the notes yet (0.5.1-experimental), and it changes together with the rebuild.
  • Owned elsewhere: Bank lifecycle, row persistence and load outcomes are Codex's workstream. Alpha 3 (TRIG LEDs, mute visibility, HOM/NXT, TEMPO/ARR) continues separately.

Credits and licence

Thanks to Zac Kyoti and the OT Kyoti FW contributors, whose original CLYPS sequencing work this builds on. This adaptation is mine, and they haven't endorsed it. Their MIT notice, Copyright (c) 2026 Zac Kyoti and the OT Kyoti FW contributors, travels with the source in LICENSE.kyoti. It is byte-identical to the upstream LICENSE, whose exclusions (Elektron material, inherited octamax files, third-party patches) cover nothing here. The Modwerk module code is GPL-3.0-or-later (LICENSE), and PROVENANCE.md lists the origin of every file. There is no Elektron firmware, image, sample or recording in this pull request.

Guides: nothing

Historical record before Alpha 2.1 (23 November 2026 and earlier, older builds)

The text below is the earlier description, unchanged. It describes older builds and the old sdk/drafts/clyps path. Its hardware status was current then: no unit had run CLYPS at that point.

Official testing procedure · 23 November 2026

Open for source review. The official host and connected emulator runs failed at step 1 (draft manifest missing). Steps 2–12 did not run. The fresh supplemental replays below used only the compatible candidate base. Records, logs and build hashes.

Not tested on a unit: emulator-only session; physical testing has not been authorized.

Edge cases

Case Why this change makes it a risk How run Result
Eight audio lanes and independent source selection A source change could redirect a neighboring lane Native MKII wide pair against independent stock composite and T2-only slice Pass. All 624 events, 608 relative writes and 219 states matched. The separate T2 slice matched 384 calls and 400 writes at wrap 90.
Request just before wrap Pending state could appear too late Native early-boundary panel fixture Fail. Requested by tick 89 +1 ms, pending diagnostic still zero at +15 ms, committed at wrap 90 +16 ms.
Request just after wrap Restore could be reported on the wrong tick Native late pair and strict boundary grader Fail. All 848 events, 816 writes and 298 states matched, but pending restore appeared at tick 187; the oracle requires 188.
ARR after stock popup during Row Edit Editor could keep the panel hidden or lose a row Native popup fixture and host callback test Pass. ARR reopened, R04 retained its definition and OFF recovered the full pool.
Unrelated bank, early EOF, popup during bank load An already-defined R04 could be cleared Host callbacks with an actual temporary-file EOF and an unrelated bank mask Pass. R04 and its source survive.
Late interrupted project load Destination initialization can clear the previous rows before completion Host late-failure case with a short read after init Fail. The characterization test passes by reproducing loss of R04. Native late-abort recovery remains unverified.
Missing versus completed stored reload Rows could be kept or discarded for the wrong destination Stock PROJECT menu in native emulator on disposable cards Pass. Missing stored files preserved bank A and R04. Completed stored reload selected bank B and cleared R04. OFF recovered the full pool in both cases.
STOP, OFF and stock Arranger Queued source changes or handlers could survive removal T2 slice and Arranger recovery fixtures Pass. STOP cancelled the queued change; OFF restored callback heads and all 786432 pool bytes. Stock Arranger playback matched before and after removal.
Shared hook interaction Panel, source or wrap registration could conflict with base owners Candidate build by named hooks, callback heads before/after OFF and upstream-only compile Pass on the candidate for bindings and T2 unload. Blocked on upstream main for the three proposed bindings; catalogue-only compatibility excludes CLYPS.
Physical MKII Audio, cost, USB trial and persistence require the real instrument Separate authorization required Not run. Trial, soak, pricing, rollback and inventory, MAIN/CUE listening and persistence remain open.

Historical results before the official procedure

Native MKII replay on the proposed shared base

The public module now runs against the review candidate based on #1910. The candidate incorporates the cumulative frame-budget updates through 23f41e7. Base contract discussion and ownership are in the RFC on #1910.

A fresh native SRC request changed T2 from A01 to A02 at stock wrap 90. All seven other lanes stayed on A01. The independent same-build stock composite matched 384 ordered calls and 400 timestamp writes. The wider replay matched 624 ordered calls and 608 timestamp writes. The default 5 ms capture differed at tick 193 in one queue snapshot. The paired 1 ms witness passed the same grader on all 219 states and rejected all three truncated streams. A separate 16-row sweep exercised 128 track/source combinations. The late input was accepted at +1 ms of tick 187 and pending was published at +5 ms in the same tick. The unchanged strict diagnostic expecting tick 188 failed. Musical restoration committed at 282 and all 848 ordered events, 816 timestamp writes and 298 ticks matched stock. The pool returned to its original 786432 bytes after OFF. Hardware remains untested.

The current instructions are in sdk/drafts/clyps/NATIVE_REPLAY.md, with executable identities in evidence/shared-base-refresh.json and the initial evidence/shared-base.json. At this earlier checkpoint shared ABI review was pending.


Earlier contributor checkpoint

Eight-track CLYPS engine

The public draft now contains the production eight-track sequencer C source, SRC and ARR controls, Panorama/Zoom and Row Edit, wrap-queued launches and the editing interlock. The source audit and complete Kyoti MIT notice accompany the GPL module in sdk/drafts/clyps/.

Reproduce the contributor build

From the checkout root with Python 3.12, host cc and m68k-elf GCC/binutils installed:

python3.12 -B -m unittest discover -s sdk/drafts/clyps -p 'test_*.py' -v

Four tests passed from a clean clone, including all eight lanes × 16 source references, mixed row recall, queued supersession, STOP cancellation, TRACK handoff, frame digests and the ColdFire link. Linked size is 5,452 bytes with 164 bytes BSS and 238 relocations.

Shared-base dependencies

The current base registry assigns 61 to frame preparation and 62 to the frame deadline. Event 29 contributes menu rows. Native integration needs the pre-wrap notification, exclusive per-lane source selector, early modal key and encoder routing, and capability-based admission before callback registration. See HOOK_PROPOSAL.md for the split with cumulative base PR #1910.

Archived protected-MKII-emulator captures regraded successfully for the fixed eight-lane comparison (624 ordered events, 608 timestamp writes, 219 sampled states) and early boundary. Late still fails the strict pending diagnostic at tick 187 versus 188 despite matching musical scheduling. The earlier Track Solo and Grain coexistence evidence is documented in TESTING.md. Shared-base integration and physical qualification were open at this checkpoint.

Guides: nothing

Hardware: NOT TESTED.

🤖 Generated with Claude Code

@repeat98

Copy link
Copy Markdown
Owner

I built the draft and all four scoped tests passed. I also tried interrupting Row Edit with a stock popup. After the popup closed, pressing ARR consumed the key but left the screen hidden. The row editor was still active, so another ARR press couldn’t reopen CLYPS. Could you clear or restore Row Edit when the stock UI takes over and cover that handoff in the fixture?

There’s a second state-loss case to settle. clyps_bank_load() discards all sixteen row definitions on the pre-load notification, including a request for an unrelated bank. Please decide which completed load should discard the rows and cover an unrelated load and a failed one with a row already defined.

The module claim is in place. I’d keep the draft parked for public integration while we decide the shared source selector and panel ownership in #1910. Events 61 and 62 already have users.

@btzz5w8w5d-star

btzz5w8w5d-star commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Jannik, I rechecked hardware admission after #1910 merged. The Octatrack enumerated on USB. Physical trial BLOCKED before any device command.

  • CLYPS source at 188bda3, upstream main at 4035fdf. The official plan lists 12 steps. The host procedure failed at step 1 on the missing staged octamod.module.json, including after merging that main. Steps 2–12 did not run.
  • Building against that upstream SDK independently reproduces the incomplete modwerk_modal_input and undefined MODWERK_MODAL_INPUT_ABI. The upstream registry still lacks the candidate wrap, per-track source and modal-input bindings. Two rebuilds against contributor base 5c32cba produced identical MWRM SHA-256 32ebca98345840f4e107550683f4fd14f2be35e5355df3d8933b7132f324aea9. All ten host tests passed. The standalone catalogue check covered 44 active modules and excluded CLYPS.
  • Regrading the earlier native T2 replay against its stock control matched at wrap 90 (384 ordered calls, 400 relative writes, 786432-byte free extent after unload). The earlier strict early/late diagnostics remain failed.
  • Target reported by the artist: MKII / 1.40C. USB enumeration did not identify the running Modwerk base or saved Part. Physical playback, launch, timing, UI, CPU/frame cost and stability are untested. No physical installation or rollback occurred.

Please settle the shared wrap/source/modal contract and loader capability in a supported base. The module can then declare those services in the supported manifest and builder and restart the procedure at step 1.

The fresh candidate and stock emulator boots both completed and independently reproduced the same wrap, event, write and free-memory results. Per-step physical admission record and qualification table.

@repeat98

Copy link
Copy Markdown
Owner

CLYPS has now run on an Octatrack. I ran the draft on an MKII (OS 1.40C) on 23 November. It installed, worked in the ARR view and rolled back cleanly. Sound wasn't checked yet.

I rebuilt both builds from your sources, and the hashes match yours:

  • Base: your integration/clyps-current-base-nov23 at 5c32cbacd, as a development twin (MAIN.raw 1f8e2e9f…, RAM-booted as d7e727cd). It was not flashed.
  • Module: clyps.mwrm from this PR's head 6b78afac9, SHA-256 32ebca98….
What Result
device:test (Part 2) passed: self-test, 12 of 12 Part switches, no crash, stall, freeze or skipped track
Two trials, 150 s and 420 s ran and rolled back, nothing logged
device:price, at rest frame +0.0 points, CPU +0.3 points, no skipped frame
Put back inventory empty, Part bytes as at boot, card set unchanged
ARR opens the CLYPS view pass: 8 × 4 matrix as in your screenshot
T1 source A01 → A02 while playing, then back pass: N row and EDIT LOCK at once, P row followed about 1.5 s later
A request, then STOP 100 ms later pass: the request was cleared and T1 stayed on A01
NO leaves the view pass

One thing for the README: outside ARR, the draft draws an A01 row on the SRC page, but SRC and LEVEL go to stock there. The source list opens only from inside ARR, and the README doesn't say so yet.

Not run: listening and MAIN/CUE recording (this twin has no USB audio), the other seven lanes (the project had trigs on T1 only), requests just before and after the wrap, a stock popup during Row Edit, a bank or project load, other modules beside it, MIDI, scenes, a Keep and a power cycle. The official test:procedure still stops at step 1, because the draft has no octamod.module.json yet.

The shared hooks it needs (63 to 65) aren't on main yet. That decision is still mine to make.

btzz5w8w5d-star and others added 4 commits November 25, 2026 16:46
Panorama Full Grid (eight tracks, five rows, playing/pending/focus in the
cells, Scene A/B and crossfader moved to the grid edge) and Clip View Native
Frame (stock tabs, frame and bar preserved; tempo, transport, focused source
and pattern in the sidebar). Pause is drawn as pause (U1). Host harness
matches the v1.4 reference bitmaps for every state the candidate can express;
the private emulator replay passes all 13 steps. Emulator only; no hardware.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n the private overlay

TRACK keys reach the stock and CLYPS follows the stock track. The crossfader
and Scene gestures stay live under CLYPS. With foreign sources the lock frees
Part sound and holds trig, lock, record and pattern edits. TRACK + TRIG
launches one cell with per-lane provenance; Panorama headers keep T1-T8.
ARR returns to the remembered view; LEVEL only navigates. Private emulator
candidate, not for installation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@btzz5w8w5d-star

Copy link
Copy Markdown
Contributor Author

CLYPS update: freedom to play over CLYPS (emulator only)

  • What works:
    • Track tab follows CLYPS: TRACK keys now select the same track on the Octatrack and in CLYPS, in every view.
    • Sound stays playable: while CLYPS sources play, the sound pages, encoders, Scene A/B and the crossfader all work. Trig edits, parameter locks, recording and pattern changes stay locked, so you never write into the wrong pattern. A small LOCKED tag and a hint in the bar say why.
    • Cell Launch: in the Panorama, hold a TRACK key and press a TRIG to launch just that one cell at the next bar. The other tracks and your row path stay where they are.
    • Clear track names: the Panorama always shows T1–T8; a track playing or waiting from a row off screen is marked by the shape of its name, and the bar shows its source.
    • Pause: shows ‖, and a waiting change stays waiting until you resume, then lands on the next bar.
    • Comes back where you were: ARR reopens the view you left (Panorama or Clip).
    • Setup: Capture Row, Cell Source and Restore All in one small popup; Restore All only when stopped.
  • What is broken or missing: mutes (FUNC + TRACK) are still locked while CLYPS sources play; captured rows live in memory only (lost at power off); TRIG-before-TRACK, key repeat and LEDs are not checked yet.
  • What it means musically: you can tweak the sound, move scenes and the crossfader, and swap single clips while a CLYPS row plays, without risking your home pattern.
  • Who must act: nobody yet. The code of these changes stays local for now; this is a progress note. The three base services it needs are being proposed separately into base/octatrack-next (link to follow).
  • Ran on a unit? No. Emulator only (MKII, OS 1.40C). Nothing was installed on a real Octatrack.
  • Next step: a first private alpha on a RAM-booted development twin of the contributor base (no flash, no Keep, 120 s trials), then the same on the base draft once the services land.
Details for reviewers
  • Private candidate, local commit only (not in this pull request yet). Package SHA-256 190ec4db…, image 12,340 bytes (was 13,044). Contributor base 5c32cba.
  • Checks: 11/11 unit tests (the host test now covers track sync, scenes, crossfader, the selective lock, Cell Launch with provenance, view memory and LEVEL); emulator replay 13/13 steps plus 17 Sprint 03 observations with real composed captures; host check: Clip View pixel-identical to Design System v1, Panorama differs only where the T1–T8 header fix applies.
  • Track focus reads the stock track byte, as the Tuner module does; CLYPS no longer consumes TRACK.
  • Per-lane provenance (one byte per lane, requested and playing) travels with the sources through the stock wrap; cells light only for their real origin row.
  • The base services (sequencer wrap, per-track source selection, modal input) are still a contributor experiment. Their indexes are not fixed: Base: ev_audio_step remapper at 0x400a2d6a (index 63). #2271 also asks for 63, so whichever lands second renumbers. CLYPS's source selector patches 0x400a2d5a, 16 bytes before Base: ev_audio_step remapper at 0x400a2d6a (index 63). #2271's ev_audio_step site, on a different instruction. Track Solo stays declared incompatible (both own TRACK).

@btzz5w8w5d-star

Copy link
Copy Markdown
Contributor Author

CLYPS Hardware Alpha 1: first time playing CLYPS on my own MKII

Last night I played CLYPS on my own Octatrack for the first time, and it was a real joy. I could launch clips on their own, try combinations, capture the ones I liked as rows, then perform them as whole rows or single cells, all without stopping playback. It felt like composing and arranging while performing. I think many Octatrack players could find it useful.

This is a report of my own testing on a private development twin. It contains no source code, firmware packages, videos or recordings, and it is not a qualification.

  • What worked, as I experienced it as a musician:

    • Clip View looks great on the real screen, and ARR switches between Clip View and Panorama naturally.
    • TRACK keys select the track and the TRACK LEDs follow. LEVEL steps through the 16 clip positions.
    • Clip launch: a TRIG key, or YES on the focused clip, launches it. The change lands on the next boundary and felt musical.
    • Capture Row filled the Panorama straight away. Row Launch, YES Advance and Cell Launch (hold TRACK, press TRIG in the Panorama: only that track changed) all made musical sense.
    • Freedom to play: while CLYPS ran I could turn AMP, FX1 and FX2, change the scene selection and hear the crossfader move between scenes.
  • What is broken or unclear:

    • TEMPO doesn't open the native tempo page from inside CLYPS.
    • FUNC on its own leaves the CLYPS view.
    • After launching 02 or 03, the source shown on the left of Clip View seemed to stay on 01. It isn't clear yet whether this is a label or a state problem.
    • Capture Row shows a clip number on tracks that have no trigs.
    • Clip View doesn't show which slots contain music.
    • The TRIG LEDs give no feedback yet.
    • "LOCKED" is confusing, because the sound stays editable.
  • Known limitations of this candidate:

    • Native mutes (FUNC+TRACK) are locked while CLYPS sources play.
    • Rows live in RAM only and are lost at power off.
  • Not tried or not confirmed:

    • Restore All was not run.
    • Cancelling a waiting launch with STOP and the exact Pause behaviour are not confirmed.
    • The LFO page and a check of the pattern data under the lock were not done.
    • Boundary timing was not measured.
  • What it means musically: clip launch, Capture Row, Row Launch and Cell Launch together are what make CLYPS an instrument for composing while you play.

  • Who must act: nobody yet. The hook numbers for the three proposed base services stay with Jannik on Octatrack base 0.8.3: CPU back from the Part read, USB Audio streams in the CPU limit, no USB DISK freeze, and four more #2246.

  • Ran on a unit? Yes. MKII on OS 1.40C with a RAM-booted development twin. CLYPS ran on its own in 8 trials of 120 s each: Trial 01, then Experiments 1, 2, 3a, 3b, 4, 5 and 6.

    • Measured: every trial was admitted with 0 refusals, logged no crash, stall, freeze or skipped track, and rolled back.
    • Nothing written: nothing was flashed or kept.
    • After a power cycle: the unit was back on public base 0.8.2 with the same 13 modules and an identical set identity.
  • Next step: an R1 performance refinement sprint, keeping the current look. These are development priorities, not features that work today:

    • accurate source display
    • correct FUNC and TEMPO behaviour
    • clear Focus, Pending and Playing states
    • occupied and empty clip slots told apart
    • content-aware Capture Row
    • Clip View as the entry point
    • LEVEL and FUNC + LEVEL two-dimensional navigation
    • a Row Launch Selector
    • TRIG LED feedback in both views, if the hardware allows it
    • native mutes
    • row persistence and reliable recovery

    Then a second hardware session.

Thank you to Zac Kyoti and the OT Kyoti FW contributors, whose original CLYPS sequencing work this builds on (this adaptation is mine, and they haven't endorsed it), and to Jannik for Modwerk, the base, and for running the first CLYPS build on an MKII.

Details for reviewers
  • Development twin: base d7e727cd84cf2d99…, MAIN 1f8e2e9f…, from contributor base 5c32cbacd. RAM only, never flashed.
  • CLYPS: package SHA-256 190ec4db032ab9a70f26c704af89cce142d239f5ebb80c660a89c4b84d57a67d, private candidate 7f3432005. This code is not in this pull request yet.
  • Load: from the twin's 5-minute load records (mean/peak).
    • The first window (boot, project load and stock playback, no CLYPS) read 42.9/100 %.
    • The windows that contained trials read 42–47 % mean with peaks of 57–68 %.
    • Each window mixes playing and stopped time and different gestures, so this is not an isolated measurement of CLYPS overhead.
  • Separate base observation, CLYPS absent: after the power cycle, my own project on 0.8.2 logged a hot record (99 %). Then the frame guard shed T1 once, and Analog BD went silent. Possibly related to After a trial that removes Analog BD and rolls back, Analog BD tracks are silent until a power cycle #1736. I'll report it separately.

btzz5w8w5d-star and others added 4 commits November 27, 2026 04:34
…upancy and the Panorama footer

The sidebar plate shows the source that plays and the line below the pending
source or the home pattern; a TRIG launch moves the focus. FUNC is a modifier,
FUNC + TRACK mutes and TEMPO reach the stock, and a stock popup suspends CLYPS
instead of closing it. One occupancy model marks empty and non-grid slots in
Clip View, the Panorama and Cell Source. Clip View opens first, FUNC + LEVEL
moves the Panorama column, and the footer names the focused Row (artist
decision C). Private emulator candidate, not for installation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ly pending pulse

Integrates Codex's guard and late-EOF reproducer on the Alpha 2 candidate,
adapts the reload replay to Clip View first, and adds host checks that an
empty lane keeps its captured index and plays like any lane. The pending line
under the playing source never fills; the beat adds a second outline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98

Copy link
Copy Markdown
Owner

Thanks for the alpha report. It's great to hear it plays on your own MKII. Nothing here waits on me: the hook numbers are now on #2246, where your three services are 64-66. When you push the candidate, three things that aren't on the thread yet:

  1. Please push the build you played, so the hardware record names this pull request's head.
  2. Please move the module to sdk/octatrack/modules/clyps with its manifest. Its release notes go in src/community/module-changelogs/clyps.json instead of changelog/.
  3. Please take out the links in the root README.md and in docs/README.md, and move docs/CLYPS_BANKS_COPY_PASTE_REQUIREMENTS.md into the module's folder.

@btzz5w8w5d-star

Copy link
Copy Markdown
Contributor Author

CLYPS Hardware Alpha 2.1: second session on my own MKII (results only)

Today I played the refined CLYPS on my Octatrack again. This is a report of my own testing on a private development twin. It contains no source code, firmware, video or recordings, and it is not a qualification.

What ran

  • Five trials of 120 s each: 01, 02a, 02b, 03 and 04. CLYPS ran alone in each one, with a temporary admission that was rolled back afterwards. Nothing was flashed or kept.

Measured on the twin

  • 0 refusals. No crash, stall, freeze or skipped track was logged in any trial.
  • The CPU readings come from the twin's 5-minute load windows (mean 45–48 %, peaks 58–69 % outside boot). Each window mixes playing, stopped time and the stock workload, so they don't isolate CLYPS's own cost.
  • Separately, with CLYPS absent: before the twin booted, the public 0.8.2 base logged two hot entries at 99 % while I prepared the project. That is a base observation, not a CLYPS one (same family as After a trial that removes Analog BD and rolls back, Analog BD tracks are silent until a power cycle #1736).

Confirmed on the MKII (my own musical judgement)

  • Clip View opens first (also seen in the logs of trials 01 and 02b).
  • FUNC + LEVEL navigation across tracks in the Panorama is the change I liked most.
  • The outline-only pending state reads clearly as "waiting", never as "playing". I'm keeping it as the final design.
  • SEQ LOCK is the final name: sequences stay protected while sound, effects, scenes and the crossfader stay free.
  • Native mutes (FUNC + TRACK) work musically. FUNC no longer leaves CLYPS.
  • Empty clip slots are readable, and the source sidebar follows clip changes.
  • STOP cancels a waiting launch, Pause and resume keep it, and Restore All returns home.

Still open

  • The TRIG LEDs still show nothing. This is now the top priority.
  • Mute-state visibility: I want to see at a glance which tracks are muted, in both views. This is a new requirement.
  • HOM / NXT labels are too small on the real display.
  • TEMPO / ARR routing: TEMPO opens the native popup, and NO sometimes returned to CLYPS. Other times ARR led into the native Arranger first. The cause is not confirmed yet; I'll reproduce it in the emulator.
  • I didn't watch the contextual footer while performing, so its readability on the real screen is not yet judged.
  • Trial 02a was incomplete, so none of its observations count as passed.

Restoration after a power cycle: complete

  • Read over USB: public base 0.8.2, the same 13 modules, identical set identity, set slots intact. Nothing reinstalled.
  • Checked by hand on the unit: USB Audio settings identical to before, Analog BD and the Sidechain Compressor working normally, no anomalies.

Next

Thanks to Zac Kyoti and the OT Kyoti FW contributors, whose original CLYPS sequencing work this builds on (this adaptation is mine, and they haven't endorsed it), and to Jannik for Modwerk and the base.

Details for reviewers
  • Development twin: base d7e727cd84cf2d99… (MAIN 1f8e2e9f…, contributor base 5c32cbacd). RAM only, never flashed.
  • CLYPS Alpha 2.1: package SHA-256 d5c3e8864ce590bbde8e4d586074552f83cf3f897b60e32b64e90fe83e2742fd, private candidate d426b1190. Not in this pull request yet.
  • Unit: MKII on OS 1.40C, flashed public base 0.8.2 24e480c4…, 13 kept modules, set identity 9b609ea8…ec1d3d5d, set slots gen 9 / gen 8.

btzz5w8w5d-star and others added 4 commits November 27, 2026 15:33
…e notes

Jannik's request on repeat98#1997. The source, manifest and evidence move unchanged
from sdk/drafts/clyps; the draft CHANGELOG.json becomes
src/community/module-changelogs/clyps.json; the late-EOF reproducer moves from
bank-lab/ into the module's tests. Only path references change.

The hardware-tested Alpha 2.1 candidate stays at d426b11, the parent of
this commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jannik's request on repeat98#1997. The requirements move from docs/ into
sdk/octatrack/modules/clyps/BANKS_COPY_PASTE_REQUIREMENTS.md unchanged; the
links in the root README.md and docs/README.md go, and the module's own
documents link the new place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The failed official build record named the developer's local output folder;
it now reads <local build output>. The recorded result is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jannik's request on repeat98#1997: the draft's changelog/ note moves into
src/community/module-changelogs/clyps.json (0.2.0-experimental); module
source unchanged, so the hardware record still names d426b11's code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@btzz5w8w5d-star

Copy link
Copy Markdown
Contributor Author

CLYPS Hardware Alpha 3: the TRIG LEDs light up on my MKII

Tonight I played CLYPS Alpha 3 on my own Octatrack: a stock reference plus five 120-second trials on a private development twin, each rolled back. It's a report of my own testing, not a qualification. No source code, firmware, video or recordings are attached.

What's new, and how it played

  • The 16 TRIG keys are now part of the instrument.
    • In Clip View they show the selected track's sequences: red you can launch, green playing, a brighter green-white for where LEVEL points.
    • In the Panorama they show your captured Rows the same way.
    • A waiting launch blinks on the beat until the bar, then turns steady green.
  • The native LEDs come back by themselves: under the tempo popup, in the setup window, on the native page and when the module is removed.
  • Mutes are visible: a small inverted M in Clip View for the selected track, and a mark on the track names in the Panorama (a clearer inverted style comes next).
  • The sidebar uses symbols and large numbers for the waiting source and the home pattern.

Confirmed on the MKII (my own observations)

  • Red, green and the green-white focus are easy to tell apart, and moving through clips feels smooth.
  • The waiting blink reads as "waiting", and STOP cancels a waiting launch (also visible in the trial log).
  • Row launches in the Panorama blink, then turn green; the previous Row goes back to red.
  • The native LEDs return during popups, on exit and at the end of every trial.
  • Muting doesn't change the TRIG LEDs.

Measured on the twin

  • Six runs, all admitted with 0 refusals, and no crash, stall, freeze or skipped track logged.
  • After a power cycle, my unit came back identical: public base 0.8.2, the same 13 modules, the same set identity, and USB Audio, Analog BD and Sidechain working by ear.
  • Not measured yet: the LED service's own cost on the unit.

Still open

  • TEMPO and ARR together can still lead into the native Arranger. I'd like an explicit ARR MODE (stock Arranger or CLYPS) so the button always does what you chose.
  • CLYPS opens only from pattern A01 and plays 16-step patterns only. Entering from any pattern, and 16/32/64-step patterns (mixed per track), are now my top priorities.
  • Not tried on hardware yet: YES Row Advance, and pending during pause.

For the shared base (#2333): the TRIG LED overlay CLYPS uses is a general base service: one declared owner, cell by cell "leave stock", no state in the base. Any module with its own screen could show state on the TRIG keys with it. Its hook number and the unit cost measurement are still to come, coordinated with Jannik.

Thanks to Zac Kyoti and the OT Kyoti FW contributors, whose original CLYPS sequencing work this builds on (this adaptation is mine, and they haven't endorsed it), and to Jannik for Modwerk and the base. The draft PR stays a draft.

Details for reviewers
  • Development twin: contributor base 5c32cbacd plus the TRIG LED overlay, bin 9473fe604a920b1b…, booted as e375192c36f19f6d…. RAM only, never flashed.
  • CLYPS Alpha 3: package SHA-256 166ffe2a85d72b83ede2f8192bff64cdeac8fcbfd22fb0eb9786a6a68e580eac, private candidate. Not in this pull request (it holds the hardware-tested Alpha 2.1).
  • Unit: MKII, OS 1.40C, flashed public base 0.8.2 24e480c4…, 13 kept modules, set identity 9b609ea8…ec1d3d5d.

@repeat98

Copy link
Copy Markdown
Owner

A request about the Octatrack hook numbers your CLYPS draft claims (63-65). Could CLYPS take the next free numbers after 65 instead?

Three base hooks are now ready or tested on the owner's unit, and the owner agreed their order today (27 Nov 2026):

Hook numbers must be consecutive (events.py), and the agent board still lists octatrack 63-65 as claimed for this draft, so these three can't take their numbers while the claim stands. Your hooks would keep their order and only shift: CLYPS's three would start at 66. Nothing in CLYPS itself has to change but the numbers, and we can do the renumbering for you if you like. Is that OK? If CLYPS needs to land first for a reason we don't see, please say so here.

🤖 Generated with Claude Code

@repeat98

Copy link
Copy Markdown
Owner

Follow-up on the hook numbers: the owner released CLYPS's board claim on octatrack 63-65 today (28 Nov 2026). 66-68 are free for CLYPS.

The cumulative base draft #2333 (base 0.8.4) now holds 63 (ot_lfo_pmtr_dest, #2261), 64 (a placeholder kept for ev_audio_step, #2271) and 65 (ot_dsp_effects, the program areas). CLYPS's three hooks keep their order and take the next free indices; please claim hook octatrack/66-68 for this draft when you renumber. If you'd like us to do the renumbering on a branch for you, say so here.

🤖 Generated with Claude Code

ilia-murzinov pushed a commit to ilia-murzinov/modwerk that referenced this pull request Nov 28, 2026
… frames

An FX effect whose code changes with its program (the Quadraverb's 90
factory programs) contributes a record to the new table ot_dsp_effects and
requires the base feature `programs` (0x100, loader ABI 9). For each slot
that runs its effect the base holds two areas of the record's size, one
span of the engines' region at the top of the slot's core's arena (free
words only while playing, as an engine's claim), writes the next program's
code into the area the slot does not run while the other plays (an ordinary
WRITE, 24 words a frame), then names it in the slot's record between two
frames with the receiver's new op 12. Going back to the program before is
the switch alone. A slot that leaves gets 0 in its record before its span
goes back; an unanswered switch keeps the span for the boot.

- DSP (resident_base.patch): op 12 writes X:$7fb0 + word 4 (0-63) with
  word 7 << 16 | word 5; the receiver's first frame zeroes X:$7fb0-$7fef. A
  slot's record is X:$7fb0 + 4 * ((r7 >> 8) & 15), word 0 its area's P
  address (r7 $6100/$6200 + $300 * position on each core).
- ColdFire: dsp_programs.c (ev_tick, order 98, under the stable lock; one
  job a core, only while the manager publishes nothing);
  resident_engines.c's spans hold the areas beside the engines;
  stock_hook_resources.c refuses any package claim on the records but a
  read from a package that requires them; the transport accepts op 12.
- abi9.py names `programs`; OCTATRACK_API.md gives the DSP contract.

sdk/tests/test_dsp_programs.py: the ColdFire side over a modelled manager,
channel and DSP (9 modes: first program, a change, back without a write,
four instances on both cores at once, every-tick changes, no room, a claim
waiting while playing, a failed write and switch, the module removed, a busy
manager, refused code, FX1 records), and under the vendored interpreter the
patched receiver's op 12, its bounds, the first frame's zeroing and the
contract's proc on two positions. The hook index 63 is provisional: CLYPS
(repeat98#1997) claims 63-65 on the agent board, asked there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the Alpha 3 report. The TRIG LEDs sound like a big step for playing it. As the note above says, the hooks move to 66–68.

One thing makes the checks red, and it's the same since CLYPS moved into the modules folder:

  1. Resource gauges. modules:check stops with clyps: release requires populated CPU, DSP core and memory gauges in resources.impact. Add those three gauges to the manifest, each with a load tier, basis, rationale, source and workload. Rough estimates from the source are accepted for now, and your unit readings can replace them later (Add a module).
  2. Then run npm run modules:generate and npm run pr:ready, so the catalogue and the module changelog agree, and push.

Keeping it a draft while the hooks are renumbered is fine.

@btzz5w8w5d-star

Copy link
Copy Markdown
Contributor Author

Hi Jannik, thanks for confirming the hook handoff. We'll keep the three CLYPS hooks in their existing order on 66–68 and claim the range when we renumber the draft.

Our first artist-led Alpha 6 hardware acceptance passed on an Octatrack MKII running 1.40C. Across five trial groups, 12 clean CLYPS windows and 21 audio captures, the artist confirmed the clip-launching workflow and said they'd play with it. The exercised cases included Next Bar, selective track restart, atomic Row launches, pending cancellation on Pause and Stop, and independent track lengths in the test project. The dedicated 48-step A09 result is still open. After a full power cycle, we verified that the original base, slot generations, and 13-module set matched the pre-session state.

The scene gesture and LED ownership while A/B is held are the highest-priority interaction finding. ARR from the TEMPO popup and a startup refusal counter also need follow-up. On Alpha 7, emulator tests now cover persistence through SAVE and restart, independent Bank Rows, and SAVE TO NEW creating a separate working copy. Binding back to a dirty source, immediate OFF after SAVE, and a Clip mute regression check remain open. Alpha 7 has no hardware acceptance or release status.

The next validation pass will isolate those regressions, qualify the scene and LED interaction, and prepare a separately reviewed contribution candidate. That will include the 66–68 claim, resource gauge evidence, generated module metadata and the repository readiness checks. The Alpha 6 package remains frozen as the hardware reference.

This branch has not been deployed

No deployments
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.

2 participants