diff --git a/public/octatrack-modules/kits/0.1.0-experimental.mwrm b/public/octatrack-modules/kits/0.1.0-experimental.mwrm deleted file mode 100644 index 29f1e262e7..0000000000 Binary files a/public/octatrack-modules/kits/0.1.0-experimental.mwrm and /dev/null differ diff --git a/public/octatrack-modules/kits/0.1.1-experimental.mwrm b/public/octatrack-modules/kits/0.1.1-experimental.mwrm new file mode 100644 index 0000000000..0ee97109f3 Binary files /dev/null and b/public/octatrack-modules/kits/0.1.1-experimental.mwrm differ diff --git a/sdk/approvals/kits-build-approval.json b/sdk/approvals/kits-build-approval.json index 61b3f2c9ad..50d7ba9506 100644 --- a/sdk/approvals/kits-build-approval.json +++ b/sdk/approvals/kits-build-approval.json @@ -1,14 +1,14 @@ { "kind": "owner-approved-update", "id": "kits", - "version": "0.1.0-experimental", + "version": "0.1.1-experimental", "approvedBy": "repeat98", - "approvedOn": "2026-11-16", + "approvedOn": "2026-11-24", "waived": [ "chip-worst-case-cycles", "current-build-hardware" ], - "sourceSha256": "49938a21191befd944c3f82fba87aa62333a206672e39dad91f48f7f2e1e249a", - "ownerStatement": "Release Kits 0.1.0-experimental. I waive the static cycle bound and the hardware qualification of this exact build for this version.", - "reason": "A port of Sam Banks' octabam KITS (MIT, his OK on 13 November 2026) onto base 0.7.4's hooks and ot_sample_memory. On the owner's MKII (a development twin of 0.7.4 with ot_sample_memory, 16 November 2026) it ran as trials: it took its 331 pages of sample memory at install, kept them through a project load, gave them back at removal, loaded Kits while playing beside 14 kept modules, and cost +0.1 points of CPU at rest, with no skipped render, crash or stall (TESTING.md). No static cycle count was made, and device:qualify did not run on the exact release package and base." + "sourceSha256": "6d9ce6ebaad7bb57bd0f92840616b44c7008b61018d857b4d59f3aad9dd895c1", + "ownerStatement": "Release Kits 0.1.1-experimental. I waive the static cycle bound and the hardware qualification of this exact build for this version.", + "reason": "Kits 0.1.1-experimental (#2066, by twwwy) adds SAVE KIT, RELOAD KIT and RENAME KIT to the shared Part Edit menu, on the plan the owner agreed on the agent board; the owner ported Kits 0.1.0 from Sam Banks' octabam KITS (MIT) and approves this update as its maintainer here. On an MKII, as trials on a development twin of base 0.8 (95adb64b), package c1cb63e5 ran alone and beside Pattern Sample Locks 0.1.9 and passed (TESTING.md). Not run: Keep, a power cycle, the flashed base 0.8, or an MKI. No static cycle count was made, and device:qualify did not run on the exact release package and base." } diff --git a/sdk/catalog.json b/sdk/catalog.json index 0776233cf4..8db2854a82 100644 --- a/sdk/catalog.json +++ b/sdk/catalog.json @@ -209,7 +209,7 @@ }, { "id": "kits", - "version": "0.1.0-experimental", + "version": "0.1.1-experimental", "addedAt": "2026-11-16T21:00:00Z" }, { diff --git a/sdk/octatrack/modules/kits/README.md b/sdk/octatrack/modules/kits/README.md index 6d2cdeb285..fc5d94a96e 100644 --- a/sdk/octatrack/modules/kits/README.md +++ b/sdk/octatrack/modules/kits/README.md @@ -15,7 +15,7 @@ A Kit holds what a Part holds, and no more. Samples are referred to by slot numb | Keys | MKII | MKI | |---|---|---| | LOAD KIT | PART | FUNC+MIDI | -| SAVE KIT | FUNC+PART | FUNC+MIDI, then FUNC+BANK | +| SAVE KIT, RELOAD KIT, RENAME KIT | FUNC+PART (the Part Edit window: Kits' rows in PART's place) | FUNC+MIDI, then FUNC+BANK (SAVE KIT) | | Reload the pattern's Kit as saved (KIT RELOADED) | FUNC+CUE | FUNC+CUE | | After a pattern paste: the pasted pattern plays a copy of its Kit in the next empty Kit | PART while STOP is still held | FUNC+MIDI while STOP is still held | | Save the Kit, copy it and the pattern to the next empty ones and play the copy | PTN+FUNC+RIGHT | PTN+FUNC+RIGHT | @@ -39,7 +39,7 @@ In the LOAD KIT and SAVE KIT lists: ### What changes in a stock flow -- PART opens LOAD KIT instead of stock's Part window, and FUNC+PART opens SAVE KIT instead of stock's Part Edit window (MKII): saving, reloading and clearing a Part go through SAVE KIT, FUNC+CUE and the list's clear. +- PART opens LOAD KIT instead of stock's Part window. FUNC+PART (MKII) opens the base's Part Edit window with KITS in PART's place: SAVE KIT, RELOAD KIT (the pattern's Kit as saved, as FUNC+CUE) and RENAME KIT (the pattern's Kit's name, and the Part's while its slot holds that Kit). Stock's RENAME, RELOAD, SAVE and SAVE ALL act on the slot a Kit plays from, so they are left out while Kits is on. With another module's row there too, the window has two columns, KITS first under where PART was; with Kits' row alone it is drawn as stock's popup. - FUNC+CUE reloads the pattern's Kit from the library even when stock would see no change. - A pattern's Part byte is rewritten when its Kit is put into another slot. Removing Kits leaves each pattern playing the slot Kits last gave it. - While the base lends Kits no sample memory, nothing of this happens: every key and screen is stock's. @@ -47,7 +47,7 @@ In the LOAD KIT and SAVE KIT lists: ## Quick tutorial 1. Install Kits into a project and press PART (MKI: FUNC+MIDI). The list shows the project's Parts as Kits 001 to 064. -2. Change a sound on the current track, press FUNC+PART (MKI: FUNC+MIDI, then FUNC+BANK), move to an empty Kit, press YES, type a name and confirm: `KIT SAVED`, and the status line shows the new Kit. +2. Change a sound on the current track, press FUNC+PART and YES on SAVE KIT (MKI: FUNC+MIDI, then FUNC+BANK), move to an empty Kit, press YES, type a name and confirm: `KIT SAVED`, and the status line shows the new Kit. 3. Select another pattern, press PART, choose the Kit you saved and press YES: that pattern now plays it. Switch between the two patterns while playing; each plays its own Kit. ## Compatibility and limitations @@ -56,7 +56,8 @@ In the LOAD KIT and SAVE KIT lists: - OS 1.40C on the Modwerk base with the sample-memory loan (`ot_sample_memory`), installed over USB. Card firmware cannot include it. This port has not run on a unit or in the emulator yet. - Kits borrows 331 pages of sample memory (2,033,664 bytes) while it is installed: about 23 s less of 16-bit mono sample time (11.5 s of stereo). When the sample pool cannot spare them, Kits stays off and the unit behaves as stock. -- FUNC+PART opens SAVE KIT, so stock's Part Edit window, and the rows Pattern Sample Locks adds to it, cannot be opened while Kits is installed. +- Needs Modwerk base 0.8 or newer (the Part Edit menu's record version that leaves PART out, `ot_part_menu`). +- While Kits is on, stock's Part Edit rows (RENAME, RELOAD, SAVE, SAVE ALL) are not in FUNC+PART: use SAVE KIT, RELOAD KIT and RENAME KIT. While Kits is off (no sample memory) its row is left out and the window is stock's. - No quick save: octabam's FUNC+YES in SAVE KIT is not here, because Temp Save owns that key's handler and the base has no shared hook for it yet. Save with YES and the name editor. FUNC+YES in either list does what stock or Temp Save does elsewhere. - A Kit carries no MIDI scene locks. MIDI Scenes keeps its locks with the Part slot, so they stay with the slot when a Kit is copied into it. A kits.work written by an octabam image with MIDI SCENES (version 2) is not read. - A damaged kits.work, or one of another version, is never overwritten: that project then plays its Parts as stock and keeps no Kits. Rename or delete the file on the card to start over (octabam's prompt for this is not here). @@ -77,14 +78,14 @@ Em ([emuyia](https://github.com/emuyia)) designed Kits on the Octatrack in [Octa ![The status line names the Kit the pattern plays](media/ot-status-kit.png) -With Kits installed the status line names the pattern's Kit: here 001 ONE, the project's Part 1 read in as a Kit. +With Kits installed the status line names the pattern's Kit: here 009 ONE. ![PART opens LOAD KIT](media/ot-load-kit.png) -PART opens LOAD KIT: UNDO KIT, then the project's Kits. YES on one makes the current pattern play it. +PART opens LOAD KIT with the project's Kits. YES on one makes the current pattern play it. -![FUNC + PART opens SAVE KIT](media/ot-save-kit.png) +![FUNC + PART opens the Part Edit window with Kits' actions](media/ot-part-edit-kits.png) -FUNC + PART opens SAVE KIT, the cursor on the current Kit; YES names it and saves the Part into it. +FUNC + PART opens the Part Edit window with SAVE KIT, RELOAD KIT and RENAME KIT in PART's place. Captured on an MKII (media/capture.json). No audio: Kits changes what the Parts hold, not how they sound. diff --git a/sdk/octatrack/modules/kits/TESTING.md b/sdk/octatrack/modules/kits/TESTING.md index ae71884228..61590166cc 100644 --- a/sdk/octatrack/modules/kits/TESTING.md +++ b/sdk/octatrack/modules/kits/TESTING.md @@ -1,5 +1,130 @@ # Kits testing +## Kits 0.1.1-experimental on base 0.8: agent's run, 24 November 2026 + +Build: this branch with `main` `29c22d7a5` merged (base 0.8, with the Part Edit popup fixes of #1947). A development +twin of base 0.8 (`build_core.py` with the beta flags and `--dev`, without the controller rows) booted from RAM as +`95adb64b…` on the developer's MKII (OS 1.40C); the flashed base `254c5a75…` (0.7.12) stays in flash. Package: Kits +0.1.1 `c1cb63e5…` (`npm run module:dev -- kits --build-only`; the same bytes as the base 0.7.13 twin runs below this +section's date). No other module installed. Bank C, pattern C02, Part 2, transport stopped unless named. Every install +was a 120 s trial without a Keep and was rolled back (inventory empty afterwards; the crash 1 and stall 13 records +predate these runs). Screens read with `png:` over USB. + +- `npm run device:test` (Kits 0.1.1): installed, self-test passed, meters (CPU 363, core 1 peak 339, core 0 peak + 429), twelve Part switches with PART+arrow while playing all landed, a queued change of bank and back landed. The + next Part switch did not become active and the run stopped there, as on base 0.7.9 above (PART is LOAD KIT while + Kits is active). Verdict: no crash, stall, freeze or skipped track. +- Kits alone: FUNC+PART draws the one-row Part Edit window with SAVE KIT, RELOAD KIT and RENAME KIT; it reopened on + the row used last. The status line shows the pattern's Kit (`010 TWO`). +- FUNC+PASTE+PART: FUNC+REC on C02 (COPY PATTERN), PATTERN+TRIG16, then FUNC+STOP (PASTE PATTERN) and PART with FUNC + and STOP still held: `KIT COPIED TO NEXT`, and C16 played `065 TWO`, a copy of C02's `010 TWO` in the next empty + Kit, instead of its `009 ONE`. The Part Edit window did not open. A second stock FUNC+STOP pastes again (stock has + no paste undo there; Kits' own PTN+FUNC+TRIG paste is the one a repeat undoes). +- Performance, C16 playing with crossfader sweeps, ten CPU readings and the frame guard per run: + + | Run | CPU meter (mean of 10) | Longest frame interrupt | + | --- | --- | --- | + | Stock, no Part change | 41.8 % | 40.9 % | + | Stock, six Part switches (PART+arrow) | 41.8 % | 49.3 % | + | Kits, six LOAD KIT loads | 41.9 % | 49.0 % | + + A Kit load's longest frame is a stock Part switch's; no skipped render. `evidence/performance.json` holds these. + +Developer's report (twwwy), 24 November 2026, the same twin and package, Kits alone as a trial, given: PART to load +another Kit while playing and listen at the switch, then FUNC+CUE; a knob changed, SAVE KIT into an empty Kit, another +Kit loaded and the saved one again: "they all work". Verdict of that trial: no crash, stall, freeze or skipped track. + +With Pattern Sample Locks: Pattern Sample Locks 0.1.9 `6fea272e…` kept on the same twin (with the developer's OK), then +Kits as a trial beside it. FUNC+PART drew PART EDIT with LOCKS (LOCK SAMPLES, CLEAR LOCKS) and KITS; PART was left out +(agent's screen). Developer's report (twwwy), 24 November 2026, given: SAVE KIT from KITS and the Kit back after +another load; LOCK SAMPLES and CLEAR LOCKS from LOCKS; a Kit loaded with PART while playing, listening at the switch; +FUNC+PASTE+PART after a pattern paste: "they all work". Verdict of that trial: no crash, stall, freeze or skipped +track; Locks stayed kept and Kits was rolled back. + +Developer's report (twwwy), 21 November 2026, a base 0.7.13 development twin `5b9c4b1e…` with the same package beside +kept Pattern Sample Locks 0.1.9 `6fea272e…`: "they all works. the menu works too". + +Not tested: FUNC+PASTE+PART on an MKI (FUNC+PASTE+MIDI), a Keep of Kits, the flashed base 0.8, a power cycle. + +## Kits 0.1.1-experimental on base 0.7.9: agent's run, 19 November 2026 + +Build: source `f8e443f33` (branch `module/kits-0.1.1`, base sources as `main` `7b2f35abb`). A development twin of base +0.7.9 (`build_core.py` with the beta flags and `--dev`, without the controller rows) booted from RAM as `87830783…` +on the developer's MKII; the flashed base `27c9d36f…` stays in flash. Packages: Kits 0.1.1 `8ce226a5…` (the same +bytes as the 17 November restyled-window run's), Pattern Sample Locks 0.1.9 `6fea272e…`. Bank H, pattern 1, Part 1, +transport stopped unless named. Every install was a timed trial without a Keep and was rolled back (inventory empty +afterwards). Screens read with `png:` over USB. Agent's run, not the developer's. + +- `npm run device:test` (Kits 0.1.1), twice: installed, self-test, meters (CPU 372, core 1 peak 357, core 0 peak 233 + with Kits alone; 369 before), twelve Part switches with PART+arrow all landed, a queued change to bank A and back + landed. The next Part switch (PART+RIGHT) did not become active and the run stopped there; verdict both times: no + crash, stall, freeze or skipped track. Kits 0.1.0 `main` package fails at the same step; Pattern Sample Locks + 0.1.9 passes it. With Kits active, PART is LOAD KIT and the pattern plays its Kit's slot, so the script's PART+arrow + Part switch does not apply to Kits (design, not a fault of 0.1.1). +- Kits alone, as a trial on this base: Kits is active (the base lent the pages). PART opens LOAD KIT (026 TWO to + 029 ONE), the status line shows `029 ONE`. FUNC+PART draws the Part Edit window with PART and KITS; KITS shows + SAVE KIT; YES on it showed `SAVE PART FIRST!` (bank H's Parts have no saved copy). NO closed each screen. +- Kits with Pattern Sample Locks, one 110 s trial: FUNC+PART draws PART, LOCKS and KITS with their icons; the window + reopened in LOCKS' actions; DOWN moved to CLEAR LOCKS; LEFT, DOWN, RIGHT showed KITS > SAVE KIT. Kits was not + active in this trial: PART opened stock's Part window (ONE to FOUR) and YES on SAVE KIT returned to the main screen. + Verdict: no crash, stall, freeze or skipped track. +- After the Kits 0.1.0 run, its KIT NAME editor was still on screen with no module installed; NO closed it, no new + crash record (crash 1 and stall 13 on the unit predate this run). +- The tracks of bank H Part 1 showed MISSING effects after the trials; its working and saved copies were equal and + no Part of the bank was marked unsaved. Not established whether those are the Part's own references to modules + the twin lacks. + +Not tested: a Kit saved, LOAD KIT applied, FUNC+PASTE+PART, MKI, a Keep, a power cycle, sound. + +## Kits 0.1.1-experimental: the base's Part Edit menu, unit run of 17 November 2026 + +Build: source `598edfaa4`; a development twin of base 0.7.6 +(`build_core.py` with the beta flags and `--dev`, without the resident controller rows), MAIN booted from RAM as +`812ac544…`. Packages: Pattern Sample Locks 0.1.9 `b79de4b9…`, Kits 0.1.1 `af773397…`, installed together as one timed +trial (`npm run device -- set A,B --seconds 600`, no Keep) on the developer's MKII, project on bank K, transport +stopped. Screens read with `png:` over USB. The trial was interrupted after about 82 s and rolled back (inventory empty +afterwards, active base still the twin; loader 0 rejected, 0 rollbacks). Agent's run, not the developer's. + +- FUNC+PART draws the two-column window: PART, SAMPLE LOCKS, KITS on the left; RENAME, RELOAD, SAVE, SAVE ALL on the + right. DOWN on the left shows SAMPLE LOCKS' LOCK SAMPLES and CLEAR LOCKS; RIGHT moves into them, DOWN moves the + cursor; LEFT goes back; KITS shows SAVE KIT. +- YES on LOCK SAMPLES opens LOCK SAMPLES TO PATTERN (the track screen, as 0.1.8); NO closes it. +- YES on SAVE KIT shows KITS NOT ACTIVE: during a trial Kits gets no pages, as its README says. The SAVE KIT list + itself was not reached (it needs a Keep). +- FUNC+PART again opens on KITS, the module row chosen last. +- PART's actions open on stock's remembered row (SAVE here), as stock's Part Edit does: YES there ran stock's Part + Save (`PART 1 SAVED`) by the agent's mistake. The Part's working and saved copies read the same bytes before and + after (`mem`), and its edited flag stayed set. +- Seen on the twin, not traced to these packages: a DSP stall record about 57 s after the RAM boot (tick 3119), before + either package was installed, after which T5-T8 showed no effects; a crash record (address error, PC `0x40d52f64`) + from an earlier boot; a 1.5 s UI tick gap in minute 5, around the trial's install. + +Not tested: the SAVE KIT list and a Kit saved from it, CLEAR LOCKS and a Lock or Clear applied, MKI, playing +transport, a Keep, a power cycle, sound. + +Kept run, the same day, same twin and packages, with the developer's OK to Keep (and to save one Kit): +`npm run device -- set A,B --accept` installed both (loader 0 rejected); Kits became active (status line `033 ONE`). + +- FUNC+PART > KITS > SAVE KIT opens the SAVE KIT list on the current Kit (033). LEVEL scrolled to the first empty Kit, + 065; YES opened KIT NAME (NEW KIT); YES saved: `KIT SAVED`, status line `065 NEW KIT`. Saving also named the Part + NEW KIT (it was ONE) and wrote kits.work, as Kits does. +- FUNC+PART then opened on KITS (chosen last); SAMPLE LOCKS > CLEAR LOCKS opened CLEAR SAMPLE LOCKS; NO closed it. +- PART's actions opened on SAVE (stock's remembered row); LEFT went back, NO closed the window. No PART action run. +- Both removed with a second Keep (`set -- -A,-B --accept`): inventory empty, and FUNC+PART then showed stock's own + one-column Part Edit popup. + +Not tested: FUNC+PASTE+PART, a Lock or Clear applied, playing transport, MKI, a power cycle, sound. + +Restyled window, the same day: a development twin of base 0.7.6 booted from RAM as `9173ba81…`, Pattern Sample Locks +`6fea272e…` and Kits `8ce226a5…` as one timed trial (no Keep), rolled back afterwards (inventory empty). Agent's run. + +- FUNC+PART draws the window as PROJ draws its menu: the title bar PART EDIT, icons beside PART, LOCKS and KITS, the + rule, the track strips left and right still showing; compared by screenshot with PROJ on the same unit. +- In LOCKS' actions on CLEAR LOCKS, NO closed the window; FUNC+PART reopened it there (right column, CLEAR LOCKS); + LEFT went back to the left column; NO closed it. PROJ on the same unit reopened in the SYSTEM list on CARD TOOLS after + NO, the behaviour this copies. + + ## 0.1.0-experimental (draft, 16 November 2026) Assembled and packaged only. Nothing has run on a unit or in the emulator: the base side of `ot_sample_memory` (hook 52), which lends Kits its pages, is not written yet, so the package cannot be installed with pages on any base today. diff --git a/sdk/octatrack/modules/kits/evidence/performance.json b/sdk/octatrack/modules/kits/evidence/performance.json index 806cfb62cf..77d51894a3 100644 --- a/sdk/octatrack/modules/kits/evidence/performance.json +++ b/sdk/octatrack/modules/kits/evidence/performance.json @@ -1,22 +1,22 @@ { "schema": 1, "module": "kits", - "version": "0.1.0-experimental", + "version": "0.1.1-experimental", "kind": "coldfire", "cycles": { "unit": "cycles/event", "static": null, "measured": null, "budget": null, - "method": "No static count and no event counter (waived by the owner, sdk/approvals). On the unit, six Kit loads while playing beside 14 modules moved the CPU meter 0.3 points with no skipped render (TESTING.md)." + "method": "No static count and no event counter (waived by the owner, sdk/approvals). On the unit, six Kit loads while playing moved the CPU meter 0.1 points with no skipped render, and a Kit load's longest frame matched a stock Part switch's (TESTING.md)." }, "load": { "frameUs": 362.8, - "stockLongestUs": 144.0, - "moduleLongestUs": 145.5, - "stockIdlePercent": 51.6, - "moduleIdlePercent": 51.3, - "method": "Hardware, not cfmeter: the owner's MKII on a development twin of base 0.7.4 with ot_sample_memory, 16 November 2026, package f1c13a07 beside 14 kept modules. Pattern B16 playing with crossfader sweeps; with Kits, six LOAD KIT loads during the run. Without Kits, then with it: the frame guard's longest frame interrupt (39.7 % and 40.1 % of a frame) and the CPU meter (48.4 % and 48.7 %; idle taken as 100 less the meter) (TESTING.md)." + "stockLongestUs": 178.9, + "moduleLongestUs": 177.8, + "stockIdlePercent": 58.2, + "moduleIdlePercent": 58.1, + "method": "Hardware, not cfmeter: an MKII on a development twin of base 0.8 (95adb64b), 24 November 2026, package c1cb63e5, no other module installed. Pattern C16 playing with crossfader sweeps, ten CPU readings and the frame guard per run. Stock with six Part switches (PART+arrow), then Kits as a trial with six LOAD KIT loads: the frame guard's longest frame interrupt 49.3 % and 49.0 % of a frame, the CPU meter 41.8 % and 41.9 % (idle taken as 100 less the meter); stock without Part switches: 40.9 %, 41.8 %. No skipped render (TESTING.md)." }, "stress": { "floodMessagesPerSecond": null, diff --git a/sdk/octatrack/modules/kits/kits.s b/sdk/octatrack/modules/kits/kits.s index 269163d0f4..b140a82df6 100644 --- a/sdk/octatrack/modules/kits/kits.s +++ b/sdk/octatrack/modules/kits/kits.s @@ -155,7 +155,7 @@ .globl kits_partkey, kits_savekey, kits_mkisave, kits_level .globl kits_lcopy, kits_lpaste, kits_lclear, kits_pcopy, kits_psnap, kits_pstore_ptn .globl kits_fright, kits_ptrig, kits_status, kits_freload - .globl kits_pages, KSTATE + .globl kits_pages, kits_part_menu, KSTATE | ============================================================ the hooks ==== @@ -401,18 +401,146 @@ kits_partkey: bra.w load_menu 2: rts -| 0x4002dc9c: the Part edit menu (MKII FUNC+PART): SAVE KIT. +| 0x4002dc9c: the Part edit menu's opener (MKII FUNC+PART). With PASTE held +| after a pattern paste: the paste clone; else stock's opener, whose popup +| call is the base's Part Edit menu (ot_part_menu), where KITS > SAVE KIT is. kits_savekey: tstl READY - bne.s 1f - mvzb 0x100b14cf,%d0 | displaced - jmp 0x4002dca2 -1: bsr.w paste_clone | MKII FUNC+PASTE+PART + beq.s 1f + bsr.w paste_clone | MKII FUNC+PASTE+PART tstl %d0 bne.s 2f - bra.w save_menu +1: mvzb 0x100b14cf,%d0 | displaced + jmp 0x4002dca2 +2: rts + +| ot_part_menu's ask (abi 2), each time the Part Edit window opens: while +| Kits holds its pages each pattern plays its Kit through the Part slots, +| so PART's rows are left out and the window is Kits' own popup; without +| the pages Kits is off and its row is left out (the window is stock's). +kits_pm_ask: + moveq #2,%d0 | MODWERK_PART_MENU_LEAVE_ROW + tstl READY + beq.s 1f + moveq #1,%d0 | MODWERK_PART_MENU_LEAVE_PART +1: rts + +| ot_part_menu's choose (action): SAVE KIT, RELOAD KIT, RENAME KIT, after +| the base has closed stock's popup. C convention: what it calls keeps +| d2-d7/a2-a6. +kits_pm_choose: + tstl READY + bne.s 1f + lea T_KOFF,%a0 | the base lent no pages: Kits is off + bra.w toast +1: movel %sp@(4),%d0 + beq.w save_menu + subql #1,%d0 + beq.s pm_reload + subql #1,%d0 + beq.s pm_rename + rts + +| ptn_kit -> d0 = the Kit the current pattern plays (its own, else the +| current Part slot's), -1 for none. +ptn_kit: + moveq #0,%d1 + moveb CUR_PTN,%d1 + bsr.w assign_at + moveq #0,%d0 + moveb %a0@,%d0 + cmpil #NUSE,%d0 + bcs.s 1f + bsr.w cur_kit + cmpil #NUSE,%d0 + bcc.s 9f +1: movel %d0,%sp@- + bsr.w is_valid + movel %d0,%d1 + movel %sp@+,%d0 + tstl %d1 + bne.s 2f +9: moveq #-1,%d0 2: rts +| RELOAD KIT: the pattern's Kit as saved, as FUNC+CUE reloads it. +pm_reload: + bsr.s ptn_kit + tstl %d0 + bmi.s pm_nokit + bsr.w kits_load_current + lea T_KRELOAD,%a0 + bra.w toast +pm_nokit: + lea T_NOKIT,%a0 + bra.w toast + +| RENAME KIT: the pattern's Kit's name in stock's name editor. +pm_rename: + bsr.s ptn_kit + tstl %d0 + bmi.s pm_nokit + movel %d0,SAVEK + bsr.w kit_at + lea NAMEBUF,%a1 + moveq #7,%d1 +1: moveb %a0@+,%a1@+ + subql #1,%d1 + bpl.s 1b + clrb NAMEBUF+7 + pea rename_named + pea 1 + pea NAMEBUF + pea T_KITNAME + pea 7 + jsr T_OPEN + lea %sp@(20),%sp + rts + +| the rename's done (confirmed): the Kit's name, and the current Part's +| (and its CS1 copy) while its slot holds that Kit, as SAVE KIT names it. +| An empty name keeps the Kit's. +rename_named: + tstl %sp@(4) + beq.w 9f + tstb NAMEBUF + beq.w 9f + movel SAVEK,%d0 + bsr.w kit_at + lea NAMEBUF,%a1 + moveq #7,%d1 +1: moveb %a1@+,%a0@+ + subql #1,%d1 + bpl.s 1b + clrb %a0@(-1) + bsr.w cur_kit + cmpl SAVEK,%d0 + bne.s 2f + moveq #0,%d0 + moveb CUR_BANK,%d0 + bsr.w bank_at + moveq #0,%d0 + moveb CUR_PART,%d0 + andil #3,%d0 + mulu.w #7,%d0 + addal #PNAMES,%a0 + addal %d0,%a0 + lea NAMEBUF,%a1 + bsr.w name6 + moveq #0,%d0 + moveb CUR_PART,%d0 + andil #3,%d0 + mulu.w #7,%d0 + addil #CS1_NAMES,%d0 + moveal %d0,%a0 + lea NAMEBUF,%a1 + bsr.w name6 +2: moveq #1,%d0 + movel %d0,KDIRTY + lea T_RENAMED,%a0 + bra.w toast +9: rts + | 0x40058a64: the MKI FUNC+BANK dispatch. With the LOAD KIT list open: | SAVE KIT in its place (Octakit's FUNC+MIDI, then FUNC+BANK); with the | SAVE KIT list open: closed; with the Kit name editor open: cancelled. @@ -3630,12 +3758,27 @@ T_PCOPY: .asciz "PATTERN COPIED" T_PPASTE: .asciz "PATTERN PASTED" T_PCLEAR: .asciz "PATTERN CLEARED" T_NOPCOPY: .asciz "COPY A PATTERN FIRST" +T_KOFF: .asciz "KITS NOT ACTIVE" +T_KITS: .asciz "KITS" +T_RELKIT: .asciz "RELOAD KIT" +T_RENKIT: .asciz "RENAME KIT" +T_RENAMED: .asciz "KIT RENAMED" +T_NOKIT: .asciz "NO KIT ON PATTERN" | State: .data, as the package loads it at every install. .section .data .align 4 | ot_sample_memory (hook 52, include/modwerk_events.h): abi 1, the pages, | at (the base writes the pages' address here), two reserved longs. +| ot_part_menu (hook 53, include/modwerk_events.h): abi 2, the parent row, +| three actions, their rows, choose, the icon, ask. +kits_part_menu: + .long 2, T_KITS, 3, kits_pm_rows, kits_pm_choose, kits_pm_icon, kits_pm_ask +kits_pm_rows: + .long T_SAVEKIT, T_RELKIT, T_RENKIT +| A chest of drawers, drawn for Kits: 9 rows, bit 18 the leftmost of 19. +kits_pm_icon: + .long 0x00000, 0x07ff0, 0x04010, 0x04710, 0x07ff0, 0x04010, 0x04710, 0x07ff0, 0x00000 kits_pages: .word 1, PAGES .long 0 diff --git a/sdk/octatrack/modules/kits/manifest.py b/sdk/octatrack/modules/kits/manifest.py index ec258bbaac..ca65eed2ca 100644 --- a/sdk/octatrack/modules/kits/manifest.py +++ b/sdk/octatrack/modules/kits/manifest.py @@ -38,7 +38,7 @@ Detour(0x4002E7B8, stock_guard(0x4002e7b8, 6, "8adfee488b57380b5f698f0700f6346c3f459548c12c942a5843f2e750ab1a77"), "kits", "kits_partkey", "PART (MKII), FUNC+MIDI (MKI): LOAD KIT"), Detour(0x4002DC9C, stock_guard(0x4002dc9c, 6, "d0ec7e0980705bdda9e9859f3b6caa119d97dab71385585f3a78e9e893f81d5d"), "kits", "kits_savekey", - "the Part edit menu (MKII FUNC+PART): SAVE KIT"), + "the Part edit menu's opener (MKII FUNC+PART): FUNC+PASTE+PART's clone, else stock (the base's Part Edit menu)"), Detour(0x40058A64, stock_guard(0x40058a64, 8, "2be469e0167bae6ee4ac4288dff1ce5ed285f46e1d21b5aa77321c0aecdb208c"), "kits", "kits_mkisave", "the MKI FUNC+BANK dispatch: SAVE KIT from LOAD KIT, else stock", pad_to=8), Detour(0x4004C146, stock_guard(0x4004c146, 6, "721b1a82cfa67d26611e24e28c05a498a15c2e72fbce2bc3a06cbad6e01cc6a7"), "kits", "kits_status", @@ -70,7 +70,7 @@ category=Category.PARTS, author="sambanks", author_url="https://github.com/sambanks", proof=Proof.UNTESTED, proof_note="USB package only; no emulator or hardware result for this port yet (TESTING.md).", - doc="255 Kits per project: PART = LOAD KIT, FUNC+PART = SAVE KIT (MKI: FUNC+MIDI, " + doc="255 Kits per project: PART = LOAD KIT, FUNC+PART = SAVE, RELOAD, RENAME KIT (MKI: FUNC+MIDI, " "then FUNC+BANK); each pattern plays its Kit through the stock Part slots. After Em's Octakit.", linked=(Linked("kits", "modules/kits/kits.s", dram=True),), detours=DETOURS, diff --git a/sdk/octatrack/modules/kits/media/LICENSE.md b/sdk/octatrack/modules/kits/media/LICENSE.md index 02622b8f88..8fda655603 100644 --- a/sdk/octatrack/modules/kits/media/LICENSE.md +++ b/sdk/octatrack/modules/kits/media/LICENSE.md @@ -1,7 +1,7 @@ # OT UI capture rights and attribution -These original LCD framebuffer captures were taken on 16 November 2026 for KITS' Modwerk documentation, on the owner's -Octatrack MKII running a development twin of Modwerk base 0.7.4 with Kits installed as a trial (the image and package +These original LCD framebuffer captures were taken on 24 November 2026 for KITS' Modwerk documentation, on the developer's +Octatrack MKII running a development twin of Modwerk base 0.8 with Kits installed as a trial (the image and package SHA-256 are in capture.json). Credit: Modwerk contributors. LicenseRef-OT-UI-Documentation covers the original capture/documentation contribution for use in Modwerk module diff --git a/sdk/octatrack/modules/kits/media/capture.json b/sdk/octatrack/modules/kits/media/capture.json index ad2c275252..6cbd192094 100644 --- a/sdk/octatrack/modules/kits/media/capture.json +++ b/sdk/octatrack/modules/kits/media/capture.json @@ -1,22 +1,26 @@ { "firmware": "1.40C", - "imageSha256": "41ba6b7bfa8d116843171cf07802a076f1094dc0e79b63fc221d569eaf8a4071", - "packageSha256": "f1c13a071b299906dccd7eee60c8b01e82dea9212921f5d7fb28ca14b5932c0b", - "capturedOn": "2026-11-16", + "imageSha256": "109b65143e61cd409be54be96b982764a1114bca24e13076a2a8359673447a94", + "packageSha256": "c1cb63e556add9aaf39eea5bfcdafc1ece923b51d9723c49f5caf6fd215ed072", + "capturedOn": "2026-11-24", "method": "hardware", - "setup": "The owner's MKII over USB, 16 November 2026: a development twin of Modwerk base 0.7.4 with ot_sample_memory (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.0-experimental installed as a 60-second trial (package SHA-256 f1c13a07…) with its 331 pages of sample memory taken, the owner's project on pattern A01 (its Parts read in as Kits), stopped transport. The unit's LCD framebuffer read over USB (npm run device session, png step), 256 x 128, two pixels a dot. Each list was closed with NO; nothing was loaded or saved, and the trial rolled back.", + "setup": "The developer's MKII over USB, 24 November 2026: a development twin of Modwerk base 0.8 (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.1-experimental installed alone as a 120-second trial (package SHA-256 c1cb63e5…), the developer's project in bank C. The unit's LCD framebuffer read over USB (device-send png step), 256 x 128, two pixels a dot. The trial rolled back.", "plan": [ + "PATTERN + TRIG16", "capture ot-status-kit.png", + "PLAY", "PART", + "DOWN", "capture ot-load-kit.png", - "NO", + "STOP", + "PATTERN + TRIG2", "FUNC + PART", - "capture ot-save-kit.png", + "capture ot-part-edit-kits.png", "NO" ], "files": { - "ot-status-kit.png": "470e6f63078842a1476fc546ea26ba5c5e7ee1c57ce375e5f2f99c137c4faecb", - "ot-load-kit.png": "cb9f8955162f3bde40e249a85b5de39e4c165247b975b86a137561c33dd90ff4", - "ot-save-kit.png": "d363a2b83d5a4d0e72d9d67bf05a0834adff92d79f8b5bae396498a7c156d736" + "ot-status-kit.png": "becf5966397dcd5c9995825042ec206dfe0e58756568311425f1ddbe562a08cb", + "ot-load-kit.png": "d6ae669fce5f94e2dd6adf85b0c046ac5477f516fcbc2beae2007d2a9f819f71", + "ot-part-edit-kits.png": "f1039abdab226f05a7614d5ab492a66e6dd719afb8becdd96c95c961d5617413" } } diff --git a/sdk/octatrack/modules/kits/media/ot-load-kit.png b/sdk/octatrack/modules/kits/media/ot-load-kit.png index d9668032f2..49fde097d1 100644 Binary files a/sdk/octatrack/modules/kits/media/ot-load-kit.png and b/sdk/octatrack/modules/kits/media/ot-load-kit.png differ diff --git a/sdk/octatrack/modules/kits/media/ot-part-edit-kits.png b/sdk/octatrack/modules/kits/media/ot-part-edit-kits.png new file mode 100644 index 0000000000..4de6e88c5a Binary files /dev/null and b/sdk/octatrack/modules/kits/media/ot-part-edit-kits.png differ diff --git a/sdk/octatrack/modules/kits/media/ot-save-kit.png b/sdk/octatrack/modules/kits/media/ot-save-kit.png deleted file mode 100644 index d373eeab7b..0000000000 Binary files a/sdk/octatrack/modules/kits/media/ot-save-kit.png and /dev/null differ diff --git a/sdk/octatrack/modules/kits/media/ot-status-kit.png b/sdk/octatrack/modules/kits/media/ot-status-kit.png index 2a8a00e4ae..511cc5beb4 100644 Binary files a/sdk/octatrack/modules/kits/media/ot-status-kit.png and b/sdk/octatrack/modules/kits/media/ot-status-kit.png differ diff --git a/sdk/octatrack/modules/kits/octamod.module.json b/sdk/octatrack/modules/kits/octamod.module.json index 859e12c4b9..2a2e0699f9 100644 --- a/sdk/octatrack/modules/kits/octamod.module.json +++ b/sdk/octatrack/modules/kits/octamod.module.json @@ -3,7 +3,7 @@ "id": "kits", "key": "KITS", "name": "Kits", - "version": "0.1.0-experimental", + "version": "0.1.1-experimental", "category": "scenes", "author": { "github": "sambanks", @@ -19,7 +19,7 @@ "label": "255 Kits per project", "family": "Parts and Kits", "summary": "255 Kits per project instead of four Parts per bank: each pattern plays its own Kit, saved and loaded by name.", - "overview": "A Kit is a saved Part with a name: machines, samples by slot, effects, track and MIDI settings, LFOs and the 16 scenes. Kits keeps 255 of them per project and lets each pattern play its own, so patterns are no longer tied to their bank's four Parts. Press PART to load a Kit into the current pattern, FUNC+PART to save the current Part as a Kit. Behind the scenes each pattern's Kit is copied into a free Part slot of its bank before the pattern plays, through the stock Part engine.", + "overview": "A Kit is a saved Part with a name: machines, samples by slot, effects, track and MIDI settings, LFOs and the 16 scenes. Kits keeps 255 of them per project and lets each pattern play its own, so patterns are no longer tied to their bank's four Parts. Press PART to load a Kit into the current pattern, FUNC+PART to save, reload or rename the pattern's Kit. Behind the scenes each pattern's Kit is copied into a free Part slot of its bank before the pattern plays, through the stock Part engine.", "highlights": [ "LOAD KIT and SAVE KIT lists with the Kits' names, UNDO KIT, and seven-character names.", "Each pattern plays its Kit; copying and pasting a pattern carries its Kit.", @@ -28,7 +28,7 @@ ], "usage": [ "Press PART (MKI: FUNC+MIDI): LOAD KIT lists UNDO KIT and the 255 Kits. Choose one with YES: the current pattern plays it now.", - "Press FUNC+PART (MKI: FUNC+MIDI, then FUNC+BANK): SAVE KIT. Choose a Kit with YES, name it and confirm: the current Part is saved into it and the pattern plays it.", + "Press FUNC+PART and YES on SAVE KIT (MKI: FUNC+MIDI, then FUNC+BANK). Choose a Kit with YES, name it and confirm: the current Part is saved into it and the pattern plays it.", "The status line shows the current pattern's Kit as NNN name." ] }, @@ -37,12 +37,12 @@ "steps": [ "Press PART on the MKII, or FUNC+MIDI on the MKI, to open LOAD KIT.", "Move to a Kit with UP and DOWN or the LEVEL encoder and press YES: the current pattern plays that Kit.", - "Press FUNC+PART on the MKII, or FUNC+MIDI then FUNC+BANK on the MKI, to open SAVE KIT; press YES on a Kit, edit its name and confirm to save the current Part into it." + "Press FUNC+PART and YES on SAVE KIT on the MKII, or FUNC+MIDI then FUNC+BANK on the MKI; press YES on a Kit, edit its name and confirm to save the current Part into it." ], "screenshots": [ "media/ot-status-kit.png", "media/ot-load-kit.png", - "media/ot-save-kit.png" + "media/ot-part-edit-kits.png" ] }, "controls": [], @@ -50,13 +50,10 @@ "firmware": "1.40C", "effectId": null, "location": "Project sequencer", - "conflicts": [ - "pattern-sample-locks" - ], + "conflicts": [], "uiClaims": [ "key:PART", "key:FUNC+MIDI", - "key:FUNC+PART", "key:FUNC+CUE", "key:STOP+PART", "key:FUNC+STOP+PART", @@ -70,19 +67,17 @@ "key:FUNC+STOP@KITS", "key:FUNC+PLAY@KITS", "key:FUNC+BANK@KITS", - "key:LEVEL@KITS", - "screen:PART EDIT" + "key:LEVEL@KITS" ], "limitations": [ "OS 1.40C on the Modwerk base with the sample-memory loan (ot_sample_memory), over USB only: card firmware cannot include it. Not yet run on a unit or in the emulator.", "Borrows 331 pages (about 2 MB) of sample memory while installed: about 23 s less of 16-bit mono sample time. When the pool cannot spare them, Kits stays off and the unit behaves as stock.", - "FUNC+PART opens SAVE KIT, so the stock Part Edit window and the rows other modules add there cannot be opened while Kits is installed.", + "Needs Modwerk base 0.8 or newer: FUNC+PART opens the Part Edit window with SAVE KIT, RELOAD KIT and RENAME KIT in PART's place. Stock's Part Edit rows are left out while Kits is on; while it is off its row is left out and the window is stock's.", "No quick save with FUNC+YES in SAVE KIT: save with YES and the name editor. FUNC+YES in either list does what it does elsewhere.", "A Kit carries no MIDI scene locks, and a kits.work from an octabam image with MIDI SCENES (version 2) is not read: that project then plays its Parts as stock.", "A damaged kits.work is never overwritten: that project then plays its Parts as stock and keeps no Kits. Rename or delete the file on the card to start over.", "Keep Kits installed while you save, reload or copy a project that uses it: without it, kits.work is not saved or reloaded with the project.", - "The first time Kits reads a project without kits.work it writes one (1.6 MB): installing Kits into a running project does this at once.", - "Not offered with Pattern Sample Locks: Kits' SAVE KIT takes FUNC+PART, the Part edit menu Pattern Sample Locks adds its rows to." + "The first time Kits reads a project without kits.work it writes one (1.6 MB): installing Kits into a running project does this at once." ] }, "resources": { @@ -147,14 +142,14 @@ "title": "Quick tutorial", "steps": [ "Install Kits into a project and press PART (MKI: FUNC+MIDI). The list shows the project's Parts as Kits 001 to 064.", - "Change a sound on the current track, press FUNC+PART (MKI: FUNC+MIDI, then FUNC+BANK), move to an empty Kit, press YES, type a name and confirm: `KIT SAVED`, and the status line shows the new Kit.", + "Change a sound on the current track, press FUNC+PART and YES on SAVE KIT (MKI: FUNC+MIDI, then FUNC+BANK), move to an empty Kit, press YES, type a name and confirm: `KIT SAVED`, and the status line shows the new Kit.", "Select another pattern, press PART, choose the Kit you saved and press YES: that pattern now plays it. Switch between the two patterns while playing; each plays its own Kit." ] }, "screenshots": [ "media/ot-status-kit.png", "media/ot-load-kit.png", - "media/ot-save-kit.png" + "media/ot-part-edit-kits.png" ], "screenshotStyle": "black-and-white" } @@ -168,52 +163,52 @@ { "path": "media/ot-status-kit.png", "captureType": "hardware", - "caption": "With Kits installed the status line names the Kit the pattern plays: 001 ONE, the project's Part 1 read in as a Kit.", - "alt": "Pattern screen of A01 on the MIDI NOTE page; the status line reads 001 ONE where stock shows the Part.", - "credit": "Modwerk contributors (capture on the owner's MKII)", + "caption": "With Kits installed the status line names the Kit the pattern plays: 009 ONE.", + "alt": "Pattern screen of C16 on the SRC page; the status line reads 009 ONE where stock shows the Part.", + "credit": "Modwerk contributors (capture on the developer's MKII)", "license": "LicenseRef-OT-UI-Documentation", "source": "original", "otUi": { "page": "Pattern screen", "shows": "location", "firmware": "1.40C", - "moduleVersion": "0.1.0-experimental", - "imageSha256": "41ba6b7bfa8d116843171cf07802a076f1094dc0e79b63fc221d569eaf8a4071", - "setup": "The owner's MKII over USB, 16 November 2026: a development twin of Modwerk base 0.7.4 with ot_sample_memory (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.0-experimental installed as a 60-second trial (package SHA-256 f1c13a07…) with its 331 pages of sample memory taken, the owner's project on pattern A01 (its Parts read in as Kits), stopped transport. The unit's LCD framebuffer read over USB (npm run device session, png step), 256 x 128, two pixels a dot. Each list was closed with NO; nothing was loaded or saved, and the trial rolled back." + "moduleVersion": "0.1.1-experimental", + "imageSha256": "109b65143e61cd409be54be96b982764a1114bca24e13076a2a8359673447a94", + "setup": "The developer's MKII over USB, 24 November 2026: a development twin of Modwerk base 0.8 (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.1-experimental installed alone as a 120-second trial (package SHA-256 c1cb63e5…), the developer's project in bank C. The unit's LCD framebuffer read over USB (device-send png step), 256 x 128, two pixels a dot. The trial rolled back. Pattern C16, stopped." } }, { "path": "media/ot-load-kit.png", "captureType": "hardware", - "caption": "Press PART: LOAD KIT lists UNDO KIT and the project's Kits. YES on a Kit makes the current pattern play it, at once.", - "alt": "LOAD KIT list over the pattern screen: UNDO KIT, 001 ONE (selected), 002 TWO, 003 THREE.", - "credit": "Modwerk contributors (capture on the owner's MKII)", + "caption": "Press PART: LOAD KIT lists the project's Kits. YES on a Kit makes the current pattern play it, at once.", + "alt": "LOAD KIT list over the pattern screen: 008 FOUR, 009 ONE, 010 TWO, 011 THREE (selected).", + "credit": "Modwerk contributors (capture on the developer's MKII)", "license": "LicenseRef-OT-UI-Documentation", "source": "original", "otUi": { "page": "LOAD KIT (PART)", "shows": "location-and-controls", "firmware": "1.40C", - "moduleVersion": "0.1.0-experimental", - "imageSha256": "41ba6b7bfa8d116843171cf07802a076f1094dc0e79b63fc221d569eaf8a4071", - "setup": "The owner's MKII over USB, 16 November 2026: a development twin of Modwerk base 0.7.4 with ot_sample_memory (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.0-experimental installed as a 60-second trial (package SHA-256 f1c13a07…) with its 331 pages of sample memory taken, the owner's project on pattern A01 (its Parts read in as Kits), stopped transport. The unit's LCD framebuffer read over USB (npm run device session, png step), 256 x 128, two pixels a dot. Each list was closed with NO; nothing was loaded or saved, and the trial rolled back." + "moduleVersion": "0.1.1-experimental", + "imageSha256": "109b65143e61cd409be54be96b982764a1114bca24e13076a2a8359673447a94", + "setup": "The developer's MKII over USB, 24 November 2026: a development twin of Modwerk base 0.8 (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.1-experimental installed alone as a 120-second trial (package SHA-256 c1cb63e5…), the developer's project in bank C. The unit's LCD framebuffer read over USB (device-send png step), 256 x 128, two pixels a dot. The trial rolled back. Pattern C16 playing; PART, then DOWN." } }, { - "path": "media/ot-save-kit.png", + "path": "media/ot-part-edit-kits.png", "captureType": "hardware", - "caption": "Press FUNC + PART: SAVE KIT, with the cursor on the current Kit. YES opens the name editor and saves the current Part into that Kit.", - "alt": "SAVE KIT list over the pattern screen: 001 ONE (selected), 002 TWO, 003 THREE, 004 FOUR.", - "credit": "Modwerk contributors (capture on the owner's MKII)", + "caption": "Press FUNC + PART: the Part Edit window holds Kits' actions in PART's place. SAVE KIT saves the current Part into a Kit, RELOAD KIT brings the pattern's Kit back as saved, RENAME KIT renames it.", + "alt": "Part Edit popup over the pattern screen: SAVE KIT, RELOAD KIT (selected), RENAME KIT.", + "credit": "Modwerk contributors (capture on the developer's MKII)", "license": "LicenseRef-OT-UI-Documentation", "source": "original", "otUi": { - "page": "SAVE KIT (FUNC + PART)", + "page": "Part Edit (FUNC + PART)", "shows": "controls", "firmware": "1.40C", - "moduleVersion": "0.1.0-experimental", - "imageSha256": "41ba6b7bfa8d116843171cf07802a076f1094dc0e79b63fc221d569eaf8a4071", - "setup": "The owner's MKII over USB, 16 November 2026: a development twin of Modwerk base 0.7.4 with ot_sample_memory (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.0-experimental installed as a 60-second trial (package SHA-256 f1c13a07…) with its 331 pages of sample memory taken, the owner's project on pattern A01 (its Parts read in as Kits), stopped transport. The unit's LCD framebuffer read over USB (npm run device session, png step), 256 x 128, two pixels a dot. Each list was closed with NO; nothing was loaded or saved, and the trial rolled back." + "moduleVersion": "0.1.1-experimental", + "imageSha256": "109b65143e61cd409be54be96b982764a1114bca24e13076a2a8359673447a94", + "setup": "The developer's MKII over USB, 24 November 2026: a development twin of Modwerk base 0.8 (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.1-experimental installed alone as a 120-second trial (package SHA-256 c1cb63e5…), the developer's project in bank C. The unit's LCD framebuffer read over USB (device-send png step), 256 x 128, two pixels a dot. The trial rolled back. Pattern C02, stopped; FUNC+PART, the window reopened on the row used last. NO closed it." } } ] diff --git a/sdk/octatrack/modules/kits/runtime.json b/sdk/octatrack/modules/kits/runtime.json index 94825aec6f..b8d0935e33 100644 --- a/sdk/octatrack/modules/kits/runtime.json +++ b/sdk/octatrack/modules/kits/runtime.json @@ -16,6 +16,7 @@ {"event": "module_enc", "fn": "kits_level"} ], "contribute": [ - {"to": "ot_sample_memory", "data": "kits_pages", "order": 50} + {"to": "ot_sample_memory", "data": "kits_pages", "order": 50}, + {"to": "ot_part_menu", "data": "kits_part_menu", "order": 60} ] } diff --git a/src/catalog/module-documents.json b/src/catalog/module-documents.json index f48e5a215c..b78ee554d7 100644 --- a/src/catalog/module-documents.json +++ b/src/catalog/module-documents.json @@ -13512,19 +13512,19 @@ "id": "kits", "key": "KITS", "name": "Kits", - "version": "0.1.0-experimental", + "version": "0.1.1-experimental", "category": "scenes", "access": { "location": "PART (MKII) or FUNC+MIDI (MKI) from any page", "steps": [ "Press PART on the MKII, or FUNC+MIDI on the MKI, to open LOAD KIT.", "Move to a Kit with UP and DOWN or the LEVEL encoder and press YES: the current pattern plays that Kit.", - "Press FUNC+PART on the MKII, or FUNC+MIDI then FUNC+BANK on the MKI, to open SAVE KIT; press YES on a Kit, edit its name and confirm to save the current Part into it." + "Press FUNC+PART and YES on SAVE KIT on the MKII, or FUNC+MIDI then FUNC+BANK on the MKI; press YES on a Kit, edit its name and confirm to save the current Part into it." ], "screenshots": [ "media/ot-status-kit.png", "media/ot-load-kit.png", - "media/ot-save-kit.png" + "media/ot-part-edit-kits.png" ] }, "author": { @@ -13541,7 +13541,7 @@ "label": "255 Kits per project", "family": "Parts and Kits", "summary": "255 Kits per project instead of four Parts per bank: each pattern plays its own Kit, saved and loaded by name.", - "overview": "A Kit is a saved Part with a name: machines, samples by slot, effects, track and MIDI settings, LFOs and the 16 scenes. Kits keeps 255 of them per project and lets each pattern play its own, so patterns are no longer tied to their bank's four Parts. Press PART to load a Kit into the current pattern, FUNC+PART to save the current Part as a Kit. Behind the scenes each pattern's Kit is copied into a free Part slot of its bank before the pattern plays, through the stock Part engine.", + "overview": "A Kit is a saved Part with a name: machines, samples by slot, effects, track and MIDI settings, LFOs and the 16 scenes. Kits keeps 255 of them per project and lets each pattern play its own, so patterns are no longer tied to their bank's four Parts. Press PART to load a Kit into the current pattern, FUNC+PART to save, reload or rename the pattern's Kit. Behind the scenes each pattern's Kit is copied into a free Part slot of its bank before the pattern plays, through the stock Part engine.", "highlights": [ "LOAD KIT and SAVE KIT lists with the Kits' names, UNDO KIT, and seven-character names.", "Each pattern plays its Kit; copying and pasting a pattern carries its Kit.", @@ -13550,7 +13550,7 @@ ], "usage": [ "Press PART (MKI: FUNC+MIDI): LOAD KIT lists UNDO KIT and the 255 Kits. Choose one with YES: the current pattern plays it now.", - "Press FUNC+PART (MKI: FUNC+MIDI, then FUNC+BANK): SAVE KIT. Choose a Kit with YES, name it and confirm: the current Part is saved into it and the pattern plays it.", + "Press FUNC+PART and YES on SAVE KIT (MKI: FUNC+MIDI, then FUNC+BANK). Choose a Kit with YES, name it and confirm: the current Part is saved into it and the pattern plays it.", "The status line shows the current pattern's Kit as NNN name." ] }, @@ -13559,13 +13559,10 @@ "firmware": "1.40C", "effectId": null, "location": "Project sequencer", - "conflicts": [ - "pattern-sample-locks" - ], + "conflicts": [], "uiClaims": [ "key:PART", "key:FUNC+MIDI", - "key:FUNC+PART", "key:FUNC+CUE", "key:STOP+PART", "key:FUNC+STOP+PART", @@ -13579,19 +13576,17 @@ "key:FUNC+STOP@KITS", "key:FUNC+PLAY@KITS", "key:FUNC+BANK@KITS", - "key:LEVEL@KITS", - "screen:PART EDIT" + "key:LEVEL@KITS" ], "limitations": [ "OS 1.40C on the Modwerk base with the sample-memory loan (ot_sample_memory), over USB only: card firmware cannot include it. Not yet run on a unit or in the emulator.", "Borrows 331 pages (about 2 MB) of sample memory while installed: about 23 s less of 16-bit mono sample time. When the pool cannot spare them, Kits stays off and the unit behaves as stock.", - "FUNC+PART opens SAVE KIT, so the stock Part Edit window and the rows other modules add there cannot be opened while Kits is installed.", + "Needs Modwerk base 0.8 or newer: FUNC+PART opens the Part Edit window with SAVE KIT, RELOAD KIT and RENAME KIT in PART's place. Stock's Part Edit rows are left out while Kits is on; while it is off its row is left out and the window is stock's.", "No quick save with FUNC+YES in SAVE KIT: save with YES and the name editor. FUNC+YES in either list does what it does elsewhere.", "A Kit carries no MIDI scene locks, and a kits.work from an octabam image with MIDI SCENES (version 2) is not read: that project then plays its Parts as stock.", "A damaged kits.work is never overwritten: that project then plays its Parts as stock and keeps no Kits. Rename or delete the file on the card to start over.", "Keep Kits installed while you save, reload or copy a project that uses it: without it, kits.work is not saved or reloaded with the project.", - "The first time Kits reads a project without kits.work it writes one (1.6 MB): installing Kits into a running project does this at once.", - "Not offered with Pattern Sample Locks: Kits' SAVE KIT takes FUNC+PART, the Part edit menu Pattern Sample Locks adds its rows to." + "The first time Kits reads a project without kits.work it writes one (1.6 MB): installing Kits into a running project does this at once." ] }, "resources": { @@ -13656,14 +13651,14 @@ "title": "Quick tutorial", "steps": [ "Install Kits into a project and press PART (MKI: FUNC+MIDI). The list shows the project's Parts as Kits 001 to 064.", - "Change a sound on the current track, press FUNC+PART (MKI: FUNC+MIDI, then FUNC+BANK), move to an empty Kit, press YES, type a name and confirm: `KIT SAVED`, and the status line shows the new Kit.", + "Change a sound on the current track, press FUNC+PART and YES on SAVE KIT (MKI: FUNC+MIDI, then FUNC+BANK), move to an empty Kit, press YES, type a name and confirm: `KIT SAVED`, and the status line shows the new Kit.", "Select another pattern, press PART, choose the Kit you saved and press YES: that pattern now plays it. Switch between the two patterns while playing; each plays its own Kit." ] }, "screenshots": [ "media/ot-status-kit.png", "media/ot-load-kit.png", - "media/ot-save-kit.png" + "media/ot-part-edit-kits.png" ], "screenshotStyle": "black-and-white" } @@ -13677,52 +13672,52 @@ { "path": "media/ot-status-kit.png", "captureType": "hardware", - "caption": "With Kits installed the status line names the Kit the pattern plays: 001 ONE, the project's Part 1 read in as a Kit.", - "alt": "Pattern screen of A01 on the MIDI NOTE page; the status line reads 001 ONE where stock shows the Part.", - "credit": "Modwerk contributors (capture on the owner's MKII)", + "caption": "With Kits installed the status line names the Kit the pattern plays: 009 ONE.", + "alt": "Pattern screen of C16 on the SRC page; the status line reads 009 ONE where stock shows the Part.", + "credit": "Modwerk contributors (capture on the developer's MKII)", "license": "LicenseRef-OT-UI-Documentation", "source": "original", "otUi": { "page": "Pattern screen", "shows": "location", "firmware": "1.40C", - "moduleVersion": "0.1.0-experimental", - "imageSha256": "41ba6b7bfa8d116843171cf07802a076f1094dc0e79b63fc221d569eaf8a4071", - "setup": "The owner's MKII over USB, 16 November 2026: a development twin of Modwerk base 0.7.4 with ot_sample_memory (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.0-experimental installed as a 60-second trial (package SHA-256 f1c13a07…) with its 331 pages of sample memory taken, the owner's project on pattern A01 (its Parts read in as Kits), stopped transport. The unit's LCD framebuffer read over USB (npm run device session, png step), 256 x 128, two pixels a dot. Each list was closed with NO; nothing was loaded or saved, and the trial rolled back." + "moduleVersion": "0.1.1-experimental", + "imageSha256": "109b65143e61cd409be54be96b982764a1114bca24e13076a2a8359673447a94", + "setup": "The developer's MKII over USB, 24 November 2026: a development twin of Modwerk base 0.8 (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.1-experimental installed alone as a 120-second trial (package SHA-256 c1cb63e5…), the developer's project in bank C. The unit's LCD framebuffer read over USB (device-send png step), 256 x 128, two pixels a dot. The trial rolled back. Pattern C16, stopped." } }, { "path": "media/ot-load-kit.png", "captureType": "hardware", - "caption": "Press PART: LOAD KIT lists UNDO KIT and the project's Kits. YES on a Kit makes the current pattern play it, at once.", - "alt": "LOAD KIT list over the pattern screen: UNDO KIT, 001 ONE (selected), 002 TWO, 003 THREE.", - "credit": "Modwerk contributors (capture on the owner's MKII)", + "caption": "Press PART: LOAD KIT lists the project's Kits. YES on a Kit makes the current pattern play it, at once.", + "alt": "LOAD KIT list over the pattern screen: 008 FOUR, 009 ONE, 010 TWO, 011 THREE (selected).", + "credit": "Modwerk contributors (capture on the developer's MKII)", "license": "LicenseRef-OT-UI-Documentation", "source": "original", "otUi": { "page": "LOAD KIT (PART)", "shows": "location-and-controls", "firmware": "1.40C", - "moduleVersion": "0.1.0-experimental", - "imageSha256": "41ba6b7bfa8d116843171cf07802a076f1094dc0e79b63fc221d569eaf8a4071", - "setup": "The owner's MKII over USB, 16 November 2026: a development twin of Modwerk base 0.7.4 with ot_sample_memory (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.0-experimental installed as a 60-second trial (package SHA-256 f1c13a07…) with its 331 pages of sample memory taken, the owner's project on pattern A01 (its Parts read in as Kits), stopped transport. The unit's LCD framebuffer read over USB (npm run device session, png step), 256 x 128, two pixels a dot. Each list was closed with NO; nothing was loaded or saved, and the trial rolled back." + "moduleVersion": "0.1.1-experimental", + "imageSha256": "109b65143e61cd409be54be96b982764a1114bca24e13076a2a8359673447a94", + "setup": "The developer's MKII over USB, 24 November 2026: a development twin of Modwerk base 0.8 (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.1-experimental installed alone as a 120-second trial (package SHA-256 c1cb63e5…), the developer's project in bank C. The unit's LCD framebuffer read over USB (device-send png step), 256 x 128, two pixels a dot. The trial rolled back. Pattern C16 playing; PART, then DOWN." } }, { - "path": "media/ot-save-kit.png", + "path": "media/ot-part-edit-kits.png", "captureType": "hardware", - "caption": "Press FUNC + PART: SAVE KIT, with the cursor on the current Kit. YES opens the name editor and saves the current Part into that Kit.", - "alt": "SAVE KIT list over the pattern screen: 001 ONE (selected), 002 TWO, 003 THREE, 004 FOUR.", - "credit": "Modwerk contributors (capture on the owner's MKII)", + "caption": "Press FUNC + PART: the Part Edit window holds Kits' actions in PART's place. SAVE KIT saves the current Part into a Kit, RELOAD KIT brings the pattern's Kit back as saved, RENAME KIT renames it.", + "alt": "Part Edit popup over the pattern screen: SAVE KIT, RELOAD KIT (selected), RENAME KIT.", + "credit": "Modwerk contributors (capture on the developer's MKII)", "license": "LicenseRef-OT-UI-Documentation", "source": "original", "otUi": { - "page": "SAVE KIT (FUNC + PART)", + "page": "Part Edit (FUNC + PART)", "shows": "controls", "firmware": "1.40C", - "moduleVersion": "0.1.0-experimental", - "imageSha256": "41ba6b7bfa8d116843171cf07802a076f1094dc0e79b63fc221d569eaf8a4071", - "setup": "The owner's MKII over USB, 16 November 2026: a development twin of Modwerk base 0.7.4 with ot_sample_memory (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.0-experimental installed as a 60-second trial (package SHA-256 f1c13a07…) with its 331 pages of sample memory taken, the owner's project on pattern A01 (its Parts read in as Kits), stopped transport. The unit's LCD framebuffer read over USB (npm run device session, png step), 256 x 128, two pixels a dot. Each list was closed with NO; nothing was loaded or saved, and the trial rolled back." + "moduleVersion": "0.1.1-experimental", + "imageSha256": "109b65143e61cd409be54be96b982764a1114bca24e13076a2a8359673447a94", + "setup": "The developer's MKII over USB, 24 November 2026: a development twin of Modwerk base 0.8 (MAIN SHA-256 in imageSha256) booted from RAM, Kits 0.1.1-experimental installed alone as a 120-second trial (package SHA-256 c1cb63e5…), the developer's project in bank C. The unit's LCD framebuffer read over USB (device-send png step), 256 x 128, two pixels a dot. The trial rolled back. Pattern C02, stopped; FUNC+PART, the window reopened on the row used last. NO closed it." } } ] diff --git a/src/community/module-changelogs/kits.json b/src/community/module-changelogs/kits.json index c561a0626a..b1a92b5baa 100644 --- a/src/community/module-changelogs/kits.json +++ b/src/community/module-changelogs/kits.json @@ -1,4 +1,15 @@ [ + { + "version": "0.1.1-experimental", + "date": "2026-11-21", + "changes": [ + "FUNC + PART now opens Kits' own Part Edit window: SAVE KIT, RELOAD KIT and RENAME KIT, in PART's place.", + "RENAME KIT renames the pattern's Kit; RELOAD KIT brings it back as saved.", + "Now offered together with Pattern Sample Locks: each has its own row in that window.", + "FUNC + PASTE + PART still copies the pasted pattern's Kit to the next empty one.", + "Needs Modwerk base 0.8 or newer, over USB." + ] + }, { "version": "0.1.0-experimental", "date": "2026-11-16", diff --git a/src/engine/assets/octatrack-module-packages.json b/src/engine/assets/octatrack-module-packages.json index ecd6307121..78b8bbe7c0 100644 --- a/src/engine/assets/octatrack-module-packages.json +++ b/src/engine/assets/octatrack-module-packages.json @@ -663,7 +663,7 @@ "id": "kits", "octabam": true, "usbOnly": true, - "version": "0.1.0-experimental", + "version": "0.1.1-experimental", "abi": 8, "features": 129, "sites": 15, @@ -671,9 +671,9 @@ "fills": 0, "name": "Kits", "module": "9ea848b6", - "bytes": 12954, - "sha256": "f1c13a071b299906dccd7eee60c8b01e82dea9212921f5d7fb28ca14b5932c0b", - "path": "octatrack-modules/kits/0.1.0-experimental.mwrm" + "bytes": 13546, + "sha256": "c1cb63e556add9aaf39eea5bfcdafc1ece923b51d9723c49f5caf6fd215ed072", + "path": "octatrack-modules/kits/0.1.1-experimental.mwrm" }, { "id": "tuner",