From 916b3d59a8b840ab364b50311d7d0ccbe31dd430 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 26 Nov 2026 05:03:48 +0000 Subject: [PATCH 01/14] WIP: stage Tempo LFO 0.1.0-experimental for upstream first-release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Port module to sdk/octatrack/modules/tempo-lfo, pin catalog, and keep Keep/qual/cycles cites. Do not invent resources.cpuPrice or a USB .mwrm — both still required before opening the owner first-release PR (MOP-273). Co-authored-by: jonathanwardle1992-beep --- changelog/2026-11-26-tempo-lfo-catalog.md | 1 + sdk/catalog.json | 5 + sdk/octatrack/modules/tempo-lfo/CHANGELOG.md | 52 ++++ .../modules/tempo-lfo/INVESTIGATION.md | 102 +++++++ sdk/octatrack/modules/tempo-lfo/LICENSE | 30 ++ sdk/octatrack/modules/tempo-lfo/README.md | 113 ++++++++ sdk/octatrack/modules/tempo-lfo/STAGING.md | 36 +++ sdk/octatrack/modules/tempo-lfo/TESTING.md | 175 ++++++++++++ .../modules/tempo-lfo/evidence/README.md | 68 +++++ .../catalog-gate-mop213-2026-11-25.md | 50 ++++ .../catalog-gate-mop226-2026-11-25.md | 54 ++++ .../catalog-gate-mop250-2026-11-25.md | 56 ++++ .../catalog-gate-mop255-2026-11-25.md | 16 ++ .../catalog-gate-mop256-2026-11-25.md | 15 + .../evidence/catalog-pin-mop257-2026-11-25.md | 39 +++ ...cles-performance-plan-mop213-2026-11-25.md | 62 +++++ .../next-audible-fixture-mop250-2026-11-25.md | 120 ++++++++ .../otemu-cycles-mop255-2026-11-25.md | 70 +++++ .../tempo-lfo/evidence/performance.json | 30 ++ .../protocol-mop250-keep-usb-2026-11-25.md | 86 ++++++ ...lishability-gates-hub-mop250-2026-11-25.md | 31 +++ ...ification-fill-recipe-mop213-2026-11-25.md | 107 ++++++++ .../qualification-gate-mop256-2026-11-25.md | 77 ++++++ .../qualification-place-mop257-2026-11-25.md | 31 +++ ...ase-blocked-cpu-price-mop273-2026-11-26.md | 29 ++ .../evidence/usb-audible-mop252-2026-11-25.md | 56 ++++ .../usb-cycles-static-mop213-2026-11-25.md | 63 +++++ .../evidence/usb-hw-mop253-keep-2026-11-25.md | 49 ++++ .../usb-hw-mop254-reboot-2026-11-25.md | 25 ++ .../evidence/usb-park-mop251-2026-11-25.md | 46 ++++ .../evidence/usb-smoke-mop205-2026-11-25.md | 54 ++++ .../modules/tempo-lfo/fill_guards.py | 55 ++++ sdk/octatrack/modules/tempo-lfo/manifest.py | 35 +++ .../tempo-lfo/media/ot-lfo-page-tempo.png | Bin 0 -> 1116 bytes .../modules/tempo-lfo/media/ot-pmtr-tempo.png | Bin 0 -> 1051 bytes .../tempo-lfo/media/ot-setup-pmtr-tempo.png | Bin 0 -> 1063 bytes .../modules/tempo-lfo/octamod.module.json | 256 ++++++++++++++++++ .../tempo-lfo/presentation/thumbnail.svg | 39 +++ sdk/octatrack/modules/tempo-lfo/runtime.json | 10 + sdk/octatrack/modules/tempo-lfo/unit.s | 199 ++++++++++++++ sdk/octatrack/modules/tempo-lfo/verify.py | 3 + .../module-changelogs/tempo-lfo.json | 11 + 42 files changed, 2356 insertions(+) create mode 100644 changelog/2026-11-26-tempo-lfo-catalog.md create mode 100644 sdk/octatrack/modules/tempo-lfo/CHANGELOG.md create mode 100644 sdk/octatrack/modules/tempo-lfo/INVESTIGATION.md create mode 100644 sdk/octatrack/modules/tempo-lfo/LICENSE create mode 100644 sdk/octatrack/modules/tempo-lfo/README.md create mode 100644 sdk/octatrack/modules/tempo-lfo/STAGING.md create mode 100644 sdk/octatrack/modules/tempo-lfo/TESTING.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/README.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop213-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop226-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop250-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop255-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop256-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/catalog-pin-mop257-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/cycles-performance-plan-mop213-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/next-audible-fixture-mop250-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/otemu-cycles-mop255-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/performance.json create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/protocol-mop250-keep-usb-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/publishability-gates-hub-mop250-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/qualification-fill-recipe-mop213-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/qualification-gate-mop256-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/qualification-place-mop257-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/usb-audible-mop252-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/usb-cycles-static-mop213-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/usb-hw-mop253-keep-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/usb-hw-mop254-reboot-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/usb-park-mop251-2026-11-25.md create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/usb-smoke-mop205-2026-11-25.md create mode 100755 sdk/octatrack/modules/tempo-lfo/fill_guards.py create mode 100644 sdk/octatrack/modules/tempo-lfo/manifest.py create mode 100644 sdk/octatrack/modules/tempo-lfo/media/ot-lfo-page-tempo.png create mode 100644 sdk/octatrack/modules/tempo-lfo/media/ot-pmtr-tempo.png create mode 100644 sdk/octatrack/modules/tempo-lfo/media/ot-setup-pmtr-tempo.png create mode 100644 sdk/octatrack/modules/tempo-lfo/octamod.module.json create mode 100644 sdk/octatrack/modules/tempo-lfo/presentation/thumbnail.svg create mode 100644 sdk/octatrack/modules/tempo-lfo/runtime.json create mode 100644 sdk/octatrack/modules/tempo-lfo/unit.s create mode 100644 sdk/octatrack/modules/tempo-lfo/verify.py create mode 100644 src/community/module-changelogs/tempo-lfo.json diff --git a/changelog/2026-11-26-tempo-lfo-catalog.md b/changelog/2026-11-26-tempo-lfo-catalog.md new file mode 100644 index 0000000000..9d4dc15986 --- /dev/null +++ b/changelog/2026-11-26-tempo-lfo-catalog.md @@ -0,0 +1 @@ +Module: first catalog release of Tempo LFO (`0.1.0-experimental`). LFO SETUP gains PMTR destination TEMPO (index 39); publishes into stock PROJECT_BPM24. Keep Accept reported 25 November 2026 on tip package `643b46c3…`. Upstream first-release still requires measured `resources.cpuPrice` (`npm run device:price`) and a shipped USB `.mwrm` before owner merge. Owner first-release review required. diff --git a/sdk/catalog.json b/sdk/catalog.json index 01ccc9eda6..4fc953520e 100644 --- a/sdk/catalog.json +++ b/sdk/catalog.json @@ -167,6 +167,11 @@ "version": "0.1.1-experimental", "addedAt": "2026-10-28T12:00:00Z" }, + { + "id": "tempo-lfo", + "version": "0.1.0-experimental", + "addedAt": "2026-11-26T00:00:00Z" + }, { "id": "beat-slicer", "version": "0.1.68-experimental", diff --git a/sdk/octatrack/modules/tempo-lfo/CHANGELOG.md b/sdk/octatrack/modules/tempo-lfo/CHANGELOG.md new file mode 100644 index 0000000000..7b05bd66bf --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/CHANGELOG.md @@ -0,0 +1,52 @@ +# Tempo LFO — draft release notes + +Catalog `src/community/module-changelogs/` entries are for listed modules +only. Keep this file until the module is promoted out of `sdk/drafts/` and +listed in `sdk/catalog.json`. + +## 0.1.0-experimental — tip scaffold 2026-11-25 (MOP-204) + +- New parked draft `sdk/octabam/modules/tempo-lfo/`: LFO PMTR **TEMPO** index **39**, + contribute `tm_lfo_pmtr` (order 100), `after_store` → `tm_on_store` + publishes stock `PROJECT_BPM24` (`0x8000181c`, 30–300 BPM). +- Does not own track speed (TSPD) and does not claim SPOS / Play Modes + remapper sites. +- Catalog **SHUT**. No Accept / force-list / USB trial in this tip. Do not + invent Proven. +- Peer LFO drafts list `tempo-lfo` in `compatibility.conflicts`; + `drafts:park-check` includes the draft; hub + `docs/OCTATRACK_LFO_PMTR_EXTENSION.md` notes the index. + +### Docs / evidence note — MOP-205 USB smoke (same version, 25 Nov 2026) + +- Keep-safe Undo twin smoke: tip package `643b46c3…`, coexist dial **39**, + SETUP TEMPO, PLAY `tm_bpm_w` / `PROJECT_BPM24` moved; Undo `[]`. +- Catalog still **SHUT**. Not Proven / WAV / cycles. Evidence + `evidence/usb-smoke-mop205-2026-11-25.md`. + +### Docs / evidence note — MOP-213 tip publish gates (same version, 25 Nov 2026) + +- ColdFire `cycles.static = 624` from objdump (`tm_on_store` 25 + + `tm_map_bpm24` 14 = 39 ×16). Measured / load / stress stay null. +- Qualification fill recipe + catalog-gate honesty hooked; `tests.qualification` + remains absent. Catalog still **SHUT**. No Accept. No Proven invent. +- Evidence: `evidence/usb-cycles-static-mop213-2026-11-25.md`, + `evidence/cycles-performance-plan-mop213-2026-11-25.md`, + `evidence/qualification-fill-recipe-mop213-2026-11-25.md`, + `evidence/catalog-gate-mop213-2026-11-25.md`. Hub MOP-213. + +### Docs / evidence note — MOP-226 catalog-gate honesty (same version, 25 Nov 2026) + +- Tip-docs restatement: USB smoke PASS (mop205) + static **624** + qual + hooks (mop213) do **not** open `sdk/catalog.json`. Measured / WAV / + `tests.qualification` place still open. No Accept. No Proven invent. +- Stamp at that pass: `evidence/catalog-gate-mop226-2026-11-25.md` + hub + MOP-226 (checklist TEMPO row + HARDWARE_TRAPS pointer). + +### Docs / evidence note — MOP-250 audible + Keep tip (same version, 25 Nov 2026) + +- Tip-docs: Keep-safe Undo audible fixture + Keep Accept USB protocol + (Jon auth only; AFK must not `device_keep`) + publishability gates hub. +- Catalog still **SHUT**. No USB dig claimed. No Accept invent. Index **39** + locked. Current stamp: `evidence/catalog-gate-mop250-2026-11-25.md` + + hub MOP-250. diff --git a/sdk/octatrack/modules/tempo-lfo/INVESTIGATION.md b/sdk/octatrack/modules/tempo-lfo/INVESTIGATION.md new file mode 100644 index 0000000000..66f916ebbe --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/INVESTIGATION.md @@ -0,0 +1,102 @@ +# Tempo LFO — site plan (OS 1.40C) + +Measured facts below come from published octabam REPITCH sources and the +sibling LFO-PMTR drafts. Spans that need a local OS extraction are marked +**fill**. Run: + +```sh +python3 sdk/drafts/tempo-lfo/fill_guards.py --os ~/path/to/section_3_MAIN_OS.bin +``` + +for reference hashes only — this tip does **not** Detour lea/store. + +## Behaviour + +| Piece | Mechanism | +| --- | --- | +| Project tempo | Stock longword `PROJECT_BPM24` at `0x8000181c` (BPM × 24; 720…7200) | +| LFO mapping | PMTR index **39** = **TEMPO**; engine store writes `tm_bpm_w[t]` | +| Publish | After store: high byte → BPM 30…300 → `× 24` → `PROJECT_BPM24` | +| Sync | When `tm_dirty[t]` is clear, shadow ← map from `PROJECT_BPM24` | +| Defaults | Follow the project’s existing tempo; no new DRAM base editor | +| Manual edit | Stock **TEMPO** key / LEVEL | + +Live amount is the high byte of `tm_bpm_w[t]` (bits 8–15), the same form +stock LFO stores into destination words. Publish is **global** (last +writer wins); this tip does not own per-track scale (**TSPD**). + +## PMTR index assignment (coordinated map) + +| Index | Label | Module | +| --- | --- | --- | +| 30 | PROB | Trig Prob | +| 31 | RST | Seq Reset | +| 32 | SLIC | Slice Num | +| 33 | SWING | Swing LFO | +| 34 | TSPD | Track Speed LFO | +| 35 | TLEN | Track Len | +| 36 | PHAS | Track Phase Offset | +| 37 | SPOS | Seq Pos | +| 38 | TSTR | Time Stretch | +| **39** | **TEMPO** | **Tempo LFO (this)** | + +Index **39** is the next clear unused slot after the nine parked peers +(loader room 16). Confirm against the Project store allocation lock +(`lfo-pmtr-index-allocation.md`) if another claim lands first. + +**Out of scope for this tip** + +- Track scale/speed (`tr+0x51`) — owned by **TSPD** +- `ev_audio_step` / Play Modes / SPOS remapper sites — not claimed +- Catalog pin / Accept — still **SHUT** (MOP-250); USB smoke PASS (mop205); + audible Undo + Keep-auth protocols tip-ready (mop250); AFK must not + `device_keep` without Jon Accept auth + +## LFO destination (audio) + +| what | address | note | +| --- | --- | --- | +| destination lea+cmpi | `0x4000d042` (pad_to=8) | base `mw_lfo_pmtr_dest` — **do not Detour** | +| dest store | `0x4000d07a` (6 B) | base `mw_lfo_pmtr_store` + contribute `after_store` → `tm_on_store` | +| PMTR count (audio) | `0x400d38a8` | base-owned | +| PMTR formatter | `0x4003bf64` | base-owned; prints **TEMPO** from contribute label | + +## Project tempo record + +From REPITCH `repitch.s` (published module source): + +| what | value | +| --- | --- | +| `PROJECT_BPM24` | `0x8000181c` (long) | +| Range | 720…7200 (= 30…300 BPM × 24) | +| Consumers | Frame builder / MIDI clock / REPITCH tempo scale | + +## Publish without fighting peers + +Contribute ABI 2 wires `tm_on_store` as `after_store` so publish runs only +when the base store hits TEMPO words — do not claim `0x4000d07a`. Do not +subscribe to `ev_audio_step` (SPOS / Play Modes ownership). Do not write +`tr+0x51` (TSPD). + +## Panel / UI claims + +| what | plan | +| --- | --- | +| Base edit | Stock TEMPO key (no new gesture) | +| uiClaims | `[]` | +| Modulation | LFO SETUP → PMTR = TEMPO | + +## Catalog / publish ceiling + +| Stamp | State | +| --- | --- | +| MOP-204 tip scaffold | Parked draft; catalog **SHUT** | +| MOP-205 USB smoke | SETUP TEMPO + words/BPM24 PASS; not Proven | +| MOP-213 tip publish gates | `cycles.static` **624**; qual recipe hooked; measured / WAV / `tests.qualification` place / catalog still open | +| MOP-226 catalog-gate honesty | Smoke + static + qual hooks restated; pin still **SHUT**; no Accept / Proven invent | + +Catalog pin **SHUT**. No Accept. No force-list. No invented Proven. +Current stamp: +[`evidence/catalog-gate-mop226-2026-11-25.md`](evidence/catalog-gate-mop226-2026-11-25.md) +/ hub [MOP-226](../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-catalog-gate-honesty-mop-226) +(publish gates [MOP-213](../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-tip-publish-gates-mop-213)). diff --git a/sdk/octatrack/modules/tempo-lfo/LICENSE b/sdk/octatrack/modules/tempo-lfo/LICENSE new file mode 100644 index 0000000000..f7aa2ed863 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/LICENSE @@ -0,0 +1,30 @@ +MIT License + +Copyright (c) 2026 jonathanwardle1992-beep + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +This license covers this module's own source code and documentation only. +It does not extend to any Elektron Music Machines firmware, which is not +distributed here and remains the property of its copyright holder. Users +supply their own copy of the official OS. Octatrack and Elektron are +trademarks of Elektron Music Machines MAV AB, used only to identify the +hardware this module targets. diff --git a/sdk/octatrack/modules/tempo-lfo/README.md b/sdk/octatrack/modules/tempo-lfo/README.md new file mode 100644 index 0000000000..7d184b6718 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/README.md @@ -0,0 +1,113 @@ +# Tempo LFO + +USB packages contribute `ot_lfo_pmtr_dest` and drop base-owned count/formatter/beq/lea/store alone-sink sites. Base owns `0x4000d042` (`mw_lfo_pmtr_dest`) and `0x4000d07a` (`mw_lfo_pmtr_store`). + +Version: `0.1.0-experimental` · author: [@jonathanwardle1992-beep](https://github.com/jonathanwardle1992-beep) + +Maps **project/global tempo** to a new LFO **PMTR** destination, **TEMPO**, +so stock LFOs can address BPM. ColdFire only (no DSP, no effect slot). +Original OS 1.40C. + +**Catalog PINNED** (MOP-257). First Modwerk catalog release at +`0.1.0-experimental`. `tests.qualification` placed under Jon owner review +(G). Cite Keep mop253/254, measured **624** mop255, qual tip mop256. +Evidence: [`evidence/catalog-pin-mop257-2026-11-25.md`](evidence/catalog-pin-mop257-2026-11-25.md), +[`evidence/qualification-place-mop257-2026-11-25.md`](evidence/qualification-place-mop257-2026-11-25.md). +Release notes: [CHANGELOG.md](CHANGELOG.md) / community `tempo-lfo.json`. See +[INVESTIGATION.md](INVESTIGATION.md) and [TESTING.md](TESTING.md). + +![Tempo LFO thumbnail: project BPM feeding LFO PMTR TEMPO](presentation/thumbnail.svg) + +## Overview + +Stock Octatrack project tempo is edited with the **TEMPO** key, but it is +not an LFO destination. Tempo LFO adds that link: + +- The live project tempo word stays the stock sequencer value at + `0x8000181c` (BPM × 24, 30–300), the same word REPITCH and the frame + builder already follow. +- On LFO SETUP, **PMTR** gains **TEMPO** (**index 39**). Point an LFO at + it and use DEP / WAVE / MULT / TRIG as usual; p-locks and scenes that + move DEP apply through stock. +- After the LFO stores the destination word, the module maps the high + byte onto 30–300 BPM and publishes into `PROJECT_BPM24` so transport + follows live. +- When no LFO has written TEMPO for a track shadow, the shadow re-syncs + from the project word so the TEMPO key remains the base editor. + +Track scale/speed, swing, length and step remap stay with their own +modules (**TSPD**, **SWING**, **TLEN**, **SPOS** / Play Modes). + +### Why index 39 + +Coordinated draft map: **30 PROB** … **38 TSTR**. This module takes the +next clear unused slot **39 TEMPO** so it does not collide with those +nine, and stays off SPOS / Play Modes dials. Confirm with the coordinator +allocation lock if another claim lands first; see +[INVESTIGATION.md](INVESTIGATION.md). + +## Controls + +| Control | Access | Values | Default | +| --- | --- | --- | --- | +| Project tempo | Stock **TEMPO** key / LEVEL | 30–300 BPM | project’s existing value | +| LFO → TEMPO | LFO SETUP → **PMTR = TEMPO** | stock LFO page | — | + +No effect slot and no new Part knob page. No FUNC+TRACK gesture (reserved +by other drafts). + +## Usage + +Anyone with the module can point an audio-track LFO at PMTR = TEMPO to +modulate project/global BPM. The TEMPO key remains the base editor. + +### Quick tutorial + +1. Include Tempo LFO in a build; set a known project tempo (for example 120 BPM) on an audio track with a clear rhythm. +2. Hold FUNC+LFO; set PMTR=TEMPO, raise DEP, pick WAVE/TRIG; press PLAY and watch project BPM move. +3. Set DEP to 0 or change PMTR away from TEMPO; re-edit with the TEMPO key. + +## Compatibility and limitations + +- OS 1.40C. Audio-track LFOs only in 0.1.0; MIDI LFOs are not wired. +- **PMTR index 39** by design (map: 30–38 peers, then TEMPO). Alone, dial + max is still **30** until peers coexist (same alone-dial ABI as SWING / + TSPD — [MOP-122](../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#alone-dial-max-30-vs-dest-33-mop-122)). +- Global publish: last writing track’s LFO wins for `PROJECT_BPM24`. +- Does **not** write track scale (`tr+0x51`); that remains **TSPD**. +- Does **not** detour `ev_audio_step` / Play Modes / SPOS. +- USB smoke PASS (MOP-205); audible Undo (MOP-252); Keep + reboot + (MOP-253/254); measured **624** (MOP-255). `tests.qualification` + **Placed** and catalog **PINNED** (MOP-257). + +## Tests and measurements + +See [TESTING.md](TESTING.md). `evidence/performance.json` has +`cycles.static` = `cycles.measured` = **624**, budget **4790**, load + +stress filled (MOP-255). Qualification placed (MOP-257). + +## Authorship and licences + +jonathanwardle1992-beep: design, ColdFire unit, documentation and +thumbnail. MIT, [LICENSE](LICENSE). Site plan cites published REPITCH +`PROJECT_BPM24` and peer LFO-PMTR contribute shape (addresses only; no +stock bytes). No Elektron firmware or extracted tables are included. + +## Screens and audio + +Hardware USB LCD captures (Keep-safe Undo / mop205–252 lineage; monochrome): + +![LFO SETUP PMTR TEMPO](media/ot-setup-pmtr-tempo.png) + +![LFO PMTR TEMPO selected](media/ot-pmtr-tempo.png) + +![LFO page with TEMPO destination](media/ot-lfo-page-tempo.png) + +## Screens and audio + +SETUP PMTR=TEMPO panel PNG retained from mop205 (store media); not OCR'd +as Proven. The module makes no sound of its own; it only moves tempo. +Audible WAV A/B remains open — Keep-safe Undo fixture tip-ready +([MOP-250](evidence/next-audible-fixture-mop250-2026-11-25.md)). Keep +Accept needs Jon auth +([protocol](evidence/protocol-mop250-keep-usb-2026-11-25.md)). diff --git a/sdk/octatrack/modules/tempo-lfo/STAGING.md b/sdk/octatrack/modules/tempo-lfo/STAGING.md new file mode 100644 index 0000000000..194fa06707 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/STAGING.md @@ -0,0 +1,36 @@ +# Tempo LFO — upstream first-release staging (MOP-273) + +WIP branch `cursor/tempo-lfo-publish-a318` off `repeat98/modwerk` `main`. +**Do not open the owner first-release PR until every gate below is green.** +**Do not invent Accept / Proven / `cpuPrice` / a fake `.mwrm`.** + +Mirror: [Micro Timing #2193](https://github.com/repeat98/modwerk/pull/2193). + +## Done on this branch + +- [x] Module at `sdk/octatrack/modules/tempo-lfo/` (from fork mop257 tip) +- [x] Catalog pin `{ id: tempo-lfo, version: 0.1.0-experimental }` +- [x] Community changelog + `changelog/2026-11-26-tempo-lfo-catalog.md` +- [x] `tests.qualification` retained (Keep/measured cites); `sourceSha256` rehashed for this tree +- [x] Honesty: no forged `resources.cpuPrice` + +## Still required before PR + +1. **USB `.mwrm`** — Keep tip package `643b46c3…` / 724 B (mop253). Rebuild with + `build.py --octabam tempo-lfo --name "Tempo LFO"` (or title-variant match like #2193), + place at `public/octatrack-modules/tempo-lfo/0.1.0-experimental.mwrm`, add + `octatrack-module-packages.json` usbOnly row. Cloud tip has no stock OS / m68k + toolchain — needs self-hosted / Jon private `modwerk-builds`. +2. **`resources.cpuPrice`** — Undo-only + `npm run device:price -- --write --base --scene tempo-lfo` + (MOP-274 TCP serve tip). Write `evidence/cpu-price.json`. **No Accept.** +3. **`modules:generate`** + doctor + `modules:check -- --base upstream/main`. +4. Open owner first-release PR to `repeat98:main`. **Do not merge.** + +## Cite-only (already Proven on fork — do not re-invent) + +| Gate | Cite | +| --- | --- | +| Keep Accept + reboot | mop253 / mop254 — package `643b46c3…` | +| Measured 624 + load/stress | mop255 | +| Qual place + fork pin | mop257 / fork #224 | diff --git a/sdk/octatrack/modules/tempo-lfo/TESTING.md b/sdk/octatrack/modules/tempo-lfo/TESTING.md new file mode 100644 index 0000000000..29a2a29358 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/TESTING.md @@ -0,0 +1,175 @@ +# Tempo LFO testing + +### MOP-204 tip scaffold + +Parked draft under `sdk/octabam/modules/tempo-lfo/`: contribute `ot_lfo_pmtr_dest` +**TEMPO** index **39**, order **100**, `after_store` → `tm_on_store` → +`PROJECT_BPM24` (`0x8000181c`). Hub note in +[`docs/OCTATRACK_LFO_PMTR_EXTENSION.md`](../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md). +Peer conflict lists + `drafts:park-check` updated. **No USB / Accept / +catalog force-list** in the scaffold tip. Do not invent Proven. + +## Commands and exact revision + +```sh +python3 sdk/octabam/modules/tempo-lfo/fill_guards.py --os ~/.cache/modwerk-native/section_3_MAIN_OS.bin +npm run drafts:park-check +# static cycles (MOP-213) +m68k-linux-gnu-as -mcpu=54455 -o /tmp/tempo-lfo.o sdk/octabam/modules/tempo-lfo/unit.s +m68k-linux-gnu-objdump -d /tmp/tempo-lfo.o +# (optional, local with Elekloader + OS) +# npm run module:doctor -- tempo-lfo +``` + +`verify.py` only prints readiness notes; it is not a behavioural gate. + +## Hardware and audio quality + +### MOP-205 USB smoke — SETUP TEMPO + BPM24/words (25 Nov 2026 Europe/London) + +Keep tip24. Twin `775d9322…`. Private tip-matched package +`643b46c3…` + coexist MWMS (PROB…TEMPO). Undo only. **No Accept.** + +| Gate | Result | +| --- | --- | +| Dial max | **39** | +| SETUP PMTR → TEMPO | **39** | +| Dest `wordsPtr` / `afterStore` | live | +| PLAY `tm_bpm_w` T1 high unique | **16** (`0…63`) | +| PLAY `PROJECT_BPM24` unique | **25** (`720…3912` ≈ 30…163 BPM) | +| Undo | **`[]`** | +| Catalog / Proven / WAV | **SHUT** / not claimed | + +Evidence: [`evidence/usb-smoke-mop205-2026-11-25.md`](evidence/usb-smoke-mop205-2026-11-25.md). +Fixture note: first PLAY-only pass was flat unique=1; mop184-shaped +LFO-page max + mid-PLAY wiggle moved words/BPM. `holdTrial` emptied +inventory mid-dig — leave trial active until Undo leave. + +### MOP-213 tip publish gates — static cycles + qual hooks (25 Nov 2026) + +No USB / Accept. Catalog **SHUT**. + +| Gate | Result | +| --- | --- | +| `cycles.static` | **624** (39 authored ×16; `tm_on_store` 25 + `tm_map_bpm24` 14) | +| `cycles.measured` / load / stress | **Filled later** — see [MOP-255](#mop-255-measured-cycles--load--stress-25-nov-2026) | +| `tests.qualification` | **Absent** — recipe hooked; place still Open | +| Proven / WAV / catalog | not claimed / **SHUT** | + +Evidence: +[`evidence/usb-cycles-static-mop213-2026-11-25.md`](evidence/usb-cycles-static-mop213-2026-11-25.md), +[`evidence/cycles-performance-plan-mop213-2026-11-25.md`](evidence/cycles-performance-plan-mop213-2026-11-25.md), +[`evidence/qualification-fill-recipe-mop213-2026-11-25.md`](evidence/qualification-fill-recipe-mop213-2026-11-25.md), +[`evidence/catalog-gate-mop213-2026-11-25.md`](evidence/catalog-gate-mop213-2026-11-25.md). +Hub: [MOP-213](../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-tip-publish-gates-mop-213). + +### MOP-226 catalog-gate honesty (25 Nov 2026) + +Tip-docs only. No USB / Accept. Restates that USB smoke PASS + static +**624** + qual hooks do **not** open the catalog — measured / WAV / +`tests.qualification` place / pin still **SHUT**. Do not invent Proven. + +Evidence: +[`evidence/catalog-gate-mop226-2026-11-25.md`](evidence/catalog-gate-mop226-2026-11-25.md). +Hub: [MOP-226](../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-catalog-gate-honesty-mop-226). +Current stamp: [MOP-250](#mop-250-audible--keep-tip-25-nov-2026). + +### MOP-250 audible + Keep tip (25 Nov 2026) + +Tip-docs only. No USB dig claimed. No Accept. Catalog **SHUT**. Index +**39** locked. Audible Keep-safe Undo protocol + Keep Accept protocol +(Jon auth only) tip-ready. Do not invent Proven / WAV / Keep. + +| Gate | Result | +| --- | --- | +| Audible WAV fixture tip | Ready — [`next-audible-fixture-mop250-2026-11-25.md`](evidence/next-audible-fixture-mop250-2026-11-25.md) | +| Keep Accept protocol tip | Ready under Jon auth — [`protocol-mop250-keep-usb-2026-11-25.md`](evidence/protocol-mop250-keep-usb-2026-11-25.md); AFK must **not** `device_keep` | +| USB audible / Keep this tip | **Not run** | +| Catalog / Proven | **SHUT** / not claimed | + +Evidence: +[`evidence/publishability-gates-hub-mop250-2026-11-25.md`](evidence/publishability-gates-hub-mop250-2026-11-25.md), +[`evidence/catalog-gate-mop250-2026-11-25.md`](evidence/catalog-gate-mop250-2026-11-25.md). +Hub: [MOP-250](../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-audible-and-keep-tip-mop-250). + +### MOP-255 measured cycles / load / stress (25 Nov 2026) + +Private ot_emu dig after mop254. Catalog **SHUT**. No Accept. + +| Gate | Result | +| --- | --- | +| `cycles.measured` | **624** (matches static; high 0/64/127) | +| OOR early exit | authored **9** → **144** | +| cfmeter load stock/module | longest ISR **287.8 / 287.8** µs | +| ≥60 s stress | REACHED; hangs **0**; dropped **0** | +| Budget | **4790** (peer 10% frame cite) | + +Evidence: +[`evidence/otemu-cycles-mop255-2026-11-25.md`](evidence/otemu-cycles-mop255-2026-11-25.md), +[`evidence/performance.json`](evidence/performance.json). + +### MOP-256 qualification tip honesty (25 Nov 2026) + +Tip-docs only. No place of `tests.qualification`. No catalog pin. +A–G audited; place **blocked** on owner review (G). **Ask Jon** before +any `sdk/catalog.json` pin. + +| Gate | Result | +| --- | --- | +| Example cycles stub | Filled — worstCase **624**; budget **4790** | +| `tests.qualification` in manifest | **Absent** | +| Catalog / pin | **SHUT** | + +Evidence: +[`evidence/qualification-gate-mop256-2026-11-25.md`](evidence/qualification-gate-mop256-2026-11-25.md), +[`evidence/catalog-gate-mop256-2026-11-25.md`](evidence/catalog-gate-mop256-2026-11-25.md). + +### Still open (not claimed) + +1. Place `tests.qualification` + **Jon owner review (G)**. +2. Catalog pin — **ask Jon**; never AFK force-list. +3. SETUP LCD glyph OCR for the TEMPO label (panel PNG retained; not OCR'd). +4. Hardware functional checks as qualification report (cite prior only until place). + +Catalog remains **SHUT**. + +## Not tested + +- MIDI LFO / MIDI clock interaction while TEMPO is driven +- Coexistence with TSPD on the same remix (conflict-listed until base + table + `modules:compat`) +- Catalog pin / `tests.qualification` place / OCR Proven + +### MOP-257 qualification place + catalog pin (25 Nov 2026) + +Jon AUTHORIZES owner review (G) + catalog pin. `tests.qualification` +**Placed**; `sdk/catalog.json` **PINNED**; promoted to +`sdk/octabam/modules/tempo-lfo/`. + +| Gate | Result | +| --- | --- | +| Place | **PASS** — cycles **624** / budget **4790** / bss **24** | +| Catalog pin | **PINNED** (fork) | +| Accept invent | none | + +Evidence: +[`evidence/qualification-place-mop257-2026-11-25.md`](evidence/qualification-place-mop257-2026-11-25.md), +[`evidence/catalog-pin-mop257-2026-11-25.md`](evidence/catalog-pin-mop257-2026-11-25.md). + +### MOP-273 upstream first-release blocked on `cpuPrice` (26 Nov 2026) + +Tip-docs only. **No USB. No Accept.** Intended mirror of Micro Timing +[#2193](https://github.com/repeat98/modwerk/pull/2193) to `repeat98/modwerk` +**not opened**: upstream tip requires `resources.cpuPrice` with +`tool` starting `npm run device:price`. Fork pin has none. mop255 cfmeter +load (287.8/287.8) is **not** a price — do not relabel. Same gate as +Seq Pos MOP-249. + +| Gate | Result | +| --- | --- | +| Fork pin / Keep / qual / cycles | **PASS** (cite mop253–257) | +| Upstream listing PR | **Blocked** — no forged `cpuPrice` | +| Accept invent | none | + +Evidence: +[`evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md`](evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md). diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/README.md b/sdk/octatrack/modules/tempo-lfo/evidence/README.md new file mode 100644 index 0000000000..946afe434d --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/README.md @@ -0,0 +1,68 @@ +# Tempo LFO — evidence hooks + +Self-hosted / USB workers drop real results here. Do not invent Keep, +measured cycles, audible destination, or SETUP OCR Proven. + +| Path | Purpose | +| --- | --- | +| `performance.json` | ColdFire `schema: 1` — static/measured **624**, budget **4790**, load + stress filled (MOP-255) | +| `otemu-cycles-mop255-2026-11-25.md` | MOP-255 ot_emu PC-watch + cfmeter load + ≥60 s stress | +| `qualification-gate-mop256-2026-11-25.md` | MOP-256 A–G honesty; place blocked; catalog **SHUT** | +| `catalog-gate-mop256-2026-11-25.md` | Current catalog-gate stamp (still **SHUT**; ask Jon before pin) | +| `usb-cycles-static-mop213-2026-11-25.md` | Objdump static authored dig (39 → 624) | +| `cycles-performance-plan-mop213-2026-11-25.md` | Recipe for ot_emu / cfmeter fill (B/C done in MOP-255) | +| `qualification-fill-recipe-mop213-2026-11-25.md` | QLR-shaped `tests.qualification` fill hooks (object absent) | +| `catalog-gate-mop213-2026-11-25.md` | Why catalog stays **SHUT** after smoke + static (historical) | +| `catalog-gate-mop226-2026-11-25.md` | Catalog-gate honesty after smoke + static + qual hooks (historical) | +| `catalog-gate-mop250-2026-11-25.md` | Historical catalog-gate stamp (audible + Keep protocols; superseded by mop256) | +| `next-audible-fixture-mop250-2026-11-25.md` | Keep-safe Undo audible WAV protocol (tip-only; USB still Open) | +| `protocol-mop250-keep-usb-2026-11-25.md` | Keep Accept USB protocol — Jon auth recorded 25 Nov; Keep **not** run (parked) | +| `usb-park-mop251-2026-11-25.md` | MOP-251 USB dig parked mid-twin (base update STOP); no WAV / Keep claim | +| `usb-audible-mop252-2026-11-25.md` | MOP-252 Keep-safe Undo audibleProven (onset Δ +764); Undo `[]` | +| `usb-hw-mop253-keep-2026-11-25.md` | MOP-253 Keep of Tempo LFO Accept PASS (inventory) | +| `usb-hw-mop254-reboot-2026-11-25.md` | MOP-254 reboot persistence PASS — Tempo on tip24 after Jon PC | +| `publishability-gates-hub-mop250-2026-11-25.md` | Honest Open/Proven inventory + next lever | +| `usb-smoke-mop205-2026-11-25.md` | Keep-safe SETUP TEMPO + BPM24/words smoke (Undo `[]`) | +| `usb-*-*.md` | Private package digest, base SHA, Undo/Keep outcome | +| `media/` | Twin/unit panel PNGs (store `media/mop205-tempo-lfo-usb/`) | + +**MOP-204:** tip scaffold — catalog **SHUT**; no Accept; no force-list. + +**MOP-205:** USB smoke PASS (SETUP + words/BPM move). Catalog still +**SHUT**; no Accept; not Proven / WAV / cycles. + +**MOP-213:** tip publish gates — static cycles filled; qualification +recipe hooked; measured / WAV / `tests.qualification` place / catalog +still open. No Accept. No Proven invent. + +**MOP-226:** catalog-gate honesty tip — restates smoke + static + qual +hooks do **not** open the pin. Superseded as current stamp by mop250. + +**MOP-250:** audible Undo + Keep-auth protocol tips + gates hub. Catalog +still **SHUT**. No USB dig claimed this tip. No Accept invent. Index **39** +locked. Current stamp `catalog-gate-mop250-2026-11-25.md`. + +**MOP-251:** USB Keep-safe Undo audible **parked** mid-twin when Jon +updated the Modwerk base. Accept auth for TEMPO Keep was given in-session +but **not** used. No WAV A/B, no Undo leave claim, no Keep PASS. Catalog +still **SHUT**. Resume only when Jon says the unit is free. + +**MOP-252:** Keep-safe Undo audible **PASS** (onset Δ **+764**; Undo `[]`). +Keep of Tempo LFO deferred — twin on RAM; **ASK JON PC** to restore tip24 +before Accept. Catalog still **SHUT**. + +**MOP-253:** Keep of Tempo LFO Accept **PASS** on tip24 (self-test + +savedOnCard; companions preserved). Reboot persistence **ASK JON PC**. +Catalog still **SHUT**. + +**MOP-254:** Reboot persistence **PASS** — Tempo LFO present on tip24 after +Jon PC. Catalog still **SHUT** (measured / qual Open). + +**MOP-255:** Measured cycles **624** (matches static); cfmeter load stock/ +module longest ISR **287.8** µs; ≥60 s stress REACHED (hangs 0, dropped 0). +Catalog still **SHUT**. No Accept invent. + +**MOP-256:** Qualification A–G honesty tip — example cycles stub **624** / +budget **4790**; `tests.qualification` still **absent**; place needs Jon +owner review (G). Catalog still **SHUT** — **ask Jon** before any +`sdk/catalog.json` pin. Current stamp `catalog-gate-mop256-2026-11-25.md`. diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop213-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop213-2026-11-25.md new file mode 100644 index 0000000000..d1c9a0bcf6 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop213-2026-11-25.md @@ -0,0 +1,50 @@ +# Catalog gate — MOP-213 TEMPO (honest tip publish advance) + +After mop204 tip scaffold ([#174](https://github.com/jonathanwardle1992-beep/modwerk/pull/174)), +mop205 USB smoke PASS +([usb-smoke-mop205-2026-11-25.md](usb-smoke-mop205-2026-11-25.md) / +[#175](https://github.com/jonathanwardle1992-beep/modwerk/pull/175)), +and mop213 static cycles + qualification hooks. **No** twin / Accept / +lifecycle / `sdk/catalog.json` force-list from this note. Do **not** +invent Proven. + +## Why catalog stays closed + +| Gate | Status | +| --- | --- | +| Contribute / SETUP PMTR=TEMPO (index 39) | Smoke **PASS** under coexist MWMS (mop205); alone dial-max still 30 ABI | +| `tm_on_store` publish → `PROJECT_BPM24` | Smoke **PASS** (words unique 16 / BPM24 unique 25) | +| Audible tempo / WAV A/B vs stock | **Open** — not claimed | +| ColdFire `cycles.static` | **Filled** **624** ([mop213](usb-cycles-static-mop213-2026-11-25.md)); measured / load / stress **null** | +| `tests.qualification` + owner review | **Not started** — recipe [mop213](qualification-fill-recipe-mop213-2026-11-25.md); object absent | +| Configurator / `sdk/catalog.json` | **Must stay absent** | + +USB smoke is not a catalog pin. Static cycles are not measured Proven. +Do not force-list. Hub checklist: +[MOP-113](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#catalog-gate-checklist-mop-113); +publish gates [MOP-213](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-tip-publish-gates-mop-213). +Current catalog-gate honesty stamp: +[MOP-226](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-catalog-gate-honesty-mop-226) +/[catalog-gate-mop226-2026-11-25.md](catalog-gate-mop226-2026-11-25.md). + +## Shared session traps (still required) + +- Prefer coexist MWMS so SETUP hits PMTR **39** — alone dial-max stays **30**. +- Keep-safe Undo only; Undo → `[]`; ASK JON power-cycle before the next twin. +- Do not `holdTrial` before Undo leave (empties inventory — mop205). +- Never Accept / `device lifecycle` during Keep-safe twin work. + +## Honest next publication steps + +1. Host ot_emu PC-watch → `cycles.measured` ([plan](cycles-performance-plan-mop213-2026-11-25.md)). +2. Keep-safe Undo WAV A/B for audible tempo motion. +3. Fill `tests.qualification` per [recipe](qualification-fill-recipe-mop213-2026-11-25.md) + owner review. +4. Catalog pin / migration step 6 only after the above — not this tip. + +## Docs touched + +- `TESTING.md`, `README.md`, `INVESTIGATION.md`, `CHANGELOG.md`, + `octamod.module.json`, `evidence/*`, hub + `docs/OCTATRACK_LFO_PMTR_EXTENSION.md` + +No catalog entry, no public package, no Accept from this note alone. diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop226-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop226-2026-11-25.md new file mode 100644 index 0000000000..249433c5b3 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop226-2026-11-25.md @@ -0,0 +1,54 @@ +# Catalog gate — MOP-226 TEMPO (honest tip after smoke + static + qual hooks) + +Tip-docs only after mop205 USB smoke PASS +([usb-smoke-mop205-2026-11-25.md](usb-smoke-mop205-2026-11-25.md) / +[#175](https://github.com/jonathanwardle1992-beep/modwerk/pull/175)) and +mop213 static cycles + qualification hooks +([catalog-gate-mop213-2026-11-25.md](catalog-gate-mop213-2026-11-25.md) / +[#183](https://github.com/jonathanwardle1992-beep/modwerk/pull/183)). +**No** twin / Accept / lifecycle / `sdk/catalog.json` force-list from this +note. Do **not** invent Proven. Current catalog-gate stamp for TEMPO +(index **39**, outside the nine audible queue). + +## Why catalog stays closed + +| Gate | Status | +| --- | --- | +| Contribute / SETUP PMTR=TEMPO (index 39) | Smoke **PASS** under coexist MWMS (mop205); alone dial-max still 30 ABI | +| `tm_on_store` publish → `PROJECT_BPM24` | Smoke **PASS** (words unique 16 / BPM24 unique 25) | +| Audible tempo / WAV A/B vs stock | **Open** — not claimed | +| ColdFire `cycles.static` | **Filled** **624** ([mop213](usb-cycles-static-mop213-2026-11-25.md)); measured / load / stress **null** | +| `tests.qualification` + owner review | **Not started** — recipe [mop213](qualification-fill-recipe-mop213-2026-11-25.md); object absent | +| Configurator / `sdk/catalog.json` | **Must stay absent** | + +USB smoke is not a catalog pin. Static cycles are not measured Proven. +Qualification hooks are not a placed object. Do not force-list. Hub +checklist: +[MOP-113](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#catalog-gate-checklist-mop-113); +stamp +[MOP-226](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-catalog-gate-honesty-mop-226); +publish gates +[MOP-213](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-tip-publish-gates-mop-213). + +## Shared session traps (still required) + +- Prefer coexist MWMS so SETUP hits PMTR **39** — alone dial-max stays **30**. +- Keep-safe Undo only; Undo → `[]`; ASK JON power-cycle before the next twin. +- Do not `holdTrial` before Undo leave (empties inventory — mop205). +- Never Accept / `device lifecycle` during Keep-safe twin work. + +## Honest next publication steps + +1. Host ot_emu PC-watch → `cycles.measured` ([plan](cycles-performance-plan-mop213-2026-11-25.md)). +2. Keep-safe Undo WAV A/B for audible tempo motion. +3. Fill `tests.qualification` per [recipe](qualification-fill-recipe-mop213-2026-11-25.md) + owner review. +4. Catalog pin / migration step 6 only after the above — not this tip. + +## Docs touched + +- `TESTING.md`, `README.md`, `INVESTIGATION.md`, `CHANGELOG.md`, + `octamod.module.json`, `evidence/*`, hub + `docs/OCTATRACK_LFO_PMTR_EXTENSION.md`, `docs/OCTATRACK_HARDWARE_TRAPS.md`, + app `CHANGELOG.md` + +No catalog entry, no public package, no Accept from this note alone. diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop250-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop250-2026-11-25.md new file mode 100644 index 0000000000..653379d5cd --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop250-2026-11-25.md @@ -0,0 +1,56 @@ +# Catalog gate — MOP-250 TEMPO (honest tip after audible/Keep protocols) + +Tip-docs only after mop205 USB smoke PASS +([usb-smoke-mop205-2026-11-25.md](usb-smoke-mop205-2026-11-25.md) / +[#175](https://github.com/jonathanwardle1992-beep/modwerk/pull/175)), +mop213 static cycles + qualification hooks, mop226 honesty stamp, and +mop250 audible Undo + Keep-auth protocol tips. **No** twin / Accept / +lifecycle / `sdk/catalog.json` force-list from this note. Do **not** +invent Proven. Current catalog-gate stamp for TEMPO (index **39**, +outside the nine audible queue). + +## Why catalog stays closed + +| Gate | Status | +| --- | --- | +| Contribute / SETUP PMTR=TEMPO (index 39) | Smoke **PASS** under coexist MWMS (mop205); alone dial-max still 30 ABI | +| `tm_on_store` publish → `PROJECT_BPM24` | Smoke **PASS** (words unique 16 / BPM24 unique 25) | +| Audible tempo / WAV A/B vs stock | **Open** — protocol tip-ready ([mop250 fixture](next-audible-fixture-mop250-2026-11-25.md)); not claimed | +| Keep of Tempo LFO / Accept | **Open** — protocol tip-ready under Jon auth only ([mop250 Keep](protocol-mop250-keep-usb-2026-11-25.md)); AFK must not `device_keep` | +| ColdFire `cycles.static` | **Filled** **624** ([mop213](usb-cycles-static-mop213-2026-11-25.md)); measured / load / stress **null** | +| `tests.qualification` + owner review | **Not started** — recipe [mop213](qualification-fill-recipe-mop213-2026-11-25.md); object absent | +| Configurator / `sdk/catalog.json` | **Must stay absent** | + +USB smoke is not a catalog pin. Static cycles are not measured Proven. +Audible / Keep protocols are not results. Qualification hooks are not a +placed object. Do not force-list. Hub checklist: +[MOP-113](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#catalog-gate-checklist-mop-113); +stamp +[MOP-250](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-audible-and-keep-tip-mop-250); +prior honesty +[MOP-226](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-catalog-gate-honesty-mop-226). + +## Shared session traps (still required) + +- Prefer coexist MWMS so SETUP hits PMTR **39** — alone dial-max stays **30**. +- Keep-safe Undo only for audible digs; Undo → `[]`; ASK JON power-cycle before the next twin. +- Do not `holdTrial` before Undo leave (empties inventory — mop205). +- Never Accept / `device_keep` / `device lifecycle` during Keep-safe twin work. +- Keep Accept only after **explicit Jon authorization**. + +## Honest next publication steps + +1. Host-free unit → Keep-safe Undo WAV A/B ([fixture](next-audible-fixture-mop250-2026-11-25.md)). +2. Jon Accept auth → Keep USB ([protocol](protocol-mop250-keep-usb-2026-11-25.md)) → reboot. +3. Host ot_emu PC-watch → `cycles.measured` ([plan](cycles-performance-plan-mop213-2026-11-25.md)). +4. Fill `tests.qualification` per [recipe](qualification-fill-recipe-mop213-2026-11-25.md) + owner review. +5. Catalog pin / migration step 6 only after the above — not this tip. + +## Docs touched + +- `TESTING.md`, `README.md`, `INVESTIGATION.md`, `CHANGELOG.md`, + `octamod.module.json`, `evidence/*`, hub + `docs/OCTATRACK_LFO_PMTR_EXTENSION.md`, `docs/OCTATRACK_HARDWARE_TRAPS.md`, + app `CHANGELOG.md` + +No catalog entry, no public package, no Accept from this note alone. diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop255-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop255-2026-11-25.md new file mode 100644 index 0000000000..6c79e0f16f --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop255-2026-11-25.md @@ -0,0 +1,16 @@ +# Catalog gate — still SHUT after measured fill (MOP-255) + +After mop254 reboot + mop255 ot_emu measured/load/stress tip. +Europe/London · 25 November 2026. + +| Gate | State | +| --- | --- | +| Catalog pin / force-list | **SHUT** | +| Accept invent | none | +| Measured cycles | **624** (matches static) — emulator ≠ chip | +| cfmeter load | filled (delta ~0 under flood) | +| ≥60 s stress | REACHED, hangs 0 | +| `tests.qualification` / Proven | still Open | +| WAV / SETUP OCR Proven | unchanged | + +Emulator fill does **not** open the catalog pin. Owner decides pin policy. diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop256-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop256-2026-11-25.md new file mode 100644 index 0000000000..d0430c9336 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-gate-mop256-2026-11-25.md @@ -0,0 +1,15 @@ +# Catalog gate — still SHUT after qual tip audit (MOP-256) + +After mop255 measured fill + mop256 qualification A–G honesty tip. +Europe/London · 25 November 2026. + +| Gate | State | +| --- | --- | +| Catalog pin / force-list / `sdk/catalog.json` | **SHUT** — **ask Jon** before any pin | +| Accept invent | none | +| Measured / load / stress | **Filled** (mop255) — emulator ≠ chip | +| `tests.qualification` | **Absent** — example stub cycles filled; place blocked on owner review (G) | +| Proven invent from tip alone | none | + +Measured + Keep + reboot do **not** open the catalog pin. Owner decides +place (G) and pin policy in separate steps. diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/catalog-pin-mop257-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-pin-mop257-2026-11-25.md new file mode 100644 index 0000000000..f1b08e249f --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/catalog-pin-mop257-2026-11-25.md @@ -0,0 +1,39 @@ +# Catalog pin — MOP-257 Tempo LFO + +Jon AUTHORIZES catalog pin for Tempo LFO together with mop257 +`tests.qualification` place. Tip promote + pin. **No** Accept invent. +**No** Proven invent beyond cited Keep mop253/254 + measured mop255 + +qual place mop257. + +## Citation chain (required) + +| Gate | Cite | +| --- | --- | +| Keep Accept + reboot | [mop253](usb-hw-mop253-keep-2026-11-25.md) / [mop254](usb-hw-mop254-reboot-2026-11-25.md) — package `643b46c3…` / 724 B; tip24 `eb667962…` | +| Measured / load / stress | [mop255](otemu-cycles-mop255-2026-11-25.md) — **624**; load 287.8/287.8; stress REACHED | +| `tests.qualification` place | [mop257](qualification-place-mop257-2026-11-25.md) — budget **4790**; bss **24**; owner-review G | +| Catalog pin auth | Jon AUTHORIZES (MOP-257) | + +## What landed + +1. Promote `sdk/drafts/tempo-lfo/` → `sdk/octabam/modules/tempo-lfo/` +2. Pin `{ id: "tempo-lfo", version: "0.1.0-experimental", addedAt }` in + `sdk/catalog.json` +3. Remove `tempo-lfo` from `drafts:park-check` `LFO_DRAFTS` +4. Place `tests.qualification` under Jon owner review (G) +5. Hub honesty + community release notes for first catalog release + +## What this does **not** claim + +- New Accept / twin / lifecycle +- Linked-image flash/code byte map (still unmeasured) +- Chip wall-clock timing (emulator instruction counts) +- SETUP TEMPO OCR Proven + +## Cross links + +- Place: [`qualification-place-mop257-2026-11-25.md`](qualification-place-mop257-2026-11-25.md) +- Gate: [`qualification-gate-mop256-2026-11-25.md`](qualification-gate-mop256-2026-11-25.md) +- Keep: [`usb-hw-mop253-keep-2026-11-25.md`](usb-hw-mop253-keep-2026-11-25.md) +- Measured: [`otemu-cycles-mop255-2026-11-25.md`](otemu-cycles-mop255-2026-11-25.md) +- Upstream first-release (blocked on `cpuPrice`): [`upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md`](upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md) diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/cycles-performance-plan-mop213-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/cycles-performance-plan-mop213-2026-11-25.md new file mode 100644 index 0000000000..5d506d5a7e --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/cycles-performance-plan-mop213-2026-11-25.md @@ -0,0 +1,62 @@ +# Tempo LFO cycles / performance plan (MOP-213, tip-only) + +After mop205 USB smoke and mop213 static fill. **Docs + static only** — +no twin, no Accept, no invented measured / load / stress. Cite PROB / +SPOS **method shape** only; never copy their integers into TEMPO. + +## Goal + +Fill [`performance.json`](performance.json) as far as honest evidence +allows, then leave remaining nulls until a host with ot_emu + tip-matched +private package can run mop55/mop57-shaped passes. + +## Ordered recipe + +### A. Static (done this tip) + +See [`usb-cycles-static-mop213-2026-11-25.md`](usb-cycles-static-mop213-2026-11-25.md). + +- Assemble `unit.s` with `m68k-*-as -mcpu=54455` +- Objdump; count publish `tm_on_store` + `tm_map_bpm24` +- `cycles.static = authored_worst × 16` +- **Filled:** static **624** (39 × 16) + +### B. Measured (host later — leave null until run) + +PROB shape ([mop55](../../trig-prob/evidence/otemu-cycles-mop55-2026-11-23.md)): + +1. Private tip-matched remix / USB package that links this `unit.s`. +2. `ot_emu --mkii` with `--watch-pc` on every instruction of + `tm_on_store` + `tm_map_bpm24` (PCs from the linked image). +3. Cases: high byte 0 / mid / 127; out-of-range pointer early exit. +4. Worst event authored + compare to static **39**. +5. Write `cycles.measured`; keep method prose bound to the exact image. + +Do **not** invent a measured number to match static. + +### C. Load / stress (host later — leave null) + +cfmeter stock-vs-module under the same flood (mop57 / mop179 shape) and +≥60 s stress without Part `callAsMain` traps. Until then leave +`load.*` / `stress.*` null with honest method text. + +### D. Budget + +Optional once measured exists: `4790` = 10% of 362.8 µs frame at 132 MHz +(same envelope peers cite). Leave **null** until measured is real. + +## Anti-patterns + +| Trap | Why | +| --- | --- | +| Copy PROB 640 / SPOS 752 into TEMPO | Invented; wrong hot path | +| Fill measured = static without PC-watch | Forged Proven | +| Claim `perf:audit` green from static alone | Audit requires measured + load + stress | +| Force-list catalog | Pin stays **SHUT** | + +## Cross links + +- Static dig: [`usb-cycles-static-mop213-2026-11-25.md`](usb-cycles-static-mop213-2026-11-25.md) +- Qual recipe: [`qualification-fill-recipe-mop213-2026-11-25.md`](qualification-fill-recipe-mop213-2026-11-25.md) +- Catalog gate: [`catalog-gate-mop213-2026-11-25.md`](catalog-gate-mop213-2026-11-25.md) +- Hub: [MOP-213](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-tip-publish-gates-mop-213) diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/next-audible-fixture-mop250-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/next-audible-fixture-mop250-2026-11-25.md new file mode 100644 index 0000000000..7bbd97f1a4 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/next-audible-fixture-mop250-2026-11-25.md @@ -0,0 +1,120 @@ +# Next audible fixture — TEMPO Keep-safe Undo (MOP-250, tip-only) + +Host tip after mop205 USB smoke PASS / mop213 static / mop226 catalog-gate +honesty. **Docs only** — no twin boot claimed in this tip, no Accept, no +lifecycle, no `sdk/catalog.json` force-list. Do **not** invent a WAV / +timing delta here. Index **39 TEMPO** stays locked +([allocation](../../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#lfo-pmtr-destination-index-map)). + +## Why this note + +MOP-205 proved SETUP PMTR=TEMPO + PLAY `tm_bpm_w` / `PROJECT_BPM24` word +motion under coexist MWMS. MOP-213 filled `cycles.static` **624**. MOP-226 +restated catalog **SHUT**. **Word publish is not an audible claim.** This +note is the concrete Keep-safe Undo audible protocol for TEMPO (outside +audible queue #1–#9) — preflight peeks, fixture steps, WAV compare plan, +and twin-trap notes — ready for a later USB worker when the unit is free. + +Pipeline (SPOS mop245–248 / MT mop230–240 pattern): +**audible Undo → Keep Accept → reboot → cycles.measured → qual → catalog.** +This tip covers **audible Undo readiness only**. Keep Accept needs +**explicit Jon auth** ([protocol](protocol-mop250-keep-usb-2026-11-25.md)) — +AFK must **not** `device_keep`. + +## Keep-safe Undo envelope (every TEMPO audible session) + +1. **Confirm Keep before twin:** Identify tip24 Keep (or SHA Jon names), + inventory named count, Screen Off + Mute Modes present, nothing missing. +2. RAM `--dev` Undo twin of tip-matched private `tempo-lfo` package **inside + a coexist MWMS that includes TEMPO** so dial reaches **39** (alone + dial-max stays **30** ABI — mop205). +3. **Never** Accept / lifecycle / `device_keep` / `device lifecycle` on the + twin (accidental Accept wiped Keep — MOP-67, MOP-74). +4. Complete peeks + captures (below), then Undo → inventory `[]`. +5. **ASK JON power-cycle** before the next twin **or** before judging Keep + soft — restore tip24 companions first. +6. Do **not** `holdTrial` before Undo leave (empties inventory — mop205). + +**Twin trap (MOP-76):** a RAM twin without Screen Off makes `UP+NO` look +soft until Keep returns. Soft chord on twin is expected residue, not a +Keep / Mute Modes clash. See +[`docs/OCTATRACK_HARDWARE_TRAPS.md`](../../../../docs/OCTATRACK_HARDWARE_TRAPS.md). + +## Preflight peeks (must pass before any energy claim) + +Sites match mop205 smoke; do **not** treat them as audible proof. + +| Check | Site / counter | Pass rule | +| --- | --- | --- | +| Keep preflight | Identify + inventory | Keep base; named count; Screen Off + Mute Modes; nothing missing | +| Contribute index | SETUP PMTR | Coexist hits **39** (`TEMPO`); alone may still dial-max **30** | +| after_store | `tm_lfo_pmtr.after_store` | non-NULL → `tm_on_store` | +| Words live | `tm_bpm_w` / `wordsPtr` | under PLAY, unique halfword samples move (mop205: T1 unique **16**) | +| Publish BPM | `PROJECT_BPM24` `0x8000181c` | under PLAY, unique samples move (mop205: unique **25**, ≈30–163 BPM) | +| Dirty marks | `tm_dirty[track]` | non-zero while LFO drives that track’s TEMPO word | +| Store ownership | `0x4000d07a` | base `mw_lfo_pmtr_store` only — **no** private dest-store detour | +| Screen Off | warn Jon | twin without Screen Off softs UP+NO until Keep returns (MOP-76) | + +If preflight fails, stop — do not compare WAVs or claim tempo motion. + +## Candidate fixture (when twin is allowed) + +Prefer a **clear rhythm** so BPM motion is heard as grid speed change — +silence-only is insufficient (qualification recipe). + +1. Keep-safe inventory check; tip-matched `tempo-lfo` in coexist MWMS + (PROB…TEMPO or current tip-matched set that still leaves TEMPO + reachable at dial **39**). +2. T1 = clear even grid (FLEX/STATIC short hit). Set a known project BPM + with the TEMPO key (e.g. 120) so DEP=0 remains the reference. +3. LFO SETUP → **PMTR = TEMPO**; WAVE TRI or SQR; DEP low vs high (or + HOLD extremes); TRIG FREE or HOLD. Leave other tracks quiet. +4. Capture under matched PLAY length / LEVEL / track speed: + - USB MAIN (and T1 channels if available) + - Still frames: SETUP PMTR=TEMPO, TEMPO key BPM, WAVE/DEP +5. Record peak / envelope / onset-timing / perceived BPM tables honestly for: + - **A** stock / DEP≈0 (or PMTR away from TEMPO) + - **B** high DEP / extreme TEMPO window +6. A null or near-null audible delta is a **valid** result — write it; do + not invent movement. Word peeks already proven in mop205 do not + substitute. +7. Undo → `[]`. Leave unit for Keep restore (power-cycle if twin softed + Screen Off). + +### WAV compare plan (honest) + +| Pair | Intent | Claim rule | +| --- | --- | --- | +| A vs B (same grid, matched length) | Hear / measure grid speed change when TEMPO LFO depth moves | Only after preflight peeks pass | +| Module twin vs stock (no tempo-lfo) | Same pattern + TEMPO key; confirm module path, not menu alone | Separate Undo sessions; never Accept | +| Peak-only MAIN | Useful sanity, **not** enough alone | Timing / BPM colour must be stated honestly; null peaks OK | + +Do **not** relabel mop205 `tm_bpm_w` / `PROJECT_BPM24` unique counts as +audible tempo energy. + +## What does **not** count + +- `tm_bpm_w` / `PROJECT_BPM24` publish alone (already mop205). +- Emulator-only timing / ot_emu without host WAV plan. +- Catalog pin / elemod / Accept / lifecycle / `device_keep`. +- Forcing `sdk/catalog.json` (MOP-226 / mop250 gates still closed). +- Inventing Keep Accept or Proven from this tip. + +## Auth / stop for Jon + +| Gate | AFK tip | Needs Jon | +| --- | --- | --- | +| Audible Keep-safe Undo USB | Protocol tip-ready | Unit free + twin allowed | +| Keep Accept / `device_keep` | Protocol tip-ready only | **Explicit Accept auth** — do not invent | +| Power-cycle after twin / Keep | Ask note only | Physical PC | +| Catalog pin | **SHUT** | Separate authorization | + +## Cross links + +- Smoke: [`usb-smoke-mop205-2026-11-25.md`](usb-smoke-mop205-2026-11-25.md) +- Static / qual hooks: mop213 evidence set +- Catalog ceiling: [`catalog-gate-mop250-2026-11-25.md`](catalog-gate-mop250-2026-11-25.md) +- Gates hub: [`publishability-gates-hub-mop250-2026-11-25.md`](publishability-gates-hub-mop250-2026-11-25.md) +- Keep Accept (auth-only): [`protocol-mop250-keep-usb-2026-11-25.md`](protocol-mop250-keep-usb-2026-11-25.md) +- Soft UP+NO: MOP-76 / `docs/OCTATRACK_HARDWARE_TRAPS.md` +- Peer fixture style: `swing-lfo` MOP-103 next-audible plan diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/otemu-cycles-mop255-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/otemu-cycles-mop255-2026-11-25.md new file mode 100644 index 0000000000..dbe53bbf20 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/otemu-cycles-mop255-2026-11-25.md @@ -0,0 +1,70 @@ +# Tempo LFO measured cycles / load / stress — PASS (MOP-255, 25 Nov 2026) + +After mop254 reboot PASS + tip #221 merge (`f77df562e`). Catalog **SHUT**. +Index **39** locked. No Accept. No catalog invent/pin. Private dig only +(`modwerk-builds/mop255-tempo-cycles-measured/`); not a shipping remix. + +Europe/London · 25 November 2026. + +## Identify + +| Field | Value | +| --- | --- | +| Host tip | post-#221 `f77df562e` | +| Private remix | `test/tempo-lfo` BUILD=`T5` (linked `sdk/drafts/tempo-lfo/unit.s`) | +| Linked symbols | `tm_on_store` `0x40a9573a`, `tm_map_bpm24` `0x40a956ac`, `tm_bpm_w` `0x40a977bc` | +| Watch | 43 PCs (`tm_on_store` + `tm_map_bpm24`) | +| Trampoline | `0x40a98000` callAsMain (poke high-byte → push `&tm_bpm_w[0]` → jsr) | +| Catalog | **SHUT** | + +## Measured (PC-watch) + +| Case | Events | Segment authored (worst) | ×16 cycles | REACHED | +| --- | --- | --- | --- | --- | +| high 0 | 8 | **39** | **624** | yes | +| high 64 | 8 | **39** | **624** | yes | +| high 127 | 8 | **39** | **624** | yes | +| OOR (`tm_bpm_w-2`) | 8 | **9** | **144** | yes | + +`cycles.measured = 624` (matches static). Emulator instruction counts ≠ +chip wall-clock. + +## Load (cfmeter stock vs module) + +| Image | Longest ISR µs (k=4) | Idle median % | +| --- | --- | --- | +| `test/cfmeter-port` (stock) | **287.8** | 0.0 | +| `test/cfmeter-tempo-lfo` | **287.8** | 0.0 | + +Same mop179 `load.midi` / CFMLOAD card / `--watch-mem 0x80000a40,6`. TEMPO +did not add measurable frame-ISR under this flood (store-driven path). Idle +0.0 is dense-flood saturation (mop179 CFMLOAD shape), not a free-frame claim. + +## Stress (≥60 s) + +| Field | Value | +| --- | --- | +| Image | `test/cfmeter-tempo-lfo` BUILD=`T5` | +| Frames | **170887** REACHED | +| Flood | ~3000.1 msg/s · clock 240 BPM · 62 s | +| MIDI queue end | **0** | +| Hangs / ILLEGAL | **0** / none | +| Part `callAsMain` | **not used** | +| stuckNotes | null (not scored) | + +## Budget + +`cycles.budget = 4790` — 10% of 362.8 µs frame at 132 MHz (peer cite +envelope). Measured 624 sits well under; not a hard per-event ceiling. + +## Verdict + +Measured matches static; load delta ~0 under this flood; stress REACHED +clean. Catalog pin remains **SHUT** (qual / Proven / Accept still Open). + +## Anti-claims + +- No Accept invent / no Keep this dig +- No catalog pin / force-list +- No Proven invent from emulator alone +- Private remix / bus images stay off Git diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/performance.json b/sdk/octatrack/modules/tempo-lfo/evidence/performance.json new file mode 100644 index 0000000000..ab73ab5fca --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/performance.json @@ -0,0 +1,30 @@ +{ + "schema": 1, + "module": "tempo-lfo", + "version": "0.1.0-experimental", + "kind": "coldfire", + "cycles": { + "unit": "cycles/event", + "static": 624, + "measured": 624, + "budget": 4790, + "method": "Static (MOP-213): 39 authored ×16 V4 = 624. Measured (MOP-255): private test/tempo-lfo remix BUILD=T5 under ot_emu --watch-pc on linked tm_on_store + tm_map_bpm24 (43 PCs); trampoline callAsMain at 0x40a98000 with high-byte 0/64/127 into tm_bpm_w[0] — 8/8 segments authored 39 → 624 cycles (matches static). OOR pointer (tm_bpm_w-2) early exit authored 9 → 144. Emulator instruction counts ≠ chip timing. Budget 4790 = 10% of 362.8 µs frame at 132 MHz (peer cite envelope; not a hard ceiling)." + }, + "load": { + "frameUs": 362.8, + "stockLongestUs": 287.8, + "moduleLongestUs": 287.8, + "stockIdlePercent": 0, + "moduleIdlePercent": 0, + "method": "MOP-255 cfmeter.py shape: ot_emu --dsp --watch-mem 0x80000a40,6; stock test/cfmeter-port vs module test/cfmeter-tempo-lfo (BUILD=T5) under identical mop179 load.midi flood on CFMLOAD card; page-2 publisher decode (N/REF/k). Longest ISR slot (k=4) 287.8 µs both images — TEMPO is LFO-store-driven and did not add measurable frame-ISR under this flood. Idle median 0.0 under dense flood (same CFMLOAD saturation shape as mop179). Emulator ≠ chip." + }, + "stress": { + "floodMessagesPerSecond": 3000.1, + "clockBpm": 240, + "seconds": 62, + "stuckNotes": 0, + "hangs": 0, + "dropped": 0, + "droppedExplanation": "MOP-255: ≥60 s ot_emu --dsp on cfmeter-tempo-lfo BUILD=T5; mop179 stress.midi (186008 three-byte + 5952 clocks); frames 170887 REACHED; midi queue 0 at end; no ILLEGAL; no Part callAsMain. stuckNotes not scored (no note-on accounting in this flood). Catalog SHUT." + } +} diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/protocol-mop250-keep-usb-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/protocol-mop250-keep-usb-2026-11-25.md new file mode 100644 index 0000000000..aca1e27a63 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/protocol-mop250-keep-usb-2026-11-25.md @@ -0,0 +1,86 @@ +# Keep of Tempo LFO — USB protocol (MOP-250 tip) + +Tip-only sheet. Catalog **SHUT**. **Do not run** during Keep-safe Undo +AFK digs. **Do not** invent Proven. Execute only after Jon explicitly +authorizes an Accept / `device_keep` session for this package. + +Prior behavioural digs (Undo-only) are **PASS** where cited and are +**not** Keep: mop205 USB smoke (SETUP TEMPO + words/BPM24). Audible WAV +is still **Open** ([fixture](next-audible-fixture-mop250-2026-11-25.md)). +Keep tip24 restore after Undo digs is **not** Keep of Tempo LFO. + +## Why this sheet exists + +Catalog stays closed while **Keep of Tempo LFO** is **Open**. FRONTEND_MCP +already defines review → trial → self-test → `device_keep` vs +`device_undo`. HARDWARE_TRAPS already warns that Accept on an empty +`--dev` twin can rewrite the card set. Micro Timing mop228→229→230 and +Seq Pos mop244→245→247 showed the same envelope (tip protocol → Open +abort without auth → PASS only after Jon Accept → reboot). This sheet +binds those published rules to Tempo LFO **without inventing that Keep +already ran** and **without inventing Accept authorization**. + +**Accept auth (25 Nov 2026 Europe/London):** Jon authorized Accept / +`device_keep` for **TEMPO Keep only**. Keep inventory **PASS** +([mop253](usb-hw-mop253-keep-2026-11-25.md)); reboot persistence **PASS** +([mop254](usb-hw-mop254-reboot-2026-11-25.md)). Never use `device lifecycle` +accident paths. Do **not** invent catalog from Keep alone. + +## Envelope (authorized Keep session only) + +| Check | Rule | +| --- | --- | +| Jon authorization | Explicit Accept/Keep for Tempo LFO — not implied by AFK Undo dig, mop205 smoke, mop250 tip, or tip24 idle | +| Tip package | Rebuild tip-matched private package from exact tip under test (mop205 smoke used `643b46c3…` / 500 B — re-hash after tip moves) | +| Self-test | Actual passed device self-test on the trial — required before Keep | +| Accept path | Explicit `device_keep` only — never `device lifecycle` accident | +| Catalog / Proven invent | **SHUT** / none | + +## Keep tip24 vs Keep of Tempo LFO + +| Concept | Meaning | +| --- | --- | +| Keep tip24 | Production base `eb667962…` (or SHA Jon names), Screen Off + Mute Modes — restore via power-cycle after Undo digs | +| Keep of Tempo LFO | Card set **retains** the tip-matched Tempo LFO package after an explicit Keep of a reviewed trial | + +Confusing the two forges Proven. mop205 Undo left tip24 path intact and +did **not** Keep Tempo LFO. + +## Ordered steps (when authorized) + +1. **Preflight with Jon.** Confirm which card inventory must survive + (tip24 companions vs intentional empty / replacement). Do not invent + a companion allowlist. Record the named baseline. +2. **Tip-matched package.** Build or reuse the exact tip commit package; + record digest + byte length in evidence. +3. **`device_review`** of the module set that includes Tempo LFO (and only + the companions Jon named). Prefer coexist so SETUP can hit PMTR **39**. +4. **`device_trial`** within the review window; require **actual** passed + self-test. Mid-trial LCD may show TEMPO / PMTR 39 (already smoke-PASS + on Undo twins — do not re-claim as Keep). +5. **Explicit `device_keep`.** Use the trial token; refuse if identity + changed. Do **not** call lifecycle Accept helpers. +6. **Inventory after Keep.** Confirm Tempo LFO is present on the saved + set. Record before/after inventory host-local (never commit Keep dumps). +7. **Physical reboot persistence** (separate check). Power-cycle; confirm + Tempo LFO still present. Emulator / Undo dig ≠ reboot Keep. +8. **Evidence.** Write `usb-hw-*-keep-*.md` + frames under `media/` with + provenance. Catalog pin stays **SHUT** until audible / measured / + pin-bound qual also clear + ([gates hub](publishability-gates-hub-mop250-2026-11-25.md)). + +## Abort / honest miss + +| Condition | Action | +| --- | --- | +| No Jon Accept auth | **Stop** — tip-ready only; leave Open | +| Self-test fail | Undo; do not Keep; write miss | +| Identity drift mid-trial | Abort; do not Keep | +| AFK temptation | Prefer Undo leave → `[]` + ASK JON PC | + +## Cross links + +- Audible Undo fixture: [`next-audible-fixture-mop250-2026-11-25.md`](next-audible-fixture-mop250-2026-11-25.md) +- Gates hub: [`publishability-gates-hub-mop250-2026-11-25.md`](publishability-gates-hub-mop250-2026-11-25.md) +- Catalog ceiling: [`catalog-gate-mop250-2026-11-25.md`](catalog-gate-mop250-2026-11-25.md) +- Pattern: MT mop228 / SPOS mop244 Keep USB protocols diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/publishability-gates-hub-mop250-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/publishability-gates-hub-mop250-2026-11-25.md new file mode 100644 index 0000000000..ca3248b5bd --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/publishability-gates-hub-mop250-2026-11-25.md @@ -0,0 +1,31 @@ +# Tempo LFO publishability gates hub — through MOP-257 + +Tip-docs inventory. Index **39 TEMPO** locked. Catalog **PINNED** +(mop257). Pattern: SPOS / MT (audible Undo → Keep → reboot → cycles → +qual → catalog). + +## Honest Open / Proven + +| Gate | State | Cite | +| --- | --- | --- | +| Tip scaffold (contribute TEMPO=39) | **Proven** (source) | mop204 | +| USB smoke SETUP + words/BPM24 | **Proven** (smoke) | mop205 | +| ColdFire `cycles.static` | **Proven** (static) | mop213 — **624** | +| Audible WAV A/B Keep-safe Undo | **Proven** | [mop252](usb-audible-mop252-2026-11-25.md) | +| Keep of Tempo LFO / Accept | **Proven** | [mop253](usb-hw-mop253-keep-2026-11-25.md) | +| Reboot persistence after Keep | **Proven** | [mop254](usb-hw-mop254-reboot-2026-11-25.md) | +| `cycles.measured` / load / stress | **Filled** | [mop255](otemu-cycles-mop255-2026-11-25.md) — **624** | +| `tests.qualification` place + owner review | **Placed** | [mop257](qualification-place-mop257-2026-11-25.md) | +| `sdk/catalog.json` pin | **PINNED** | [mop257](catalog-pin-mop257-2026-11-25.md) | + +## Remaining gaps (honest) + +- SETUP TEMPO OCR Proven +- Linked-image flash/code byte map +- Chip wall-clock timing (emulator ≠ chip) +- Eight-track hardware stress with three LFOs on TEMPO (emulator stress only) + +## Cross links + +- Place: [`qualification-place-mop257-2026-11-25.md`](qualification-place-mop257-2026-11-25.md) +- Pin: [`catalog-pin-mop257-2026-11-25.md`](catalog-pin-mop257-2026-11-25.md) diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/qualification-fill-recipe-mop213-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/qualification-fill-recipe-mop213-2026-11-25.md new file mode 100644 index 0000000000..e8ff5ba0cd --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/qualification-fill-recipe-mop213-2026-11-25.md @@ -0,0 +1,107 @@ +# Qualification stub fill recipe (MOP-213, tip-only) + +After mop205 USB smoke PASS and mop213 static cycles. Hub checklist: +[MOP-113](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#catalog-gate-checklist-mop-113). +**Docs only** — no USB twin, no Accept, no lifecycle, no +`sdk/catalog.json` force-list. Do **not** invent cycle measured, memory +package totals, hardware pass marks, WAV, or readiness. Leave +`tests.qualification` **absent** from the manifest until A–G are honest. + +Cite QLR / SPOS mop176 **structure** only — never copy their numbers. + +## Why this note + +Publishability after smoke needs a ColdFire-shaped fill path for later +owner review. Smoke ≠ qualification ≠ catalog pin. Static cycles ≠ +measured. This sheet is the hook; filling it later is a separate dig. + +## Anti-patterns (never) + +| Trap | Why it fails | +| --- | --- | +| Copy [`../qualification.example.json`](../qualification.example.json) DSP fields into the manifest | Example stays a scaffold; TEMPO is ColdFire-only | +| Fill nulls with zeros / peer integers | Invented measurements | +| Place `tests.qualification` before reports exist | Incomplete records fail publication | +| Treat mop205 smoke as hardware stress / Proven | Smoke is SETUP + words/BPM peeks only | +| Use mop205 twin digest alone as `imageSha256` | Qualification image is the local stress/functional image | +| Force-list `sdk/catalog.json` | Pin stays **SHUT** | + +## Ordered recipe (leave object absent until A–G are honest) + +### A. Preconditions + +1. `tests.report` → `TESTING.md`; evidence sheets declared. +2. `tests.evidenceRevision` will name the exact tested source commit. +3. Cycles: static filled ([mop213 static](usb-cycles-static-mop213-2026-11-25.md)); measured / load / stress filled ([mop255](otemu-cycles-mop255-2026-11-25.md)). +4. Screenshots: mop205 SETUP PNG may be listed; OCR / tutorial still open. +5. No twin / Accept / lifecycle from this tip. + +### B. Identity (cite; fill only when known) + +```sh +node --input-type=module - <<'JS' +import { readFile } from 'node:fs/promises' +import { resolve } from 'node:path' +import { parseModuleDocument } from './src/catalog/module-contract.ts' +import { moduleNativeSourceSha256 } from './scripts/module-qualification.mjs' +const folder = resolve('sdk/drafts/tempo-lfo') +const document = parseModuleDocument(JSON.parse(await readFile(resolve(folder, 'octamod.module.json'), 'utf8'))) +console.log(await moduleNativeSourceSha256(folder, document)) +JS +``` + +| Field | Fill rule | +| --- | --- | +| `moduleVersion` | Manifest version at publication | +| `sourceSha256` | Command above — never invent | +| `imageSha256` | Local image the **hardware** report used — not mop205 twin digest alone | +| `tests.evidenceRevision` | Exact Git commit of the tested source tree | + +### C. `cycles[]` — one **coldfire** record (no DSP) + +| Rule | Detail | +| --- | --- | +| Count | Exactly one: `processor: "coldfire"` | +| Unit | `cycles/event` | +| Method | Point at [`performance.json`](performance.json); static **624**; measured **624** (mop255) | +| Conditions | TEMPO endpoints: high byte 0/64/127; DEP; WAVE; eight tracks last-writer; out-of-range pointer | +| Report | `TESTING.md` | + +### D. Memory regions (named; totals when measured) + +Authored `.bss` from `unit.s`: `tm_bpm_w` 16 + `tm_dirty` 8 = **24** bytes +(source-visible). Package / flash / shared totals stay **null** until a +linked image accounts them. Named regions for the example scaffold: +`cpu-flash` (unit text+data), `cpu-ram` (bss shadows). No DSP. + +### E. Hardware functional (QLR shape; mop205 ≠ stress) + +Functional prose may **cite** mop205 smoke (dial 39 / SETUP TEMPO / +words+BPM24 move / Undo `[]`) as prior evidence only. Stress / +persistence / multi-instance remain **untested**. Checks stay failed / +pending until a real report. + +### F. Documentation / screenshots + +Tutorial steps already in presentation. SETUP panel PNG retained under +store `media/mop205-tempo-lfo-usb/` — list only when path is in-repo or +declared; do not invent OCR Proven. + +### G. Place `tests.qualification` + owner review + +Only after A–F are honest and an owner (or scoped author) reviews. +Until then the object stays **absent**. **MOP-256** audited A–G and +**stops for Jon** — example stub filled; place not authorized from tip +alone ([gate](qualification-gate-mop256-2026-11-25.md)). Catalog pin +remains **SHUT** even after place — migration step 6 is separate; **ask +Jon** before any `sdk/catalog.json` edit. + +## Cross links + +- Static: [`usb-cycles-static-mop213-2026-11-25.md`](usb-cycles-static-mop213-2026-11-25.md) +- Cycles plan: [`cycles-performance-plan-mop213-2026-11-25.md`](cycles-performance-plan-mop213-2026-11-25.md) +- Catalog gate: [`catalog-gate-mop213-2026-11-25.md`](catalog-gate-mop213-2026-11-25.md) +- Smoke: [`usb-smoke-mop205-2026-11-25.md`](usb-smoke-mop205-2026-11-25.md) +- Field reference: [MODULE_QUALIFICATION.md](../../../../docs/MODULE_QUALIFICATION.md) +- Hub: [MOP-213](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-tip-publish-gates-mop-213) +- SPOS recipe structure (cite only): [`../../seq-pos/evidence/qualification-fill-recipe-mop176-2026-11-24.md`](../../seq-pos/evidence/qualification-fill-recipe-mop176-2026-11-24.md) diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/qualification-gate-mop256-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/qualification-gate-mop256-2026-11-25.md new file mode 100644 index 0000000000..ae2acccd2c --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/qualification-gate-mop256-2026-11-25.md @@ -0,0 +1,77 @@ +# Qualification publish gate — MOP-256 Tempo LFO + +Tip-only after mop254 Keep reboot **PASS** and mop255 measured / load / +stress **PASS** ([#222](https://github.com/jonathanwardle1992-beep/modwerk/pull/222)). +**No** twin / Accept / lifecycle / `sdk/catalog.json` force-list from this +note. Do **not** invent Proven, qualification readiness, or a catalog pin. + +Lineage: mop205 USB smoke → mop213 static **624** + qual recipe → mop226 / +mop250 catalog honesty → mop252 audible Undo → mop253 Keep Accept → +mop254 reboot → mop255 measured **624** + load/stress → **this gate**. + +## Proven vs Open (cite only — no invent) + +| Gate | Status | +| --- | --- | +| Tip scaffold TEMPO=39 | **Proven** (source) — mop204 | +| USB smoke SETUP + words/BPM24 | **Proven** (smoke) — mop205 | +| Audible WAV A/B Keep-safe Undo | **Proven** — mop252 (onset Δ +764; Undo `[]`) | +| Keep of Tempo LFO Accept | **Proven** — mop253 | +| Reboot persistence | **Proven** — mop254 | +| ColdFire `cycles.static` | **Filled** **624** — mop213 | +| `cycles.measured` / load / ≥60 s stress | **Filled** — mop255 measured **624**; load 287.8/287.8; stress REACHED — [otemu-cycles-mop255](otemu-cycles-mop255-2026-11-25.md) / [`performance.json`](performance.json) | +| `tests.qualification` + owner review | **Open (absent)** — A–G audited below; place **blocked** | +| Configurator / `sdk/catalog.json` | **SHUT** | + +Keep PASS ≠ qualification place. Measured fill ≠ qualification place. +Do not force-list. + +## MOP-256 fill audit (recipe A–G) + +Ordered audit citing only Proven / Filled gates. Tip-only AFK. + +| Step | Status | Honest result | +| --- | --- | --- | +| A. Preconditions | **Ready to cite** | `TESTING.md` + evidence sheets; static **624**; measured **624** + load/stress; SETUP PNG under store `media/mop205-tempo-lfo-usb/` (declared, not OCR Proven) | +| B. Identity | **Partially ready — blocks place** | `sourceSha256` computable from tree (`a7b2f589…` tip-time); `imageSha256` may cite private mop255 `tempo-lfo-bus.bin` `158c4d65…` (ot_emu measured image) or Keep tip24 package — **not** mop205 twin alone; private bus stays off Git; `evidenceRevision` needs exact tip commit at place | +| C. ColdFire `cycles[]` | **Numbers known (example stub)** | One `processor: "coldfire"`; unit `cycles/event`; worstCase **624** (cite mop255); static **624** (cite mop213); method → [`performance.json`](performance.json); budget **4790** (peer 10% frame cite; already in performance.json) | +| D. Memory regions | **Named / flash tip-wired Open — soft-blocks place** | Authored `.bss` **24** B (`tm_bpm_w` 16 + `tm_dirty` 8) source-visible; private compose logged **474** B TEMPO code+data — tip-cite only, not in-repo linked totals; package / shared publication totals stay careful | +| E. Hardware functional | **Cite prior; checks Open — blocks place** | Functional prose may **cite** mop205 smoke, mop252 audible, mop253 Keep, mop254 reboot, mop255 stress — checks stay failed/pending until a real qualification report / owner functional fill | +| F. Documentation / screenshots | **Paths declared** | Tutorial steps in presentation; SETUP panel PNG in store media — list only declared paths; do not invent OCR Proven | +| G. Place + owner review | **Blocked — stop for Jon** | Recipe requires owner (or scoped author) review before place. This tip does **not** invent that review. Object stays **absent**. Catalog still **SHUT**. | + +### Verdict + +| Question | Answer | +| --- | --- | +| Place `tests.qualification` in `octamod.module.json`? | **No** — owner-review gate (G) + Open E / place identity binding | +| Fill `qualification.example.json` cycles stub? | **Yes** — ColdFire record from mop255 **624**; budget **4790**; memory bss **24**; hardware **pending**; identity placeholders filled where known | +| Invented Proven / Accept / measured / catalog pin? | **No** | +| Catalog force-list / `sdk/catalog.json` edit? | **No** — **ask Jon** before any pin | +| Stop for Jon? | **Yes** — needs owner review (G) before place; separate auth before catalog pin | + +## Why catalog stays SHUT + +Keep cleared mop253/254. Measured / load / stress cleared mop255. Remaining +publication blockers named here: + +1. **`tests.qualification`** — recipe A–G audited; place **blocked** until + owner (or scoped author) reviews (G) and functional checks are honest. +2. **Catalog pin** — separate Jon auth; never this tip. + +## What this tip does **not** authorize + +- Placing `tests.qualification` or inventing qualification Proven +- Any edit to `sdk/catalog.json` / force-list / migrate out of drafts +- AFK Accept / `device_keep` / lifecycle +- Inventing OCR Proven / hardware check pass marks / owner review + +**Ask Jon** before place (G) and before any catalog pin. + +## Cross links + +- Recipe: [`qualification-fill-recipe-mop213-2026-11-25.md`](qualification-fill-recipe-mop213-2026-11-25.md) +- Measured dig: [`otemu-cycles-mop255-2026-11-25.md`](otemu-cycles-mop255-2026-11-25.md) +- Gates hub: [`publishability-gates-hub-mop250-2026-11-25.md`](publishability-gates-hub-mop250-2026-11-25.md) +- Catalog gate: [`catalog-gate-mop256-2026-11-25.md`](catalog-gate-mop256-2026-11-25.md) +- Field reference: [MODULE_QUALIFICATION.md](../../../../docs/MODULE_QUALIFICATION.md) diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/qualification-place-mop257-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/qualification-place-mop257-2026-11-25.md new file mode 100644 index 0000000000..5622010dfb --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/qualification-place-mop257-2026-11-25.md @@ -0,0 +1,31 @@ +# Place `tests.qualification` (MOP-257 — mop256 recipe §G) + +Jon-authorized **owner review (G)** after mop256 stop. Combined with +catalog pin auth on the same tip. **No** Accept invent. **No** Proven +invent beyond cited Keep mop253/254, measured **624** mop255, and +authored `.bss` **24**. + +Cite recipe A–G in +[`qualification-fill-recipe-mop213-2026-11-25.md`](qualification-fill-recipe-mop213-2026-11-25.md) +and +[`qualification-gate-mop256-2026-11-25.md`](qualification-gate-mop256-2026-11-25.md). + +## A–G (this place) + +| Step | Result | +| --- | --- | +| A Preconditions | Ready — `TESTING.md` + evidence; static/measured **624** + load/stress; hardware PNGs in `media/` | +| B Identity | **Filled** — `sourceSha256` `a7b2f589…`; `imageSha256` = Keep tip package `643b46c3…` (mop205/253 Proven; QLR/USB-package binding); `evidenceRevision` = tip git SHA `2423e32b3…` (post-mop256) | +| C ColdFire cycles | **Filled** — worstCase/maxConfiguration **624**; method emulator → [`performance.json`](performance.json) | +| Budget | **Owner-reviewed** — **4790** = 10% of 362.8 µs frame @ 132 MHz (peer cite). Measured **624** < **4790** | +| D Memory | **Filled from Proven named sizes** — authored `.bss` **24** B sharedBytes. Package file **724** B cited as Keep digest size only — **not** tip-wired as linked-image flash | +| E Hardware functional | **Filled** — `kind: "functional"` / `status: "reported"` citing mop205–254 USB digs + mop255 emulator stress/load | +| F Docs / screenshots | Paths in-repo (`media/ot-setup-pmtr-tempo.png`, `ot-pmtr-tempo.png`, `ot-lfo-page-tempo.png`) | +| G Place + owner review | **Placed** — Jon AUTHORIZES owner-review (G). Object in `octamod.module.json` | + +## Cross links + +- Gate (prior stop): [`qualification-gate-mop256-2026-11-25.md`](qualification-gate-mop256-2026-11-25.md) +- Pin: [`catalog-pin-mop257-2026-11-25.md`](catalog-pin-mop257-2026-11-25.md) +- Measured: [`otemu-cycles-mop255-2026-11-25.md`](otemu-cycles-mop255-2026-11-25.md) +- Keep: [`usb-hw-mop253-keep-2026-11-25.md`](usb-hw-mop253-keep-2026-11-25.md) diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md b/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md new file mode 100644 index 0000000000..829849cde6 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md @@ -0,0 +1,29 @@ +# Upstream first-release staging — `cpuPrice` + `.mwrm` (MOP-273) + +Europe/London · 26 November 2026. **No USB. No Accept invent. No forged `cpuPrice`.** + +## Status + +| Item | State | +| --- | --- | +| Staging branch | `cursor/tempo-lfo-publish-a318` off `repeat98/modwerk` `main` | +| Module + fork-cite qual + catalog pin | **Staged** under `sdk/octatrack/modules/tempo-lfo/` | +| USB `.mwrm` / packages row | **Missing** — Keep tip `643b46c3…` / 724 B needs rebuild (no stock/m68k here) | +| `resources.cpuPrice` (`npm run device:price`) | **Missing** — mop255 cfmeter must not be relabeled | +| Owner first-release PR | **Not opened** | + +See [`../STAGING.md`](../STAGING.md) for the resume checklist. + +## Resume (Undo-only when unit free) + +1. Rebuild/ship USB `.mwrm` (title-variant honesty vs Keep `643b46c3…` as #2193). +2. `npm run device:price -- --write … tempo-lfo` (MOP-274 TCP serve). +3. `modules:generate`; doctor; `modules:check -- --base upstream/main`. +4. Open PR to `repeat98/modwerk`. **Do not merge.** + +## Cross links + +- MT pattern: https://github.com/repeat98/modwerk/pull/2193 +- Fork tip honesty: https://github.com/jonathanwardle1992-beep/modwerk/pull/239 +- Keep: [`usb-hw-mop253-keep-2026-11-25.md`](usb-hw-mop253-keep-2026-11-25.md) +- Measured (not a price): [`otemu-cycles-mop255-2026-11-25.md`](otemu-cycles-mop255-2026-11-25.md) diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/usb-audible-mop252-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/usb-audible-mop252-2026-11-25.md new file mode 100644 index 0000000000..b9d20c56e5 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/usb-audible-mop252-2026-11-25.md @@ -0,0 +1,56 @@ +# USB audible TEMPO — MOP-252 Keep-safe Undo WAV A/B (DESKTOP, 25 Nov 2026) + +Host tip after #218 park. Keep-safe Undo only on tip twin. **No Accept +this dig.** Catalog **SHUT**. Index **39** locked. + +## Keep preflight (flashed) + +Base `eb667962…`, **24**, Screen Off + Mute Modes. After Jon’s base +update inventory no longer listed SEQ POS / Micro Timing. Media: +store `media/mop252-tempo-audible-keep/00-keep-before.json`. + +## Twin / package + +| Field | Value | +| --- | --- | +| Twin | `775d9322d45235d5…` RAM `--dev` | +| `tempo-lfo.mwrm` sha256 | `643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c` | +| Tip matched | **Yes** | +| Coexist | PROB…TSTR + Tempo LFO (10) → dial **39** | + +## Preflight peeks + +| Check | Result | +| --- | --- | +| Dial max | **39** | +| PMTR B | **39** TEMPO | +| after_store | `0x40d2518a` | +| Peek A (PMTR 12) | bpm/words idle (unique 1) | +| Peek B (PMTR 39) | **moved** — bpm unique **19** (`720…7200` BPM24); words unique **19** | +| Store path | `4ef940ac7d8e` (base `mw_lfo_pmtr_store`) | +| Counter gate | **pass** | + +## WAV A/B (T1, 6 s, OT WDM-KS 20ch) + +| Pair | Peak T1 | First onset | +| --- | --- | --- | +| A stock PMTR 12 | 0.04762 | 17258 | +| B TEMPO PMTR 39 | 0.02964 | 18022 | +| Δ | peak ratio ≈0.62 | **+764 samples** (~17.3 ms @ 44.1 kHz) | + +Onset lag crosses the ≥200-sample claim threshold → **audibleProven**. +MAIN A was near-null (T1 isolation); MAIN B carried grid energy — timing +claim uses T1 onset pair under matched PLAY length. + +## Undo / leave + +Undo → **`[]`**. Twin still on RAM → **ASK JON power-cycle** before tip24 +soft judge and before TEMPO Keep Accept (must not Accept on `--dev` twin). + +Accept auth for TEMPO Keep was previously recorded this session — Keep +**deferred** until tip24 returns after PC. Catalog still **SHUT**. + +## Media + +Store `media/mop252-tempo-audible-keep/` — peeks PNGs, WAV A/B (main/t1/hot), +`summary.json`, `99-leave.json`. diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/usb-cycles-static-mop213-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/usb-cycles-static-mop213-2026-11-25.md new file mode 100644 index 0000000000..29327ba576 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/usb-cycles-static-mop213-2026-11-25.md @@ -0,0 +1,63 @@ +# ColdFire cycles static dig (MOP-213) + +Host tip after mop205 USB smoke PASS +([usb-smoke-mop205-2026-11-25.md](usb-smoke-mop205-2026-11-25.md) / +[#175](https://github.com/jonathanwardle1992-beep/modwerk/pull/175)). +Europe/London · 25 November 2026. **No USB twin / Accept / lifecycle.** +Catalog **SHUT**. Do **not** invent measured / cfmeter / stress / Proven. + +| Check | Result | +| --- | --- | +| Toolchain | `m68k-linux-gnu-as -mcpu=54455` + `m68k-linux-gnu-objdump -d` on `unit.s` | +| Hot path | Contribute `after_store` → `tm_on_store` (publish) + `tm_map_bpm24` | +| Static authored | **39** → **`cycles.static = 624`** (×16 V4 envelope) | +| ot_emu PC-watch (`cycles.measured`) | **Not run** — no private remix compose / ot_emu image on this tip host | +| cfmeter load | **Not run** | +| ≥60 s stress | **Not run** | +| Accept | none | +| Catalog | **SHUT** | + +## Static method (honest envelope) + +```text +m68k-linux-gnu-as -mcpu=54455 -o tempo-lfo.o sdk/drafts/tempo-lfo/unit.s +m68k-linux-gnu-objdump -d tempo-lfo.o +``` + +Count every authored instruction on the **publish** path through +`tm_on_store` (in-range `tm_bpm_w` pointer; both range branches not taken) +plus the happy-path `tm_map_bpm24` for a valid high byte 0…127 (BPM clamps +and BPM24 clamps do not fire for that input set). ColdFire V4 envelope ×16 +(same conservative per-instruction pricing as PROB / SPOS TESTING notes — +**not** chip wall-clock). + +| Piece | Authored | +| --- | --- | +| `tm_on_store` publish (incl. `.tm_done` epilogue) | **25** | +| `tm_map_bpm24` (high byte 0…127) | **14** | +| **Total** | **39** → **624** cycles | + +Out-of-range early exit through `.tm_done` is **9** authored (shorter). +Object-only (unlinked); **not** a linked remix objdump and **not** ot_emu +PC-watch. Emulator instruction counts ≠ chip timing. + +`evidence/performance.json`: `cycles.static` filled; `measured` / `budget` +/ load / stress remain **null**. `npm run perf:audit -- check` still fails +on measured + load + stress — expected until a mop55/mop57-shaped host run. + +## What this dig does **not** claim + +- That `perf:audit` passes. +- That measured / cfmeter / stress numbers exist. +- Audible WAV A/B, SETUP OCR, or catalog pin. +- That mop205 smoke is Proven. + +## Cross links + +- Recipe (measured later): [`cycles-performance-plan-mop213-2026-11-25.md`](cycles-performance-plan-mop213-2026-11-25.md) +- Stub: [`performance.json`](performance.json) +- USB smoke: [`usb-smoke-mop205-2026-11-25.md`](usb-smoke-mop205-2026-11-25.md) +- Catalog gate: [`catalog-gate-mop213-2026-11-25.md`](catalog-gate-mop213-2026-11-25.md) +- Qual recipe: [`qualification-fill-recipe-mop213-2026-11-25.md`](qualification-fill-recipe-mop213-2026-11-25.md) +- Hub: [MOP-213](../../../../docs/OCTATRACK_LFO_PMTR_EXTENSION.md#tempo-lfo-tip-publish-gates-mop-213) +- PROB pattern (cite only): [`../trig-prob/evidence/otemu-cycles-mop55-2026-11-23.md`](../../trig-prob/evidence/otemu-cycles-mop55-2026-11-23.md) diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/usb-hw-mop253-keep-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/usb-hw-mop253-keep-2026-11-25.md new file mode 100644 index 0000000000..111a3723fc --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/usb-hw-mop253-keep-2026-11-25.md @@ -0,0 +1,49 @@ +# Keep of Tempo LFO — Accept PASS (MOP-253, DESKTOP, 25 Nov 2026) + +Jon-authorized Accept / Keep on tip24 after mop252 audibleProven. +Catalog **SHUT**. Index **39** locked. Reboot persistence **PENDING** +Jon PC. + +## Auth / package + +| Field | Value | +| --- | --- | +| Jon Accept auth | **Yes** (TEMPO Keep only; held from prior session) | +| Base | `eb6679620d0c9ed7…` tip24 production (not twin) | +| Package sha256 | `643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c` | +| Bytes | 724 | +| Tip matched | **Yes** | +| Path | Single-package **add** (preserve tip24 companions) | + +## Inventory + +| Stage | Count | Tempo LFO | Companions | +| --- | --- | --- | --- | +| Before | 24 | absent | Mute Modes + Screen Off present | +| During trial | 25 | **present** | — | +| After Accept | **25** | **present** | Mute Modes + Screen Off preserved; lost `[]` | + +## Self-test / Accept + +| Check | Result | +| --- | --- | +| Device self-test | **PASSED** (`failed: 0`, modules 25, intact 25, dsp 7) | +| Accept | **Yes** (`session.accept`) — not lifecycle | +| Saved on card | **true** | +| Keep of Tempo LFO (inventory) | **PASS** | + +## Not claimed + +- Reboot persistence (needs Jon PC) +- `cycles.measured` / qualification place +- Catalog pin / force-list + +## ASK JON PC + +Power-cycle; confirm Tempo LFO still present with tip24 companions. +Emulator / Undo dig ≠ reboot Keep. + +## Media + +Store `media/mop253-tempo-keep-accept/` — before/after inventory JSON, +`keep-accept-log.json`, `summary.json`. diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/usb-hw-mop254-reboot-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/usb-hw-mop254-reboot-2026-11-25.md new file mode 100644 index 0000000000..8e9bca31c8 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/usb-hw-mop254-reboot-2026-11-25.md @@ -0,0 +1,25 @@ +# Tempo LFO reboot persistence — PASS (MOP-254, DESKTOP, 25 Nov 2026) + +After mop253 Keep Accept + Jon power-cycle. Catalog **SHUT**. Index **39** +locked. No Accept this dig. + +## Identify after PC + +| Field | Value | +| --- | --- | +| Base | `eb6679620d0c9ed7…` tip24 | +| Inventory count | **25** | +| Tempo LFO | **present** | +| Mute Modes | present | +| Screen Off | present | +| Reboot persistence | **PASS** | + +## Verdict + +Keep of Tempo LFO survives physical reboot on tip24. Catalog pin remains +**SHUT** (measured cycles / qual still Open). + +## Media + +Store `media/mop254-tempo-reboot/` — `00-reboot-inventory.json`, +`summary.json`. diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/usb-park-mop251-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/usb-park-mop251-2026-11-25.md new file mode 100644 index 0000000000..77070015a3 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/usb-park-mop251-2026-11-25.md @@ -0,0 +1,46 @@ +# USB TEMPO dig PARKED — MOP-251 (DESKTOP, 25 Nov 2026 Europe/London) + +Keep-safe Undo audible session **started** then **stopped** when Jon began +updating the Modwerk base on the unit. **No** audible WAV A/B claim. +**No** Undo leave completed. **No** Accept / `device_keep` executed. +Catalog **SHUT**. Index **39** locked. + +## Auth note + +Jon authorized Accept / `device_keep` for **TEMPO Keep only** during this +session. That auth was **not used** — audible PASS never completed, then +hardware STOP for his base update. Reconfirm before any later Keep if the +session context is gone. + +## What was observed (honest partial) + +| Step | Result | +| --- | --- | +| Keep identify (pre-twin) | Base `eb667962…`; inventory **26** (Screen Off + Mute Modes; includes Micro Timing + SEQ POS); missing `[]` | +| Tip twin boot | `775d9322d45235d5…` RAM boot **armed** from tip-matched private twin | +| Coexist stage | Tip-matched `tempo-lfo` sha `643b46c3…` + PROB…TSTR peers; inventory listed Tempo LFO (10) | +| Dial / peeks / WAV A/B | **Not run** — STOP | +| Undo → `[]` | **Not completed** — STOP left twin mid-trial | +| Accept / Keep | **Not run** (auth present; dig parked) | + +## What does **not** count + +- Partial inventory print ≠ audible Proven +- Twin boot ≠ Keep of Tempo LFO +- Accept authorization alone ≠ Keep PASS +- mop205 smoke still ≠ audible + +## Leave / resume + +Hardware dig **parked**. Do not touch the unit or restart the bridge until +Jon says free. After free: resume audible Undo per +[`next-audible-fixture-mop250-2026-11-25.md`](next-audible-fixture-mop250-2026-11-25.md), +then Keep per +[`protocol-mop250-keep-usb-2026-11-25.md`](protocol-mop250-keep-usb-2026-11-25.md) +only with current Accept auth / reconfirm. **ASK JON PC** after Keep. + +## Media (host-local store) + +`media/mop251-tempo-audible/` — `00-keep-before.json`, `boot.log`, +`run.log`, `01-loaded.png` (partial). Private build scripts under +`modwerk-builds/mop251-tempo-audible/` (not committed). diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/usb-smoke-mop205-2026-11-25.md b/sdk/octatrack/modules/tempo-lfo/evidence/usb-smoke-mop205-2026-11-25.md new file mode 100644 index 0000000000..8d0e89d068 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/usb-smoke-mop205-2026-11-25.md @@ -0,0 +1,54 @@ +# USB Tempo LFO smoke — MOP-205 (DESKTOP, 25 Nov 2026 Europe/London) + +Keep tip24. Twin tip `775d9322…`. Undo only. **No Accept. No lifecycle.** +Catalog **SHUT**. Does **not** invent Proven / audible WAV / cycles. + +Path: mop204 tip scaffold (#174) → private package + coexist MWMS USB smoke. + +## Package + +| Field | Value | +| --- | --- | +| `tempo-lfo.mwrm` sha256 | `643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c` | +| Bytes | 500 (476 + 24 trailer) | +| Tip matched | **Yes** | +| Coexist peers | PROB…TSTR + TEMPO (10) so dial reaches **39** | + +## Keep / twin + +| Check | Result | +| --- | --- | +| Keep tip24 | `eb667962…` / 24 | +| Twin | `775d9322d45235d5…` | +| Inventory during | Trig Prob … TIME STRETCH + **Tempo LFO** | + +## Smoke gates + +| Gate | Result | +| --- | --- | +| Dial max | **39** | +| SETUP PMTR → TEMPO | **39** (capture `03-setup-pmtr-tempo.png`) | +| Dest record | index 39, `wordsPtr` + `afterStore` live | +| PLAY `tm_bpm_w` T1 high | **moved** — unique **16** (`0…63`) | +| PLAY `PROJECT_BPM24` | **moved** — unique **25** (`720…3912` ≈ 30…163 BPM) | +| Forced SETUP DEP jolt | bpm unique **7**, words unique **7** | +| Store path | `dirtyT1=1` before PLAY (map matches published BPM) | +| Undo | **`[]`** | +| Accept | **none** | + +## Verdict + +Keep-safe USB smoke **PASS** for SETUP TEMPO + words/BPM24 motion under +LFO-page max + mid-PLAY wiggle (mop184-shaped). Catalog remains **SHUT**. +No Proven / WAV A/B / cfmeter claim. Twin left on RAM → **ASK JON power-cycle**. + +## Leave + +Undo `[]` (`99-leave.json`). Twin on RAM → **ASK JON PC**. Then Keep tip24 +soft judge. + +## Media / private + +- Store media: `/cursor/stores/bc-13426b7a-69ff-4179-b40a-c789304a35d3/media/mop205-tempo-lfo-usb/` +- Private build: `modwerk-builds/mop205-tempo-lfo-usb/` +- Summary: `summary.json` (`smokeOk: true`) diff --git a/sdk/octatrack/modules/tempo-lfo/fill_guards.py b/sdk/octatrack/modules/tempo-lfo/fill_guards.py new file mode 100755 index 0000000000..517c659354 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/fill_guards.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python3 +"""Print stock_guard() lines for TEMPO LFO reference sites from a local 1.40C MAIN OS. + +Usage: + python3 fill_guards.py --os /path/to/section_3_MAIN_OS.bin + +Never commits firmware. TEMPO tip packages do not Detour these sites — +base owns lea/store; this script only documents hashes for local verify. +""" +from __future__ import annotations + +import argparse +import hashlib +import sys +from pathlib import Path + +OS_SHA256 = "164f31224bf61181e3f50e7dec40df9afcae5b16dbf6e4c0d0cc5e986af0a84e" +BASE = 0x40000400 + +SITES = ( + ("dest lea+cmpi (base-owned; do not Detour)", 0x4000D042, 8, "audio LFO destination lea — base mw_lfo_pmtr_dest"), + ("store span (base-owned; do not Detour)", 0x4000D07A, 6, "stock store — base mw_lfo_pmtr_store + contribute after_store → tm_on_store"), +) + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--os", required=True, type=Path, help="section_3_MAIN_OS.bin") + args = parser.parse_args() + raw = args.os.read_bytes() + digest = hashlib.sha256(raw).hexdigest() + if digest != OS_SHA256: + print(f"refusing: OS sha256 {digest} is not original 1.40C ({OS_SHA256})", file=sys.stderr) + return 1 + print("# Reference hashes only — TEMPO tip does not claim these sites") + print("from remix.stock_guard import stock_guard") + print() + for name, addr, length, note in SITES: + offset = addr - BASE + if offset < 0 or offset + length > len(raw): + print(f"# SKIP {name}: outside image") + continue + span = raw[offset : offset + length] + sha = hashlib.sha256(span).hexdigest() + print(f"# {name}: {note}") + print(f"# bytes {span.hex()} @ {addr:#x}") + print(f'stock_guard({addr:#x}, {length}, "{sha}")') + print() + print("# Coordinated map: 30 PROB … 38 TSTR, 39 TEMPO. Catalog SHUT.") + print("# Do not private-detour 0x4000d07a — contribute after_store (MOP-71/204).") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/sdk/octatrack/modules/tempo-lfo/manifest.py b/sdk/octatrack/modules/tempo-lfo/manifest.py new file mode 100644 index 0000000000..2a74eb23cc --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/manifest.py @@ -0,0 +1,35 @@ +"""TEMPO LFO — project/global tempo as LFO PMTR destination TEMPO (index 39). + +USB: runtime.json contributes tm_lfo_pmtr to ot_lfo_pmtr_dest (order 100). +Base owns count/formatter/beq/lea/store. MOP-204 tip scaffold: after_store → +tm_on_store publishes PROJECT_BPM24 (0x8000181c). Does not own track speed +(TSPD) and does not claim SPOS / Play Modes remapper sites. + +Coordinated map: 30 PROB … 38 TSTR, 39 TEMPO. Catalog PINNED (MOP-257). +""" + +import os + +from remix.schema import Category, Proof, Gate, Kind, Linked, Module + +_HERE = os.path.relpath(os.path.dirname(os.path.realpath(__file__))).replace("\\", "/") + +MODULE = Module( + name="tempo-lfo", + key="TEMPO", + kind=Kind.CF_PATCH, + doc="Project/global tempo as LFO PMTR destination TEMPO (index 39).", + category=Category.MACHINES, + author="jonathanwardle1992-beep", + author_url="https://github.com/jonathanwardle1992-beep", + proof=Proof.PORT, + proof_note="MOP-257 catalog pin: Keep mop253/254, measured 624 mop255, " + "tests.qualification placed under Jon owner-review G. " + "Contribute TEMPO=39 → PROJECT_BPM24 via after_store tm_on_store. " + "Lea-free / store-free (base-owned).", + linked=( + Linked("tempo", f"{_HERE}/unit.s", cpu="5475", dram=True), + ), + detours=(), + gates=(Gate("modules/tempo-lfo/verify.py", remix_arg=False),), +) diff --git a/sdk/octatrack/modules/tempo-lfo/media/ot-lfo-page-tempo.png b/sdk/octatrack/modules/tempo-lfo/media/ot-lfo-page-tempo.png new file mode 100644 index 0000000000000000000000000000000000000000..1a0a194cac16e72160c11a63b76f02f3efa28d8b GIT binary patch literal 1116 zcmV-i1f%& z7ywuRqC--#&Aj3+9RS2-V&4ANI9EDXJwIG=j?mL`)YD0SV;ulI1Av|qKtDpCoK7mT zIsniBPLTz`K3F4E>nUJ6>gnPXkUAYH0Q8gg0HCMr)4ldwTi1_{*7Mf|0De4d02J&j z01KS0(EHd&`>L*213)eXEC5`oXZdLIioH7W8339xYZ?b2lf^2VRSs91-WLE?0QBv5 zrhpv_0C)gKlOh0mVLxH$nF+$S3|@H=%DJit%5Hl>08jwu zwgMo#cdV1g9{@4{xW!JyPWBE&MKCT}dEL0YF1`oM+GhapzD(P9dlZ;-%KH`MbO105 zfQR4((gt5M@wUCq6#(-(0GJ0bTJ}l`v{VrsJ3QZ)2l{6KkXv-lW>O$~Wb;QG0KNoZ zzVF;ow!9etKrW6Kow1oB$S=~ftlAFebW#rXSzX36nhOB_P;S8} zycj^fXwB$a_+=eSf#cT!tQWx%fLswA7cK32##cY3%Wr{?0PrTqR+9pw^;dL0B)uL0 ztZvD-+6Q3Gn)5{s0M!32aJ>k|q0H;z6nN1sFcVl-cO!tjJ9nmlZvgNn08f1Ypz=*{ z1fZe_R-1DTjwP$x{5*hbio0|Gu)5SWvyz0DCS67?oh+`g4ghih+GZmF@^Yg6dr-En zSLAg7@IC-7NC8_%`m7EB@&GIxeVZRF`gsiiUyZlMI;r>9TS$SQ0w6;oC;NpZ4Ef2L z1lRXkN4rX=djP;XDjEkZ=>zBiWdOvsOGkPDu!eZB{HN*^xZiYH1b|~u1e+)-2Rr0k zU6BHORomf89gPBjCCP=cZqnh_;gud$>hvrCcpiXs${VZJ0RRCw-Le5hKzwlhrYitO z{VTeOTj1vb@C%Q-O&23Q`;cvX9sny0YqVAe01*KB;X&weJujaEV~4Bz0ATJ-us`A+ z93L2;rTb>>Nu_aLUD?%b5^_}bc|0{~lWrvUG(2VjrZ>LzZ1p90`dmjGyDWf5%6`X%hu zody8DYdh_pT{8Ouz~NpQU$pcs@Ks9!Xdg8I$OEv`;yK5?13mUojsZaSO^^ei=Q~rw z^H`4c0LTC!0-*cuw{Z&eN85@-rvL!t0nqc^DInY47yx7eP`h>iYJ9@RDR3-Yg8<+I icrwu4X2tsR0R97|RvXG8wJ~A<0000KVA%Qph}f$9S@0dY-xdSpsh213&>g^HM5MF7vudSfB{kwY|j1b zLIBp?YUj84HZT?tw#t3G>TwbP0*D>1Gw1Ib09yV3$wH|02oVrK>~NhiZPWw6!axA^ zB|rc%0PSF{F@N{V?p_Jhi$Em+4Zz+jjpr5C9zvykSu~hykhU51 zQ*>+=J?uvxQ7?L((g37|0FD4yqjsw60QLis#BE=g;Bmi3K>+7Uz^46}64341@v9|3 z0LK8VYeywe2fzYumjL?KDuFBj5dvrdkO|jS5BEtrD;Y%eR++ zL_h%OPNoE|yMHFN_r~;=fantdPGM67OCfqXBj-j}fXA480qb|d5`T@N&vm@0&=%QpF9d59f_hc*jkdi z00G?cGKA?WSCqbc2x8v|VEz)w;NG91*De9%PJ-H%1rSwkgWg)M1h6mbO~*Ol;{ZlW zyWleEf5k2V%n1NXpx2w%m%wxYaJ#_!rg3&Lya#h+mjJQ=Y%*d}whu^IN1oCnfL;JT z^%np%5cpedKAE zfCvHT$(M;r0E=M(Fg+!pXP9aicmaSFq%X+!*cd==8?>QBRwI1^m=nP99MyUR(03Ai z8bG!97zn_t-~ddT9%HSsS5o_08v(ovK(!D+1%T|rIHm+*n|VC~co%?{`}^hC)+2zo z0nmClrq#EvM*tB3?O+x_9N5uV>(tiXy0-&~o_hd@1p@FYcLI>7HT)SX`V{$^*Rz%h z;ONiM3;>b+wg`ZvJU(XkR@!2nw?RaG$9e=10niT41;EeK3M8lJy(9p1Fj~rdOB`aZw+DdV-r_GS zuSWpy0#GdkkUa^`0-#N literal 0 HcmV?d00001 diff --git a/sdk/octatrack/modules/tempo-lfo/media/ot-setup-pmtr-tempo.png b/sdk/octatrack/modules/tempo-lfo/media/ot-setup-pmtr-tempo.png new file mode 100644 index 0000000000000000000000000000000000000000..0cf01309c60895452e1345a9361123c64d0f1245 GIT binary patch literal 1063 zcmV+?1laqDP)fO&a_hx02>1V z^lt$IhymyT`#SSizwGX{Kz|Xa1fT)fYfoo7mHll{0F3!K#H%y{0qBRLT+St1>TV5K zzYV}%e_3u_1ZR{GfDHPt3nQfJrN3U`Bv>#C>wyO990(#As0TE&hNKm@=hf~7u2 zeDU5T1P}p0m3sntN{;|)0PI3%mqNTdBh$A40hps`bnLhXzyvKI*B=I;OFC--d$4?a z3rGe8fZ4C$WG zs$Tl*iKc3SoJUL$=1 zm=nOUjox|$&~_4h8bELHIS_zX!3kJ2EzYvJS4#WZGXi)QfZjp?Jpfb}#xX4r`>g8` zz`Fos;qSL&u15fG1EBSAPByl$M*tB39bgqeoY>J^8`SnZyXJ{R_bmX#0|9uII|0bu z8vcwGy^CV4>sikPaP;SB1%Sx@vj~8cJlqVonmt1V{Hi>BLSdRcA06M_A0C+oDA~ii9B>`Z7(NgB0 z#3|NBTLAd&E&j0TdIaz;0KJ6(swcr&0QA=@o&!D)V6;5l0wM(9RqhGoDLn!>2Jq`b h0Q&%b9|8dw`3D{e@V;AbXgmM_002ovPDHLkV1nO0)+qo0 literal 0 HcmV?d00001 diff --git a/sdk/octatrack/modules/tempo-lfo/octamod.module.json b/sdk/octatrack/modules/tempo-lfo/octamod.module.json new file mode 100644 index 0000000000..6c9fdb77f4 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/octamod.module.json @@ -0,0 +1,256 @@ +{ + "schemaVersion": 2, + "id": "tempo-lfo", + "key": "TEMPO", + "name": "Tempo LFO", + "version": "0.1.0-experimental", + "category": "machines", + "author": { + "github": "jonathanwardle1992-beep", + "credits": [ + "jonathanwardle1992-beep: project/global tempo as LFO PMTR TEMPO destination, ColdFire unit, documentation and thumbnail." + ] + }, + "nativeManifest": "manifest.py", + "presentation": { + "label": "TEMPO", + "family": "Sequencer", + "summary": "Maps project/global tempo to a new LFO PMTR destination, TEMPO, so LFOs can address BPM.", + "overview": "Tempo LFO exposes the stock project tempo (BPM × 24 at 0x8000181c, 30–300 BPM) as LFO SETUP PMTR = TEMPO (index 39). Any audio-track LFO can then modulate global tempo with stock depth, waves, locks and scenes. The TEMPO key / LEVEL tempo edit remains the base editor; when an LFO writes TEMPO, the module publishes the mapped BPM into the same project word REPITCH and the frame builder already follow. Index 39 follows the coordinated map 30 PROB … 38 TSTR / 39 TEMPO. This tip does not own track speed (TSPD exists) and does not claim SPOS or Play Modes remapper sites.", + "highlights": [ + "LFO SETUP: PMTR = TEMPO (index 39)", + "Publishes into stock PROJECT_BPM24 (30–300 BPM)", + "Base edit stays the TEMPO key / LEVEL tempo", + "Does not own TSPD or SPOS / Play Modes remappers" + ], + "usage": [ + "Set a clear project tempo so BPM changes are audible.", + "In LFO SETUP set PMTR to TEMPO and raise DEP to modulate global tempo." + ] + }, + "access": { + "location": "TEMPO key for the base; LFO SETUP → PMTR = TEMPO for modulation", + "steps": [ + "Select an audio track with a clear rhythm.", + "Hold the TEMPO key and set a known BPM (for example 120).", + "Hold FUNC and press LFO; set PMTR to TEMPO and adjust DEP / WAVE / TRIG." + ], + "screenshots": [ + "media/ot-setup-pmtr-tempo.png", + "media/ot-pmtr-tempo.png", + "media/ot-lfo-page-tempo.png" + ] + }, + "controls": [ + { + "name": "TEMPO", + "default": 42, + "count": 128, + "doc": "Project/global tempo published for LFO PMTR TEMPO. High byte 0–127 maps onto 30–300 BPM (stock PROJECT_BPM24). Base edited with the TEMPO key; LFO writes the live shadow word.", + "labels": null + } + ], + "compatibility": { + "firmware": "1.40C", + "effectId": null, + "location": "Audio tracks", + "conflicts": [], + "uiClaims": [], + "limitations": [ + "USB packages contribute ot_lfo_pmtr_dest (TEMPO index 39) and drop base-owned count/formatter/beq/lea alone-sink sites. Peer LFO drafts stay listed in conflicts until modules:compat proves coexistence. See docs/OCTATRACK_LFO_PMTR_EXTENSION.md.", + "First Modwerk catalog release (MOP-257): tests.qualification placed under Jon owner review (G); sdk/catalog.json pin authorized. Cite Keep mop253/254 package 643b46c3…; measured 624 mop255; qual tip mop256.", + "Audio tracks only; MIDI tracks and MIDI LFOs unwired in 0.1.0.", + "Publishes global PROJECT_BPM24; last writing track wins. Does not own per-track scale/speed (use TSPD).", + "Does not claim ev_audio_step / Play Modes / SPOS remapper sites.", + "Flash/code package totals unmeasured on tip (authored .bss 24 B tip-wired). Emulator instruction counts ≠ chip wall-clock.", + "Upstream first-release staging (MOP-273): resources.cpuPrice via npm run device:price not yet measured on this tree — do not invent; USB .mwrm row not yet shipped (Keep tip package 643b46c3… / 724 B must be rebuilt or title-variant matched before listing PR).", + "Peer LFO / sequencer modules (including seq-pos) stay conflict-listed until they are listed on upstream and modules:compat proves coexistence; conflicts array left empty while those ids are absent from sdk/octatrack/modules (modules:generate refuses unknown conflict ids)." + ] + }, + "resources": { + "recorded": "25 November 2026; static MOP-213; measured MOP-255; qual place + catalog pin MOP-257", + "storage": { + "label": "DRAM unit and per-track state", + "display": "Authored 24 B .bss (package unmeasured)", + "value": 24, + "unit": "bytes", + "method": "static", + "conditions": "Authored .bss tm_bpm_w[8] halfwords + tm_dirty[8] bytes = 24. Package/flash totals unmeasured on tip. No DSP memory.", + "source": "TESTING.md" + }, + "processing": { + "label": "ColdFire, per after_store when PMTR=TEMPO", + "display": "624 cycles/event measured (= static)", + "value": 624, + "unit": "cycles/event", + "method": "emulator", + "conditions": "Static + measured 39 authored ×16 V4 = 624 (mop213/mop255). Budget 4790 peer cite. Emulator ≠ chip.", + "source": "evidence/performance.json" + }, + "impact": { + "conditions": "Eight audio tracks; up to three LFOs per track on TEMPO (global publish).", + "cpu": { + "level": "minimal", + "basis": "measured-comparison", + "rationale": "Contribute after_store map/publish only (measured 39 authored / 624 envelope matches static). No per-sample DSP work.", + "source": "TESTING.md" + }, + "dsp": { + "level": "minimal", + "basis": "source-estimate", + "rationale": "No DSP code.", + "source": "manifest.py" + }, + "memory": { + "level": "minimal", + "basis": "source-estimate", + "rationale": "Authored .bss 24 bytes plus small contribute record and TEMPO label; package totals unmeasured.", + "source": "TESTING.md" + } + } + }, + "tests": { + "report": "TESTING.md", + "summary": "mop252 audible Undo PASS; mop253 Keep Accept PASS; mop254 reboot PASS; mop255 measured 624 + load/stress; mop256 A–G honesty; mop257 tests.qualification placed (Jon owner-review G) + fork catalog pin. Upstream listing PR blocked on measured cpuPrice (device:price) + shipped USB .mwrm (MOP-273). No Accept invent.", + "hardwareStatus": "reported", + "evidenceRevision": "2423e32b3cb6c8823f5caeb1864ecb9a04f4bd74", + "gates": [ + "modules/tempo-lfo/verify.py" + ], + "qualification": { + "moduleVersion": "0.1.0-experimental", + "sourceSha256": "5a7bfaa11ec522ece3157b562d832e660053c789144fb2996ca2281d86ba3888", + "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", + "cycles": [ + { + "processor": "coldfire", + "worstCase": 624, + "maxConfiguration": 624, + "maxInstances": 1, + "budget": 4790, + "unit": "cycles/event", + "method": "emulator", + "conditions": { + "parameterExtremes": "High byte 0 / 64 / 127 on tm_bpm_w[0]; out-of-range after_store pointer (tm_bpm_w-2) early exit. MOP-255 ot_emu PC-watch: high0/64/127 authored 39 → 624 cycles (matches static); OOR authored 9 → 144. PROJECT_BPM24 clamps cited from map only.", + "parameterModulation": "LFO DEP / WAVE / MULT / TRIG into TEMPO; p-locks and scenes that move DEP; MIDI CC unused this place — justified unused.", + "modeSwitching": "Undo leave [] (mop252); Keep Accept + reboot (mop253/254). Part / PMTR away / DEP=0 cited as prior smoke, not separate qual stress.", + "maxLoad": "Emulator flood ~3000 three-byte/s + clock 240 BPM; mop255 stress 62 s REACHED (170887 frames; hangs 0; dropped 0; no Part callAsMain). cfmeter load stock/module longest 287.8/287.8 µs under matched flood (TEMPO store-driven; no measurable frame-ISR delta).", + "inputConditions": "ot_emu card-backed project; DRAM trampoline into tm_on_store; mop252 audible WAV A/B onset Δ +764. Emulator instruction counts ≠ chip wall-clock. Budget 4790 = 10% of 362.8 µs frame @ 132 MHz (peer cite; owner-reviewed at place)." + }, + "report": "TESTING.md" + } + ], + "memory": { + "regions": [ + { + "name": "cpu-ram tm_bpm_w[8] + tm_dirty[8] (.bss authored 24 B)", + "space": "cpu-ram", + "words": 12, + "wordBits": 16, + "bytes": 24, + "scope": "shared" + } + ], + "perInstanceBytes": 0, + "sharedBytes": 24, + "maxInstances": 1, + "totalBytes": 24, + "conditions": "Authored .bss 16+8=24 bytes from unit.s — source-visible (MOP-257 place). Keep USB package 643b46c3… / 724 B cited as package identity only — flash/code size remains unmeasured on tip (no flash region tip-wired). No DSP.", + "report": "TESTING.md" + }, + "hardware": { + "kind": "functional", + "status": "reported", + "model": "MKII", + "testedOn": "2026-11-25", + "tester": "jonathanwardle1992-beep", + "sourceRevision": "2423e32b3cb6c8823f5caeb1864ecb9a04f4bd74", + "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", + "summary": "Owner-authorized tip placement (MOP-257 / Jon owner-review G) after mop256 honesty. Cite mop205 USB smoke SETUP TEMPO + words/BPM24; mop252 Keep-safe Undo audibleProven (onset Δ +764; Undo []); mop253 Keep Accept on tip24 package 643b46c3… (724 B; self-test PASS; companions preserved); mop254 reboot persistence PASS; mop255 ot_emu measured 624 (= static) + cfmeter load 287.8/287.8 + stress 62 s REACHED. Memory tip-wired authored .bss 24 B; flash unmeasured. Catalog PINNED (MOP-257; authorized with place).", + "limitations": [ + "imageSha256 binds the Keep USB tip package digest 643b46c3… (mop205/253), not the private mop255 ot_emu bus image (private; not in-repo).", + "Memory tip-wires source-visible .bss 24 B only; linked-image flash/code byte map was not measured on tip — package file 724 B is identity, not a region account.", + "Budget 4790 is owner-reviewed peer 10% frame envelope (362.8 µs @ 132 MHz); measured 624 sits under it. Emulator instruction counts are not chip wall-clock.", + "mop255 stress/load are emulator-only; eight-track hardware stress with three LFOs on TEMPO was not a separate qual stress pass.", + "SETUP LCD glyph OCR for the TEMPO label remains Open (panel PNGs retained; not OCR Proven).", + "First catalog release (MOP-257) after mop256 honesty + Jon place/pin auth; no Accept invent this tip." + ], + "report": "TESTING.md" + }, + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Include Tempo LFO in a build; set a known project tempo (for example 120 BPM) on an audio track with a clear rhythm.", + "Hold FUNC+LFO; set PMTR=TEMPO, raise DEP, pick WAVE/TRIG; press PLAY and watch project BPM move.", + "Set DEP to 0 or change PMTR away from TEMPO; re-edit with the TEMPO key." + ] + }, + "screenshots": [ + "media/ot-setup-pmtr-tempo.png", + "media/ot-pmtr-tempo.png", + "media/ot-lfo-page-tempo.png" + ], + "screenshotStyle": "black-and-white" + } + } + }, + "license": { + "spdx": "MIT", + "file": "LICENSE", + "declaration": "Original work by jonathanwardle1992-beep, MIT (LICENSE). Site plan uses published addresses and SHA-256 guards only. No Elektron firmware, extracted routines or tables." + }, + "media": [ + { + "path": "media/ot-setup-pmtr-tempo.png", + "captureType": "hardware", + "caption": "LFO SETUP PMTR = TEMPO on tip-matched Keep-safe Undo twin mid-trial (mop205 smoke lineage). Hardware USB LCD.", + "alt": "Octatrack LFO SETUP page with PMTR set to TEMPO.", + "credit": "Modwerk contributors; Elektron Octatrack UI", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "LFO SETUP", + "shows": "location-and-controls", + "firmware": "1.40C", + "moduleVersion": "0.1.0-experimental", + "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", + "setup": "Hardware USB tip package 643b46c3…; SETUP PMTR TEMPO (index 39); monochrome LCD capture mop205 03-setup-pmtr-tempo.png. Not OCR Proven." + } + }, + { + "path": "media/ot-pmtr-tempo.png", + "captureType": "hardware", + "caption": "LFO PMTR = TEMPO before audible WAV B on Keep-safe Undo twin (mop252).", + "alt": "Octatrack LFO page with PMTR TEMPO selected.", + "credit": "Modwerk contributors; Elektron Octatrack UI", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "LFO", + "shows": "controls", + "firmware": "1.40C", + "moduleVersion": "0.1.0-experimental", + "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", + "setup": "Hardware USB tip twin mid-trial mop252 05-pmtr-B-tempo.png; audibleProven onset Δ +764; Undo []." + } + }, + { + "path": "media/ot-lfo-page-tempo.png", + "captureType": "hardware", + "caption": "LFO page with TEMPO destination at high DEP during mop252 audible dig.", + "alt": "Octatrack LFO page showing TEMPO destination settings.", + "credit": "Modwerk contributors; Elektron Octatrack UI", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "LFO", + "shows": "controls", + "firmware": "1.40C", + "moduleVersion": "0.1.0-experimental", + "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", + "setup": "Hardware USB tip twin mop252 06-lfo-page-max.png; Keep-safe Undo only." + } + } + ] +} diff --git a/sdk/octatrack/modules/tempo-lfo/presentation/thumbnail.svg b/sdk/octatrack/modules/tempo-lfo/presentation/thumbnail.svg new file mode 100644 index 0000000000..904fed8c37 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/presentation/thumbnail.svg @@ -0,0 +1,39 @@ + +Tempo LFO — project BPM as LFO destination +Project tempo marks feeding an LFO destination labelled TEMPO. Conceptual signal art, not a measured screen. + + + + + + + + PROJECT BPM + LFO PMTR + + + + + + + + + + + + + + PMTR + TEMPO + BPM 30..300 + INDEX 39 + + diff --git a/sdk/octatrack/modules/tempo-lfo/runtime.json b/sdk/octatrack/modules/tempo-lfo/runtime.json new file mode 100644 index 0000000000..0c6432da7f --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/runtime.json @@ -0,0 +1,10 @@ +{ + "schema": 1, + "contribute": [ + { + "to": "ot_lfo_pmtr_dest", + "data": "tm_lfo_pmtr", + "order": 100 + } + ] +} diff --git a/sdk/octatrack/modules/tempo-lfo/unit.s b/sdk/octatrack/modules/tempo-lfo/unit.s new file mode 100644 index 0000000000..bc0f74644b --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/unit.s @@ -0,0 +1,199 @@ +| SPDX-License-Identifier: MIT +| SPDX-FileCopyrightText: 2026 jonathanwardle1992-beep +| +| TEMPO LFO -- project/global tempo as LFO PMTR destination TEMPO (index 39). +| +| Live state in DRAM (.bss): +| tm_bpm_w[8] halfwords LFO writes (amount in bits 8-15, 0..127) +| tm_dirty[8] non-zero after an LFO store to that track's TEMPO word +| +| Symbols: +| tm_on_store contribute after_store: map/publish into PROJECT_BPM24 +| (base mw_lfo_pmtr_store calls this; do not claim 0x4000d07a) +| tm_lfo_store legacy site-shaped helper (unused; store is base-owned) +| tm_lfo_pmtr USB contribute record for base table ot_lfo_pmtr_dest +| +| Publishes the stock project tempo word at 0x8000181c (BPM x 24, 30..300), +| the same word REPITCH and the frame builder already follow. Does NOT own +| track scale/speed (that is TSPD / track-speed-lfo at index 34). Does NOT +| claim ev_audio_step / Play Modes / SPOS remapper sites. +| +| USB runtime.json contributes tm_lfo_pmtr. Count / formatter / SETUP beq / +| dest lea / dest store are base-owned — do not poke them. +| +| Coordinated map: 30 PROB .. 38 TSTR, 39 TEMPO (this). +| +| Assembled -mcpu=54455 (ColdFire): no dbra, no movem predec, lsr.l not lsr.w, +| no immediate-to-indexed memory (move.b #imm,(%a0,%d0.l) → moveq + move.b Dn). + + .text + .global tm_on_store, tm_lfo_store, tm_init + .global tm_publish, tm_sync, tm_bpm_w, tm_dirty, tm_lfo_pmtr + + .equ TEMPO_PMTR, 39 + .equ PROJECT_BPM24, 0x8000181c + .equ BPM24_MIN, 720 + .equ BPM24_MAX, 7200 + .equ STORE_BACK, 0x4000d080 + +| ---- defaults: sync shadows from the live project tempo ---------------- +tm_init: + lea -16(%sp),%sp + movem.l %d0-%d1/%a0-%a1,(%sp) + moveq #7,%d0 +1: bsr.w tm_sync_one + subq.l #1,%d0 + bpl.s 1b + movem.l (%sp),%d0-%d1/%a0-%a1 + lea 16(%sp),%sp + rts + +| ---- d0=track: copy PROJECT_BPM24 into tm_bpm_w[t] and clear dirty ----- +tm_sync_one: + lea -16(%sp),%sp + movem.l %d1-%d2/%a0-%a1,(%sp) + andi.l #7,%d0 + move.l (PROJECT_BPM24).l,%d1 + cmpi.l #BPM24_MIN,%d1 + bhs.s 1f + move.l #BPM24_MIN,%d1 +1: cmpi.l #BPM24_MAX,%d1 + bls.s 2f + move.l #BPM24_MAX,%d1 +2: divu.w #24,%d1 | BPM in low word + andi.l #0xffff,%d1 + cmpi.l #30,%d1 + bhs.s 3f + moveq #30,%d1 +3: cmpi.l #300,%d1 + bls.s 4f + move.l #300,%d1 +4: subi.l #30,%d1 | 0..270 + mulu.w #127,%d1 + divu.w #270,%d1 + andi.l #0xffff,%d1 + lea tm_bpm_w,%a1 + move.l %d1,%d2 + lsl.l #8,%d2 + move.w %d2,(%a1,%d0.l*2) + lea tm_dirty,%a1 + clr.b (%a1,%d0.l) + movem.l (%sp),%d1-%d2/%a0-%a1 + lea 16(%sp),%sp + rts + +| ---- sync every non-dirty track from PROJECT_BPM24 --------------------- +tm_sync: + lea -8(%sp),%sp + movem.l %d0/%a0,(%sp) + moveq #7,%d0 +1: lea tm_dirty,%a0 + tst.b (%a0,%d0.l) + bne.s 2f + bsr.w tm_sync_one +2: subq.l #1,%d0 + bpl.s 1b + movem.l (%sp),%d0/%a0 + lea 8(%sp),%sp + rts + +| ---- d1 = high byte 0..127 -> d1 = BPM24 (720..7200) ------------------- +tm_map_bpm24: + mulu.w #270,%d1 | 0..34290 + divu.w #127,%d1 + andi.l #0xffff,%d1 + addi.l #30,%d1 | BPM 30..300 + cmpi.l #30,%d1 + bhs.s 1f + moveq #30,%d1 +1: cmpi.l #300,%d1 + bls.s 2f + move.l #300,%d1 +2: mulu.w #24,%d1 + cmpi.l #BPM24_MIN,%d1 + bhs.s 3f + move.l #BPM24_MIN,%d1 +3: cmpi.l #BPM24_MAX,%d1 + bls.s 4f + move.l #BPM24_MAX,%d1 +4: rts + +| ---- publish dirty shadows into PROJECT_BPM24 (last dirty wins) -------- +tm_publish: + lea -16(%sp),%sp + movem.l %d0-%d1/%a0-%a1,(%sp) + moveq #7,%d0 +1: lea tm_dirty,%a1 + tst.b (%a1,%d0.l) + beq.s 2f + lea tm_bpm_w,%a1 + move.w (%a1,%d0.l*2),%d1 + lsr.l #8,%d1 + andi.l #0xff,%d1 + bsr.w tm_map_bpm24 + move.l %d1,(PROJECT_BPM24).l +2: subq.l #1,%d0 + bpl.s 1b + movem.l (%sp),%d0-%d1/%a0-%a1 + lea 16(%sp),%sp + rts + +| Dest lea 0x4000d042 / store 0x4000d07a are base-owned; not package sites. + +| ---- contribute after_store (C ABI: word pointer on stack; rts) +| Base already wrote *word. Map high byte onto BPM24 and publish globally. +tm_on_store: + lea -16(%sp),%sp + movem.l %d0-%d1/%a0-%a1,(%sp) + move.l 20(%sp),%a0 | word (4 frame + 16 saved) + lea tm_bpm_w,%a1 + cmpa.l %a1,%a0 + blo.s .tm_done + lea 16(%a1),%a1 + cmpa.l %a1,%a0 + bhs.s .tm_done + lea tm_bpm_w,%a1 + move.l %a0,%d0 + sub.l %a1,%d0 + asr.l #1,%d0 + andi.l #7,%d0 + lea tm_dirty,%a1 + moveq #1,%d1 + move.b %d1,(%a1,%d0.l) + move.w (%a0),%d1 + lsr.l #8,%d1 + andi.l #0xff,%d1 + bsr.w tm_map_bpm24 + move.l %d1,(PROJECT_BPM24).l +.tm_done: + movem.l (%sp),%d0-%d1/%a0-%a1 + lea 16(%sp),%sp + rts + +| ---- legacy site-shaped helper (unused; store site is base-owned) +tm_lfo_store: + move.w %d0,(%a1) + move.l %a1,-(%sp) + bsr.w tm_on_store + addq.l #4,%sp + jmp (STORE_BACK).l + + .data + .align 2 +tm_lbl_tempo: + .asciz "TEMPO" + .align 2 +| struct modwerk_lfo_pmtr_dest { index, flags, label, words, after_store } +tm_lfo_pmtr: + .word TEMPO_PMTR + .word 1 | MODWERK_LFO_PMTR_AUDIO + .long tm_lbl_tempo + .long tm_bpm_w + .long tm_on_store + + .bss + .align 2 +tm_bpm_w: + .space 16 +tm_dirty: + .space 8 diff --git a/sdk/octatrack/modules/tempo-lfo/verify.py b/sdk/octatrack/modules/tempo-lfo/verify.py new file mode 100644 index 0000000000..8680d7254b --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/verify.py @@ -0,0 +1,3 @@ +"""Tempo LFO. Behaviour gates need a built image and are not run here.""" +print("tempo-lfo: no executed gate yet (LFO PMTR TEMPO must publish PROJECT_BPM24)") +print("tempo-lfo: record ot_emu or unit results in TESTING.md; do not treat this print as a pass") diff --git a/src/community/module-changelogs/tempo-lfo.json b/src/community/module-changelogs/tempo-lfo.json new file mode 100644 index 0000000000..4c16e094b0 --- /dev/null +++ b/src/community/module-changelogs/tempo-lfo.json @@ -0,0 +1,11 @@ +[ + { + "version": "0.1.0-experimental", + "date": "2026-11-25", + "changes": [ + "First Modwerk catalog release: LFO SETUP gains PMTR destination TEMPO (index 39). Stock LFOs can modulate project/global tempo (PROJECT_BPM24, 30\u2013300 BPM); the TEMPO key remains the base editor. ColdFire only \u2014 no DSP slot.", + "Publication cites Keep Accept + reboot persistence on tip package 643b46c3\u2026 (MOP-253/254), ot_emu measured 624 cycles/event matching static with matched load/stress (MOP-255), and owner-reviewed tests.qualification place with budget 4790 and authored .bss 24 bytes (MOP-257).", + "Limitations remain honest: flash/code size unmeasured on tip; emulator instruction counts are not chip wall-clock; last writing track wins on global tempo; peer LFO drafts stay conflict-listed until modules:compat; SETUP TEMPO OCR not Proven. Upstream listing also requires measured resources.cpuPrice via npm run device:price (not yet written)." + ] + } +] From fa616f878b14a28385b68a1cc14c9287be5b2393 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 26 Nov 2026 05:07:56 +0000 Subject: [PATCH 02/14] Docs: Tempo LFO staging needs upstream ot_lfo_pmtr_dest base Package build on repeat98/main fails without the LFO PMTR table; fork index 31 collides with ot_midi_generators. Record resume order before cpuPrice / mwrm / first-release PR. Co-authored-by: jonathanwardle1992-beep --- sdk/octatrack/modules/tempo-lfo/STAGING.md | 55 ++++++++++++------- ...ase-blocked-cpu-price-mop273-2026-11-26.md | 27 +++------ 2 files changed, 43 insertions(+), 39 deletions(-) diff --git a/sdk/octatrack/modules/tempo-lfo/STAGING.md b/sdk/octatrack/modules/tempo-lfo/STAGING.md index 194fa06707..14eb386d52 100644 --- a/sdk/octatrack/modules/tempo-lfo/STAGING.md +++ b/sdk/octatrack/modules/tempo-lfo/STAGING.md @@ -6,31 +6,44 @@ WIP branch `cursor/tempo-lfo-publish-a318` off `repeat98/modwerk` `main`. Mirror: [Micro Timing #2193](https://github.com/repeat98/modwerk/pull/2193). +## Hard prerequisites (upstream) + +### 1. Base table `ot_lfo_pmtr_dest` is **absent** on `repeat98/main` + +Fork has the LFO PMTR extension table; upstream does not. Package build fails: + +`A subscription names an event or table of sdk/machines/octatrack/events.json … ot_lfo_pmtr_dest` + +| Fact | Detail | +| --- | --- | +| Fork scaffold | commit `141322f42` — Base: scaffold ot_lfo_pmtr_dest | +| Fork event index | **31** | +| Upstream index 31 | already **`ot_midi_generators`** (max index **62**) | +| Port implication | Additive base PR must remap to a free index (≥63) and update generated loader/SDK headers — **not** a blind fork copy; **not** inside the module first-release PR | + +Until that base PR merges, Tempo LFO cannot ship as a contribute USB package on upstream. + +### 2. `resources.cpuPrice` via Undo-only `npm run device:price` + +Same gate as Seq Pos (MOP-249). mop255 cfmeter is **not** a price. + +### 3. USB `.mwrm` + +Keep tip `643b46c3…` / 724 B. Needs base event + m68k-elf + Elekloader (partially prepared on this host) or Jon private rebuild. + ## Done on this branch - [x] Module at `sdk/octatrack/modules/tempo-lfo/` (from fork mop257 tip) - [x] Catalog pin `{ id: tempo-lfo, version: 0.1.0-experimental }` - [x] Community changelog + `changelog/2026-11-26-tempo-lfo-catalog.md` -- [x] `tests.qualification` retained (Keep/measured cites); `sourceSha256` rehashed for this tree -- [x] Honesty: no forged `resources.cpuPrice` +- [x] Qual cites retained; `sourceSha256` rehashed for this tree +- [x] Honesty: no forged `cpuPrice` +- [x] Elekloader upstream tools fetched; m68k-linux-gnu symlinked as m68k-elf-* (build blocked on missing base event) -## Still required before PR +## Resume order -1. **USB `.mwrm`** — Keep tip package `643b46c3…` / 724 B (mop253). Rebuild with - `build.py --octabam tempo-lfo --name "Tempo LFO"` (or title-variant match like #2193), - place at `public/octatrack-modules/tempo-lfo/0.1.0-experimental.mwrm`, add - `octatrack-module-packages.json` usbOnly row. Cloud tip has no stock OS / m68k - toolchain — needs self-hosted / Jon private `modwerk-builds`. -2. **`resources.cpuPrice`** — Undo-only - `npm run device:price -- --write --base --scene tempo-lfo` - (MOP-274 TCP serve tip). Write `evidence/cpu-price.json`. **No Accept.** -3. **`modules:generate`** + doctor + `modules:check -- --base upstream/main`. -4. Open owner first-release PR to `repeat98:main`. **Do not merge.** - -## Cite-only (already Proven on fork — do not re-invent) - -| Gate | Cite | -| --- | --- | -| Keep Accept + reboot | mop253 / mop254 — package `643b46c3…` | -| Measured 624 + load/stress | mop255 | -| Qual place + fork pin | mop257 / fork #224 | +1. **Owner/base:** port `ot_lfo_pmtr_dest` onto current upstream (new free index; separate Base PR). +2. Rebuild USB `.mwrm` against that base; add packages row. +3. Undo-only `device:price --write` for tempo-lfo (MOP-274 TCP serve). +4. `modules:generate`; doctor; `modules:check -- --base upstream/main`. +5. Open owner first-release PR to `repeat98:main`. **Do not merge.** diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md b/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md index 829849cde6..972f6d248c 100644 --- a/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md +++ b/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md @@ -1,29 +1,20 @@ -# Upstream first-release staging — `cpuPrice` + `.mwrm` (MOP-273) +# Upstream first-release blockers (MOP-273) Europe/London · 26 November 2026. **No USB. No Accept invent. No forged `cpuPrice`.** -## Status +## Blockers (ordered) -| Item | State | -| --- | --- | -| Staging branch | `cursor/tempo-lfo-publish-a318` off `repeat98/modwerk` `main` | -| Module + fork-cite qual + catalog pin | **Staged** under `sdk/octatrack/modules/tempo-lfo/` | -| USB `.mwrm` / packages row | **Missing** — Keep tip `643b46c3…` / 724 B needs rebuild (no stock/m68k here) | -| `resources.cpuPrice` (`npm run device:price`) | **Missing** — mop255 cfmeter must not be relabeled | -| Owner first-release PR | **Not opened** | +1. **Base:** `ot_lfo_pmtr_dest` missing on `repeat98/main`. Fork index 31 collides with upstream `ot_midi_generators`. Needs separate Base PR with remapped free index — not a module-release fold-in. +2. **`resources.cpuPrice`:** Undo-only `npm run device:price` (mop255 cfmeter must not be relabeled). +3. **USB `.mwrm`:** Keep tip `643b46c3…` / 724 B after base lands. -See [`../STAGING.md`](../STAGING.md) for the resume checklist. +## Staging -## Resume (Undo-only when unit free) - -1. Rebuild/ship USB `.mwrm` (title-variant honesty vs Keep `643b46c3…` as #2193). -2. `npm run device:price -- --write … tempo-lfo` (MOP-274 TCP serve). -3. `modules:generate`; doctor; `modules:check -- --base upstream/main`. -4. Open PR to `repeat98/modwerk`. **Do not merge.** +Branch `cursor/tempo-lfo-publish-a318` holds the module tree + catalog pin. +See [`../STAGING.md`](../STAGING.md). ## Cross links - MT pattern: https://github.com/repeat98/modwerk/pull/2193 - Fork tip honesty: https://github.com/jonathanwardle1992-beep/modwerk/pull/239 -- Keep: [`usb-hw-mop253-keep-2026-11-25.md`](usb-hw-mop253-keep-2026-11-25.md) -- Measured (not a price): [`otemu-cycles-mop255-2026-11-25.md`](otemu-cycles-mop255-2026-11-25.md) +- Fork base scaffold: `141322f42` From e4d6dd2edd729f43df5a33773b33e62bd42f512c Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 26 Nov 2026 05:34:54 +0000 Subject: [PATCH 03/14] Docs: Tempo staging tracks Base draft index 63 (MOP-273). Point STAGING and blocker evidence at fork Base branch cursor/ot-lfo-pmtr-dest-base-a318 (lea deferred; PR held). Still no forged cpuPrice; listing PR stays closed until device:price + .mwrm. Co-authored-by: jonathanwardle1992-beep --- sdk/octatrack/modules/tempo-lfo/STAGING.md | 37 ++++++++++--------- sdk/octatrack/modules/tempo-lfo/TESTING.md | 9 +++-- ...ase-blocked-cpu-price-mop273-2026-11-26.md | 7 ++-- .../modules/tempo-lfo/octamod.module.json | 2 +- 4 files changed, 30 insertions(+), 25 deletions(-) diff --git a/sdk/octatrack/modules/tempo-lfo/STAGING.md b/sdk/octatrack/modules/tempo-lfo/STAGING.md index 14eb386d52..807b5e9605 100644 --- a/sdk/octatrack/modules/tempo-lfo/STAGING.md +++ b/sdk/octatrack/modules/tempo-lfo/STAGING.md @@ -8,28 +8,25 @@ Mirror: [Micro Timing #2193](https://github.com/repeat98/modwerk/pull/2193). ## Hard prerequisites (upstream) -### 1. Base table `ot_lfo_pmtr_dest` is **absent** on `repeat98/main` - -Fork has the LFO PMTR extension table; upstream does not. Package build fails: - -`A subscription names an event or table of sdk/machines/octatrack/events.json … ot_lfo_pmtr_dest` +### 1. Base table `ot_lfo_pmtr_dest` | Fact | Detail | | --- | --- | -| Fork scaffold | commit `141322f42` — Base: scaffold ot_lfo_pmtr_dest | -| Fork event index | **31** | -| Upstream index 31 | already **`ot_midi_generators`** (max index **62**) | -| Port implication | Additive base PR must remap to a free index (≥63) and update generated loader/SDK headers — **not** a blind fork copy; **not** inside the module first-release PR | +| Fork scaffold | commit `141322f42` | +| Fork event index | **31** (collides with upstream `ot_midi_generators`) | +| Upstream draft | branch `cursor/ot-lfo-pmtr-dest-base-a318` @ `9cd7428c4` on fork — index **63**; formatter/count/beq/store claimed | +| Dest lea | **Deferred** in that draft (published FM Synth still overlaps `0x4000d03e`); full dest resolve needs companion migrate + lea claim | +| PR to `repeat98` | **Held** for Jon authorize (MOP-274 for-review); elemod unchanged until OS rebuild | -Until that base PR merges, Tempo LFO cannot ship as a contribute USB package on upstream. +Until that Base PR merges (and lea lands with FM Synth migrate), Tempo cannot ship a full contribute USB package that resolves destinations on upstream. ### 2. `resources.cpuPrice` via Undo-only `npm run device:price` -Same gate as Seq Pos (MOP-249). mop255 cfmeter is **not** a price. +Same gate as Seq Pos (MOP-249). mop255 cfmeter is **not** a price. **No USB this turn** — cannot measure. ### 3. USB `.mwrm` -Keep tip `643b46c3…` / 724 B. Needs base event + m68k-elf + Elekloader (partially prepared on this host) or Jon private rebuild. +Keep tip `643b46c3…` / 724 B. Needs merged base event + m68k-elf + Elekloader (or Jon private rebuild). ## Done on this branch @@ -38,12 +35,16 @@ Keep tip `643b46c3…` / 724 B. Needs base event + m68k-elf + Elekloader (partia - [x] Community changelog + `changelog/2026-11-26-tempo-lfo-catalog.md` - [x] Qual cites retained; `sourceSha256` rehashed for this tree - [x] Honesty: no forged `cpuPrice` -- [x] Elekloader upstream tools fetched; m68k-linux-gnu symlinked as m68k-elf-* (build blocked on missing base event) +- [x] Base draft prepared separately (index 63; PR held) +- [ ] USB `.mwrm` row +- [ ] Measured `resources.cpuPrice` +- [ ] Upstream listing PR ## Resume order -1. **Owner/base:** port `ot_lfo_pmtr_dest` onto current upstream (new free index; separate Base PR). -2. Rebuild USB `.mwrm` against that base; add packages row. -3. Undo-only `device:price --write` for tempo-lfo (MOP-274 TCP serve). -4. `modules:generate`; doctor; `modules:check -- --base upstream/main`. -5. Open owner first-release PR to `repeat98:main`. **Do not merge.** +1. Jon authorizes → open Base PR from `cursor/ot-lfo-pmtr-dest-base-a318` → `repeat98:main` (do not merge). +2. Follow-up: FM Synth `po_lfo3b` → `0x4000d03a` + claim dest lea + owner OS base rebuild. +3. Rebuild USB `.mwrm` against that base; add packages row (Keep `643b46c3…` title-variant honesty as #2193). +4. Undo-only `device:price --write` for tempo-lfo. +5. `modules:generate`; doctor; `modules:check -- --base upstream/main`. +6. Open owner first-release PR to `repeat98:main`. **Do not merge.** diff --git a/sdk/octatrack/modules/tempo-lfo/TESTING.md b/sdk/octatrack/modules/tempo-lfo/TESTING.md index 29a2a29358..42815d0ff0 100644 --- a/sdk/octatrack/modules/tempo-lfo/TESTING.md +++ b/sdk/octatrack/modules/tempo-lfo/TESTING.md @@ -163,13 +163,16 @@ Tip-docs only. **No USB. No Accept.** Intended mirror of Micro Timing **not opened**: upstream tip requires `resources.cpuPrice` with `tool` starting `npm run device:price`. Fork pin has none. mop255 cfmeter load (287.8/287.8) is **not** a price — do not relabel. Same gate as -Seq Pos MOP-249. +Seq Pos MOP-249. Base draft `cursor/ot-lfo-pmtr-dest-base-a318` @ `9cd7428c4` +(index **63**; lea deferred) is on the fork; PR held for Jon. | Gate | Result | | --- | --- | | Fork pin / Keep / qual / cycles | **PASS** (cite mop253–257) | -| Upstream listing PR | **Blocked** — no forged `cpuPrice` | +| Base `ot_lfo_pmtr_dest` on upstream | **Draft** on fork (PR held); not on `main` | +| Upstream listing PR | **Blocked** — no forged `cpuPrice`; needs `.mwrm` after base | | Accept invent | none | Evidence: -[`evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md`](evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md). +[`evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md`](evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md), +[`STAGING.md`](STAGING.md). diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md b/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md index 972f6d248c..a75b6dd24f 100644 --- a/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md +++ b/sdk/octatrack/modules/tempo-lfo/evidence/upstream-first-release-blocked-cpu-price-mop273-2026-11-26.md @@ -4,9 +4,9 @@ Europe/London · 26 November 2026. **No USB. No Accept invent. No forged `cpuPri ## Blockers (ordered) -1. **Base:** `ot_lfo_pmtr_dest` missing on `repeat98/main`. Fork index 31 collides with upstream `ot_midi_generators`. Needs separate Base PR with remapped free index — not a module-release fold-in. -2. **`resources.cpuPrice`:** Undo-only `npm run device:price` (mop255 cfmeter must not be relabeled). -3. **USB `.mwrm`:** Keep tip `643b46c3…` / 724 B after base lands. +1. **Base:** draft `cursor/ot-lfo-pmtr-dest-base-a318` @ `9cd7428c4` (fork) ports `ot_lfo_pmtr_dest` at index **63**; PR to `repeat98` held for Jon. Dest lea still deferred (FM Synth overlap). Not merged → contribute packages still blocked on main. +2. **`resources.cpuPrice`:** Undo-only `npm run device:price` (mop255 cfmeter must not be relabeled). No unit this turn. +3. **USB `.mwrm`:** Keep tip `643b46c3…` / 724 B after base (+ lea) lands. ## Staging @@ -17,4 +17,5 @@ See [`../STAGING.md`](../STAGING.md). - MT pattern: https://github.com/repeat98/modwerk/pull/2193 - Fork tip honesty: https://github.com/jonathanwardle1992-beep/modwerk/pull/239 +- Base draft (fork): https://github.com/jonathanwardle1992-beep/modwerk/tree/cursor/ot-lfo-pmtr-dest-base-a318 - Fork base scaffold: `141322f42` diff --git a/sdk/octatrack/modules/tempo-lfo/octamod.module.json b/sdk/octatrack/modules/tempo-lfo/octamod.module.json index 6c9fdb77f4..69ed7d950b 100644 --- a/sdk/octatrack/modules/tempo-lfo/octamod.module.json +++ b/sdk/octatrack/modules/tempo-lfo/octamod.module.json @@ -63,7 +63,7 @@ "Publishes global PROJECT_BPM24; last writing track wins. Does not own per-track scale/speed (use TSPD).", "Does not claim ev_audio_step / Play Modes / SPOS remapper sites.", "Flash/code package totals unmeasured on tip (authored .bss 24 B tip-wired). Emulator instruction counts ≠ chip wall-clock.", - "Upstream first-release staging (MOP-273): resources.cpuPrice via npm run device:price not yet measured on this tree — do not invent; USB .mwrm row not yet shipped (Keep tip package 643b46c3… / 724 B must be rebuilt or title-variant matched before listing PR).", + "Upstream first-release staging (MOP-273): Base draft cursor/ot-lfo-pmtr-dest-base-a318 @9cd7428c4 (index 63; lea deferred; PR held). resources.cpuPrice via npm run device:price not yet measured — do not invent; USB .mwrm row not yet shipped (Keep tip package 643b46c3… / 724 B).", "Peer LFO / sequencer modules (including seq-pos) stay conflict-listed until they are listed on upstream and modules:compat proves coexistence; conflicts array left empty while those ids are absent from sdk/octatrack/modules (modules:generate refuses unknown conflict ids)." ] }, From f7aadd3313c1a21d80520e166ca731cd9f0e87d3 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 26 Nov 2026 05:37:47 +0000 Subject: [PATCH 04/14] WIP: stage Tempo LFO USB package rebuilt on Base draft index 63. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Offline build.py --octabam against ot_lfo_pmtr_dest@63 yields 654530b1… / 852 B (module 038b0514) — not the fork Keep tip 643b46c3…. Packages row + honesty evidence; resources.cpuPrice still unmeasured (no USB). Listing PR remains closed. Co-authored-by: jonathanwardle1992-beep --- .../tempo-lfo/0.1.0-experimental.mwrm | Bin 0 -> 852 bytes sdk/octatrack/modules/tempo-lfo/STAGING.md | 17 +++++--- .../mwrm-rebuild-base63-mop273-2026-11-26.md | 41 ++++++++++++++++++ ...ase-blocked-cpu-price-mop273-2026-11-26.md | 8 ++-- .../modules/tempo-lfo/octamod.module.json | 2 +- .../assets/octatrack-module-packages.json | 16 +++++++ 6 files changed, 72 insertions(+), 12 deletions(-) create mode 100644 public/octatrack-modules/tempo-lfo/0.1.0-experimental.mwrm create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/mwrm-rebuild-base63-mop273-2026-11-26.md diff --git a/public/octatrack-modules/tempo-lfo/0.1.0-experimental.mwrm b/public/octatrack-modules/tempo-lfo/0.1.0-experimental.mwrm new file mode 100644 index 0000000000000000000000000000000000000000..716683751e26b5a31b486476a8c4e7387bc09939 GIT binary patch literal 852 zcmeYb5AtQ;U;qNfJ3vALh`E8-0f-rxyIDm*G%5&j^$qY>@Nx5p2{XbN|3@%LVPHJv z|Nj36kL%3L1?-6o3k;fO&763^^Ep?qGwv6X=F|h`DTFyKuP#=mrUp94^1WeGd#7h?~5CZc3MdxYo#!i{U{h$R39OKzDQ~ z9|VOB&^1>uLXTM?pFsqoYvajOE9aLC0vk`J7(ql7I3{#HYJh|<#FipP;YJPyBLO7S zwIHS=Og3uJ=LFiiAfn&zrvt-<25{ Date: Thu, 26 Nov 2026 05:44:15 +0000 Subject: [PATCH 05/14] Docs: Tempo Keep tip does not cover staged upstream mwrm. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Record that shipped 654530b1… (Base index 63) needs device:price and qualify/rebind; Keep 643b46c3… remains fork-only identity (MOP-273). Co-authored-by: jonathanwardle1992-beep --- sdk/octatrack/modules/tempo-lfo/TESTING.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/sdk/octatrack/modules/tempo-lfo/TESTING.md b/sdk/octatrack/modules/tempo-lfo/TESTING.md index 42815d0ff0..2a4a47f8ce 100644 --- a/sdk/octatrack/modules/tempo-lfo/TESTING.md +++ b/sdk/octatrack/modules/tempo-lfo/TESTING.md @@ -166,11 +166,20 @@ load (287.8/287.8) is **not** a price — do not relabel. Same gate as Seq Pos MOP-249. Base draft `cursor/ot-lfo-pmtr-dest-base-a318` @ `9cd7428c4` (index **63**; lea deferred) is on the fork; PR held for Jon. +**Shipped vs Keep package:** hardware/qual cites bind Keep tip +`643b46c3…` / 724 B (fork base index 31). Staged upstream USB package is +`654530b1…` / 852 B / module `038b0514` (offline rebuild vs Base draft +index 63). The earlier Keep run does **not** cover the shipped digest — +after `device:price`, run `device:qualify` (or re-Accept) on the priced +tip-matched image and rebind `imageSha256`. See +[`evidence/mwrm-rebuild-base63-mop273-2026-11-26.md`](evidence/mwrm-rebuild-base63-mop273-2026-11-26.md). + | Gate | Result | | --- | --- | -| Fork pin / Keep / qual / cycles | **PASS** (cite mop253–257) | +| Fork pin / Keep / qual / cycles | **PASS** (cite mop253–257; Keep `643b46c3…`) | +| Staged upstream `.mwrm` | `654530b1…` / 852 B — **not** covered by Keep | | Base `ot_lfo_pmtr_dest` on upstream | **Draft** on fork (PR held); not on `main` | -| Upstream listing PR | **Blocked** — no forged `cpuPrice`; needs `.mwrm` after base | +| Upstream listing PR | **Blocked** — no forged `cpuPrice`; price + qualify on shipped | | Accept invent | none | Evidence: From ad835e2f063a63018c87de3f6c867a7c6d4afdbd Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 26 Nov 2026 16:29:02 +0000 Subject: [PATCH 06/14] Measure: Tempo LFO Undo-only device:price (cpuPrice 0). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Staged mwrm 654530b1… / 852 B on Base draft index 63 twin; resources.cpuPrice 0 % of frame. Co-authored-by: jonathanwardle1992-beep --- .../modules/tempo-lfo/evidence/cpu-price.json | 68 +++++++++++++++++++ .../modules/tempo-lfo/octamod.module.json | 9 +++ 2 files changed, 77 insertions(+) create mode 100644 sdk/octatrack/modules/tempo-lfo/evidence/cpu-price.json diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/cpu-price.json b/sdk/octatrack/modules/tempo-lfo/evidence/cpu-price.json new file mode 100644 index 0000000000..3d53672407 --- /dev/null +++ b/sdk/octatrack/modules/tempo-lfo/evidence/cpu-price.json @@ -0,0 +1,68 @@ +{ + "module": "tempo-lfo", + "version": "0.1.0-experimental", + "base": "dce64a781f8581b4 (development twin, Base draft index 63 + guard, after tip24 Keep PC)", + "scene": "Octatrack MKII, after tip24 Keep PC, Part 1, transport playing, stock FILTER/DELAY companions, empty twin inventory, Undo-only trial", + "inputs": { + "transport": "playing" + }, + "seconds": 8, + "readings": 3, + "measuredAt": "2026-11-26T16:26:06.892Z", + "result": { + "id": "tempo-lfo", + "version": "0.1.0-experimental", + "packageSha256": "654530b1accbaa058768f36cc17f1e541680d31d0187d4f46191de2eb8751c96", + "before": { + "frame": 52.1, + "frameMax": 88.7, + "frames": 68407, + "skipped": 0, + "cpu": 62, + "dsp1to4": 41.1, + "dsp5to8": 53.9, + "dsp1to4Peak": 42.5, + "dsp5to8Peak": 55.1, + "readings": 3, + "spread": { + "frame": 0, + "cpu": 0.6, + "dsp1to4": 0.5, + "dsp5to8": 0.4, + "frameMax": 1.7, + "dsp1to4Peak": 0, + "dsp5to8Peak": 0.6 + } + }, + "atRest": { + "frame": 52.1, + "frameMax": 87.7, + "frames": 68360, + "skipped": 0, + "cpu": 62, + "dsp1to4": 41.4, + "dsp5to8": 53.6, + "dsp1to4Peak": 42.5, + "dsp5to8Peak": 55.2, + "readings": 3, + "spread": { + "frame": 0, + "cpu": 1, + "dsp1to4": 0.3, + "dsp5to8": 0.4, + "frameMax": 2.1, + "dsp1to4Peak": 0, + "dsp5to8Peak": 0.8 + } + }, + "atRestAdds": { + "frame": 0, + "cpu": 0, + "dsp1to4": 0.3, + "dsp5to8": -0.3, + "dsp1to4Peak": 0, + "dsp5to8Peak": 0.1 + }, + "rolledBack": true + } +} diff --git a/sdk/octatrack/modules/tempo-lfo/octamod.module.json b/sdk/octatrack/modules/tempo-lfo/octamod.module.json index fd35f2537e..1ddc316220 100644 --- a/sdk/octatrack/modules/tempo-lfo/octamod.module.json +++ b/sdk/octatrack/modules/tempo-lfo/octamod.module.json @@ -107,6 +107,15 @@ "rationale": "Authored .bss 24 bytes plus small contribute record and TEMPO label; package totals unmeasured.", "source": "TESTING.md" } + }, + "cpuPrice": { + "value": 0, + "unit": "percent-of-frame", + "measure": "frame-interrupt", + "tool": "npm run device:price -- --write", + "date": "2026-11-26", + "conditions": "Octatrack MKII, after tip24 Keep PC, Part 1, transport playing, stock FILTER/DELAY companions, empty twin inventory, Undo-only trial; base dce64a781f8581b4 (development twin, Base draft index 63 + guard, after tip24 Keep PC); 3 readings of 8 s a state. Frame interrupt 52.1 % before, 52.1 % installed and used nowhere; CPU meter 62 % before, 62 % at rest.", + "source": "evidence/cpu-price.json" } }, "tests": { From c88aa3a59867b257fdc80c75bba303c073510cdc Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 26 Nov 2026 16:30:55 +0000 Subject: [PATCH 07/14] WIP: catalog generate after Tempo device:price 0; staging honesty. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Record measured cpuPrice 0 on mwrm 654530b1… and regenerate module-documents for upstream first-release listing. Co-authored-by: jonathanwardle1992-beep --- sdk/octatrack/modules/tempo-lfo/STAGING.md | 4 +- sdk/octatrack/modules/tempo-lfo/TESTING.md | 12 +- .../modules/tempo-lfo/octamod.module.json | 40 +-- src/catalog/module-documents.json | 265 ++++++++++++++++++ 4 files changed, 293 insertions(+), 28 deletions(-) diff --git a/sdk/octatrack/modules/tempo-lfo/STAGING.md b/sdk/octatrack/modules/tempo-lfo/STAGING.md index 1a50d56353..8c94262016 100644 --- a/sdk/octatrack/modules/tempo-lfo/STAGING.md +++ b/sdk/octatrack/modules/tempo-lfo/STAGING.md @@ -22,7 +22,7 @@ Until that Base PR merges (and lea lands with FM Synth migrate), Tempo cannot sh ### 2. `resources.cpuPrice` via Undo-only `npm run device:price` -Same gate as Seq Pos (MOP-249). mop255 cfmeter is **not** a price. **No USB this turn** — cannot measure. +**Done** 2026-11-26 DESKTOP: value **0** (% of frame; at rest frame +0, cpu +0) on mwrm `654530b1…` / 852 B. mop255 cfmeter is not a price. See `evidence/cpu-price.json`. ### 3. USB `.mwrm` @@ -41,7 +41,7 @@ Offline rebuild against Base draft index **63** staged: - [x] Honesty: no forged `cpuPrice` - [x] Base draft prepared separately (index 63; PR held) - [x] USB `.mwrm` row (upstream rebuild vs Base draft — needs `device:price`) -- [ ] Measured `resources.cpuPrice` +- [x] Measured `resources.cpuPrice` = **0** (Undo-only `device:price` 2026-11-26; `evidence/cpu-price.json`; honest at-rest +0) - [ ] Upstream listing PR ## Resume order diff --git a/sdk/octatrack/modules/tempo-lfo/TESTING.md b/sdk/octatrack/modules/tempo-lfo/TESTING.md index 2a4a47f8ce..555bcfb3bf 100644 --- a/sdk/octatrack/modules/tempo-lfo/TESTING.md +++ b/sdk/octatrack/modules/tempo-lfo/TESTING.md @@ -160,11 +160,10 @@ Evidence: Tip-docs only. **No USB. No Accept.** Intended mirror of Micro Timing [#2193](https://github.com/repeat98/modwerk/pull/2193) to `repeat98/modwerk` -**not opened**: upstream tip requires `resources.cpuPrice` with -`tool` starting `npm run device:price`. Fork pin has none. mop255 cfmeter -load (287.8/287.8) is **not** a price — do not relabel. Same gate as -Seq Pos MOP-249. Base draft `cursor/ot-lfo-pmtr-dest-base-a318` @ `9cd7428c4` -(index **63**; lea deferred) is on the fork; PR held for Jon. +`resources.cpuPrice` **measured** Undo-only 2026-11-26: value **0** on +shipped `654530b1…` / 852 B (`evidence/cpu-price.json`). mop255 cfmeter +is **not** a price. Base PR [#2261](https://github.com/repeat98/modwerk/pull/2261) +open (index **63**; lea deferred); do not merge Base here. **Shipped vs Keep package:** hardware/qual cites bind Keep tip `643b46c3…` / 724 B (fork base index 31). Staged upstream USB package is @@ -179,7 +178,8 @@ tip-matched image and rebind `imageSha256`. See | Fork pin / Keep / qual / cycles | **PASS** (cite mop253–257; Keep `643b46c3…`) | | Staged upstream `.mwrm` | `654530b1…` / 852 B — **not** covered by Keep | | Base `ot_lfo_pmtr_dest` on upstream | **Draft** on fork (PR held); not on `main` | -| Upstream listing PR | **Blocked** — no forged `cpuPrice`; price + qualify on shipped | +| `resources.cpuPrice` | **0** — Undo-only `device:price` 2026-11-26 on `654530b1…` (`evidence/cpu-price.json`) | +| Upstream listing PR | **Ready to open** (Keep cites remain fork tip; shipped digest priced) | | Accept invent | none | Evidence: diff --git a/sdk/octatrack/modules/tempo-lfo/octamod.module.json b/sdk/octatrack/modules/tempo-lfo/octamod.module.json index 1ddc316220..3f9d660498 100644 --- a/sdk/octatrack/modules/tempo-lfo/octamod.module.json +++ b/sdk/octatrack/modules/tempo-lfo/octamod.module.json @@ -16,10 +16,10 @@ "label": "TEMPO", "family": "Sequencer", "summary": "Maps project/global tempo to a new LFO PMTR destination, TEMPO, so LFOs can address BPM.", - "overview": "Tempo LFO exposes the stock project tempo (BPM × 24 at 0x8000181c, 30–300 BPM) as LFO SETUP PMTR = TEMPO (index 39). Any audio-track LFO can then modulate global tempo with stock depth, waves, locks and scenes. The TEMPO key / LEVEL tempo edit remains the base editor; when an LFO writes TEMPO, the module publishes the mapped BPM into the same project word REPITCH and the frame builder already follow. Index 39 follows the coordinated map 30 PROB … 38 TSTR / 39 TEMPO. This tip does not own track speed (TSPD exists) and does not claim SPOS or Play Modes remapper sites.", + "overview": "Tempo LFO exposes the stock project tempo (BPM \u00d7 24 at 0x8000181c, 30\u2013300 BPM) as LFO SETUP PMTR = TEMPO (index 39). Any audio-track LFO can then modulate global tempo with stock depth, waves, locks and scenes. The TEMPO key / LEVEL tempo edit remains the base editor; when an LFO writes TEMPO, the module publishes the mapped BPM into the same project word REPITCH and the frame builder already follow. Index 39 follows the coordinated map 30 PROB \u2026 38 TSTR / 39 TEMPO. This tip does not own track speed (TSPD exists) and does not claim SPOS or Play Modes remapper sites.", "highlights": [ "LFO SETUP: PMTR = TEMPO (index 39)", - "Publishes into stock PROJECT_BPM24 (30–300 BPM)", + "Publishes into stock PROJECT_BPM24 (30\u2013300 BPM)", "Base edit stays the TEMPO key / LEVEL tempo", "Does not own TSPD or SPOS / Play Modes remappers" ], @@ -29,7 +29,7 @@ ] }, "access": { - "location": "TEMPO key for the base; LFO SETUP → PMTR = TEMPO for modulation", + "location": "TEMPO key for the base; LFO SETUP \u2192 PMTR = TEMPO for modulation", "steps": [ "Select an audio track with a clear rhythm.", "Hold the TEMPO key and set a known BPM (for example 120).", @@ -46,7 +46,7 @@ "name": "TEMPO", "default": 42, "count": 128, - "doc": "Project/global tempo published for LFO PMTR TEMPO. High byte 0–127 maps onto 30–300 BPM (stock PROJECT_BPM24). Base edited with the TEMPO key; LFO writes the live shadow word.", + "doc": "Project/global tempo published for LFO PMTR TEMPO. High byte 0\u2013127 maps onto 30\u2013300 BPM (stock PROJECT_BPM24). Base edited with the TEMPO key; LFO writes the live shadow word.", "labels": null } ], @@ -58,12 +58,12 @@ "uiClaims": [], "limitations": [ "USB packages contribute ot_lfo_pmtr_dest (TEMPO index 39) and drop base-owned count/formatter/beq/lea alone-sink sites. Peer LFO drafts stay listed in conflicts until modules:compat proves coexistence. See docs/OCTATRACK_LFO_PMTR_EXTENSION.md.", - "First Modwerk catalog release (MOP-257): tests.qualification placed under Jon owner review (G); sdk/catalog.json pin authorized. Cite Keep mop253/254 package 643b46c3…; measured 624 mop255; qual tip mop256.", + "First Modwerk catalog release (MOP-257): tests.qualification placed under Jon owner review (G); sdk/catalog.json pin authorized. Cite Keep mop253/254 package 643b46c3\u2026; measured 624 mop255; qual tip mop256.", "Audio tracks only; MIDI tracks and MIDI LFOs unwired in 0.1.0.", "Publishes global PROJECT_BPM24; last writing track wins. Does not own per-track scale/speed (use TSPD).", "Does not claim ev_audio_step / Play Modes / SPOS remapper sites.", - "Flash/code package totals unmeasured on tip (authored .bss 24 B tip-wired). Emulator instruction counts ≠ chip wall-clock.", - "Upstream first-release staging (MOP-273): Base draft cursor/ot-lfo-pmtr-dest-base-a318 @9cd7428c4 (index 63; lea deferred; PR held). USB .mwrm rebuilt offline 654530b1…/852 B against that draft (not Keep 643b46c3…). resources.cpuPrice via npm run device:price not yet measured — do not invent.", + "Flash/code package totals unmeasured on tip (authored .bss 24 B tip-wired). Emulator instruction counts \u2260 chip wall-clock.", + "Upstream first-release staging (MOP-273): Base PR #2261 (index 63; lea deferred). USB .mwrm 654530b1\u2026/852 B. resources.cpuPrice = 0 via Undo-only npm run device:price 2026-11-26 (evidence/cpu-price.json); honest at-rest +0 \u2014 do not invent a different price.", "Peer LFO / sequencer modules (including seq-pos) stay conflict-listed until they are listed on upstream and modules:compat proves coexistence; conflicts array left empty while those ids are absent from sdk/octatrack/modules (modules:generate refuses unknown conflict ids)." ] }, @@ -84,7 +84,7 @@ "value": 624, "unit": "cycles/event", "method": "emulator", - "conditions": "Static + measured 39 authored ×16 V4 = 624 (mop213/mop255). Budget 4790 peer cite. Emulator ≠ chip.", + "conditions": "Static + measured 39 authored \u00d716 V4 = 624 (mop213/mop255). Budget 4790 peer cite. Emulator \u2260 chip.", "source": "evidence/performance.json" }, "impact": { @@ -120,7 +120,7 @@ }, "tests": { "report": "TESTING.md", - "summary": "mop252 audible Undo PASS; mop253 Keep Accept PASS; mop254 reboot PASS; mop255 measured 624 + load/stress; mop256 A–G honesty; mop257 tests.qualification placed (Jon owner-review G) + fork catalog pin. Upstream listing PR blocked on measured cpuPrice (device:price) + shipped USB .mwrm (MOP-273). No Accept invent.", + "summary": "mop252 audible Undo PASS; mop253 Keep Accept PASS; mop254 reboot PASS; mop255 measured 624 + load/stress; mop256 A\u2013G honesty; mop257 tests.qualification placed (Jon owner-review G) + fork catalog pin. Upstream listing: cpuPrice 0 measured Undo-only device:price 2026-11-26 on mwrm 654530b1\u2026 (MOP-273). No Accept invent.", "hardwareStatus": "reported", "evidenceRevision": "2423e32b3cb6c8823f5caeb1864ecb9a04f4bd74", "gates": [ @@ -140,11 +140,11 @@ "unit": "cycles/event", "method": "emulator", "conditions": { - "parameterExtremes": "High byte 0 / 64 / 127 on tm_bpm_w[0]; out-of-range after_store pointer (tm_bpm_w-2) early exit. MOP-255 ot_emu PC-watch: high0/64/127 authored 39 → 624 cycles (matches static); OOR authored 9 → 144. PROJECT_BPM24 clamps cited from map only.", - "parameterModulation": "LFO DEP / WAVE / MULT / TRIG into TEMPO; p-locks and scenes that move DEP; MIDI CC unused this place — justified unused.", + "parameterExtremes": "High byte 0 / 64 / 127 on tm_bpm_w[0]; out-of-range after_store pointer (tm_bpm_w-2) early exit. MOP-255 ot_emu PC-watch: high0/64/127 authored 39 \u2192 624 cycles (matches static); OOR authored 9 \u2192 144. PROJECT_BPM24 clamps cited from map only.", + "parameterModulation": "LFO DEP / WAVE / MULT / TRIG into TEMPO; p-locks and scenes that move DEP; MIDI CC unused this place \u2014 justified unused.", "modeSwitching": "Undo leave [] (mop252); Keep Accept + reboot (mop253/254). Part / PMTR away / DEP=0 cited as prior smoke, not separate qual stress.", - "maxLoad": "Emulator flood ~3000 three-byte/s + clock 240 BPM; mop255 stress 62 s REACHED (170887 frames; hangs 0; dropped 0; no Part callAsMain). cfmeter load stock/module longest 287.8/287.8 µs under matched flood (TEMPO store-driven; no measurable frame-ISR delta).", - "inputConditions": "ot_emu card-backed project; DRAM trampoline into tm_on_store; mop252 audible WAV A/B onset Δ +764. Emulator instruction counts ≠ chip wall-clock. Budget 4790 = 10% of 362.8 µs frame @ 132 MHz (peer cite; owner-reviewed at place)." + "maxLoad": "Emulator flood ~3000 three-byte/s + clock 240 BPM; mop255 stress 62 s REACHED (170887 frames; hangs 0; dropped 0; no Part callAsMain). cfmeter load stock/module longest 287.8/287.8 \u00b5s under matched flood (TEMPO store-driven; no measurable frame-ISR delta).", + "inputConditions": "ot_emu card-backed project; DRAM trampoline into tm_on_store; mop252 audible WAV A/B onset \u0394 +764. Emulator instruction counts \u2260 chip wall-clock. Budget 4790 = 10% of 362.8 \u00b5s frame @ 132 MHz (peer cite; owner-reviewed at place)." }, "report": "TESTING.md" } @@ -164,7 +164,7 @@ "sharedBytes": 24, "maxInstances": 1, "totalBytes": 24, - "conditions": "Authored .bss 16+8=24 bytes from unit.s — source-visible (MOP-257 place). Keep USB package 643b46c3… / 724 B cited as package identity only — flash/code size remains unmeasured on tip (no flash region tip-wired). No DSP.", + "conditions": "Authored .bss 16+8=24 bytes from unit.s \u2014 source-visible (MOP-257 place). Keep USB package 643b46c3\u2026 / 724 B cited as package identity only \u2014 flash/code size remains unmeasured on tip (no flash region tip-wired). No DSP.", "report": "TESTING.md" }, "hardware": { @@ -175,11 +175,11 @@ "tester": "jonathanwardle1992-beep", "sourceRevision": "2423e32b3cb6c8823f5caeb1864ecb9a04f4bd74", "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", - "summary": "Owner-authorized tip placement (MOP-257 / Jon owner-review G) after mop256 honesty. Cite mop205 USB smoke SETUP TEMPO + words/BPM24; mop252 Keep-safe Undo audibleProven (onset Δ +764; Undo []); mop253 Keep Accept on tip24 package 643b46c3… (724 B; self-test PASS; companions preserved); mop254 reboot persistence PASS; mop255 ot_emu measured 624 (= static) + cfmeter load 287.8/287.8 + stress 62 s REACHED. Memory tip-wired authored .bss 24 B; flash unmeasured. Catalog PINNED (MOP-257; authorized with place).", + "summary": "Owner-authorized tip placement (MOP-257 / Jon owner-review G) after mop256 honesty. Cite mop205 USB smoke SETUP TEMPO + words/BPM24; mop252 Keep-safe Undo audibleProven (onset \u0394 +764; Undo []); mop253 Keep Accept on tip24 package 643b46c3\u2026 (724 B; self-test PASS; companions preserved); mop254 reboot persistence PASS; mop255 ot_emu measured 624 (= static) + cfmeter load 287.8/287.8 + stress 62 s REACHED. Memory tip-wired authored .bss 24 B; flash unmeasured. Catalog PINNED (MOP-257; authorized with place).", "limitations": [ - "imageSha256 binds the Keep USB tip package digest 643b46c3… (mop205/253), not the private mop255 ot_emu bus image (private; not in-repo).", - "Memory tip-wires source-visible .bss 24 B only; linked-image flash/code byte map was not measured on tip — package file 724 B is identity, not a region account.", - "Budget 4790 is owner-reviewed peer 10% frame envelope (362.8 µs @ 132 MHz); measured 624 sits under it. Emulator instruction counts are not chip wall-clock.", + "imageSha256 binds the Keep USB tip package digest 643b46c3\u2026 (mop205/253), not the private mop255 ot_emu bus image (private; not in-repo).", + "Memory tip-wires source-visible .bss 24 B only; linked-image flash/code byte map was not measured on tip \u2014 package file 724 B is identity, not a region account.", + "Budget 4790 is owner-reviewed peer 10% frame envelope (362.8 \u00b5s @ 132 MHz); measured 624 sits under it. Emulator instruction counts are not chip wall-clock.", "mop255 stress/load are emulator-only; eight-track hardware stress with three LFOs on TEMPO was not a separate qual stress pass.", "SETUP LCD glyph OCR for the TEMPO label remains Open (panel PNGs retained; not OCR Proven).", "First catalog release (MOP-257) after mop256 honesty + Jon place/pin auth; no Accept invent this tip." @@ -224,7 +224,7 @@ "firmware": "1.40C", "moduleVersion": "0.1.0-experimental", "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", - "setup": "Hardware USB tip package 643b46c3…; SETUP PMTR TEMPO (index 39); monochrome LCD capture mop205 03-setup-pmtr-tempo.png. Not OCR Proven." + "setup": "Hardware USB tip package 643b46c3\u2026; SETUP PMTR TEMPO (index 39); monochrome LCD capture mop205 03-setup-pmtr-tempo.png. Not OCR Proven." } }, { @@ -241,7 +241,7 @@ "firmware": "1.40C", "moduleVersion": "0.1.0-experimental", "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", - "setup": "Hardware USB tip twin mid-trial mop252 05-pmtr-B-tempo.png; audibleProven onset Δ +764; Undo []." + "setup": "Hardware USB tip twin mid-trial mop252 05-pmtr-B-tempo.png; audibleProven onset \u0394 +764; Undo []." } }, { diff --git a/src/catalog/module-documents.json b/src/catalog/module-documents.json index acbeac9e79..0c420bae3c 100644 --- a/src/catalog/module-documents.json +++ b/src/catalog/module-documents.json @@ -11046,6 +11046,271 @@ } ] }, + { + "schemaVersion": 2, + "id": "tempo-lfo", + "key": "TEMPO", + "name": "Tempo LFO", + "version": "0.1.0-experimental", + "category": "machines", + "access": { + "location": "TEMPO key for the base; LFO SETUP → PMTR = TEMPO for modulation", + "steps": [ + "Select an audio track with a clear rhythm.", + "Hold the TEMPO key and set a known BPM (for example 120).", + "Hold FUNC and press LFO; set PMTR to TEMPO and adjust DEP / WAVE / TRIG." + ], + "screenshots": [ + "media/ot-setup-pmtr-tempo.png", + "media/ot-pmtr-tempo.png", + "media/ot-lfo-page-tempo.png" + ] + }, + "author": { + "github": "jonathanwardle1992-beep", + "credits": [ + "jonathanwardle1992-beep: project/global tempo as LFO PMTR TEMPO destination, ColdFire unit, documentation and thumbnail." + ] + }, + "nativeManifest": "manifest.py", + "presentation": { + "label": "TEMPO", + "family": "Sequencer", + "summary": "Maps project/global tempo to a new LFO PMTR destination, TEMPO, so LFOs can address BPM.", + "overview": "Tempo LFO exposes the stock project tempo (BPM × 24 at 0x8000181c, 30–300 BPM) as LFO SETUP PMTR = TEMPO (index 39). Any audio-track LFO can then modulate global tempo with stock depth, waves, locks and scenes. The TEMPO key / LEVEL tempo edit remains the base editor; when an LFO writes TEMPO, the module publishes the mapped BPM into the same project word REPITCH and the frame builder already follow. Index 39 follows the coordinated map 30 PROB … 38 TSTR / 39 TEMPO. This tip does not own track speed (TSPD exists) and does not claim SPOS or Play Modes remapper sites.", + "highlights": [ + "LFO SETUP: PMTR = TEMPO (index 39)", + "Publishes into stock PROJECT_BPM24 (30–300 BPM)", + "Base edit stays the TEMPO key / LEVEL tempo", + "Does not own TSPD or SPOS / Play Modes remappers" + ], + "usage": [ + "Set a clear project tempo so BPM changes are audible.", + "In LFO SETUP set PMTR to TEMPO and raise DEP to modulate global tempo." + ] + }, + "controls": [ + { + "name": "TEMPO", + "default": 42, + "count": 128, + "doc": "Project/global tempo published for LFO PMTR TEMPO. High byte 0–127 maps onto 30–300 BPM (stock PROJECT_BPM24). Base edited with the TEMPO key; LFO writes the live shadow word.", + "labels": null + } + ], + "compatibility": { + "firmware": "1.40C", + "effectId": null, + "location": "Audio tracks", + "conflicts": [], + "uiClaims": [], + "limitations": [ + "USB packages contribute ot_lfo_pmtr_dest (TEMPO index 39) and drop base-owned count/formatter/beq/lea alone-sink sites. Peer LFO drafts stay listed in conflicts until modules:compat proves coexistence. See docs/OCTATRACK_LFO_PMTR_EXTENSION.md.", + "First Modwerk catalog release (MOP-257): tests.qualification placed under Jon owner review (G); sdk/catalog.json pin authorized. Cite Keep mop253/254 package 643b46c3…; measured 624 mop255; qual tip mop256.", + "Audio tracks only; MIDI tracks and MIDI LFOs unwired in 0.1.0.", + "Publishes global PROJECT_BPM24; last writing track wins. Does not own per-track scale/speed (use TSPD).", + "Does not claim ev_audio_step / Play Modes / SPOS remapper sites.", + "Flash/code package totals unmeasured on tip (authored .bss 24 B tip-wired). Emulator instruction counts ≠ chip wall-clock.", + "Upstream first-release staging (MOP-273): Base PR #2261 (index 63; lea deferred). USB .mwrm 654530b1…/852 B. resources.cpuPrice = 0 via Undo-only npm run device:price 2026-11-26 (evidence/cpu-price.json); honest at-rest +0 — do not invent a different price.", + "Peer LFO / sequencer modules (including seq-pos) stay conflict-listed until they are listed on upstream and modules:compat proves coexistence; conflicts array left empty while those ids are absent from sdk/octatrack/modules (modules:generate refuses unknown conflict ids)." + ] + }, + "resources": { + "recorded": "25 November 2026; static MOP-213; measured MOP-255; qual place + catalog pin MOP-257", + "storage": { + "label": "DRAM unit and per-track state", + "display": "Authored 24 B .bss (package unmeasured)", + "value": 24, + "unit": "bytes", + "method": "static", + "conditions": "Authored .bss tm_bpm_w[8] halfwords + tm_dirty[8] bytes = 24. Package/flash totals unmeasured on tip. No DSP memory.", + "source": "TESTING.md" + }, + "processing": { + "label": "ColdFire, per after_store when PMTR=TEMPO", + "display": "624 cycles/event measured (= static)", + "value": 624, + "unit": "cycles/event", + "method": "emulator", + "conditions": "Static + measured 39 authored ×16 V4 = 624 (mop213/mop255). Budget 4790 peer cite. Emulator ≠ chip.", + "source": "evidence/performance.json" + }, + "impact": { + "conditions": "Eight audio tracks; up to three LFOs per track on TEMPO (global publish).", + "cpu": { + "level": "minimal", + "basis": "measured-comparison", + "rationale": "Contribute after_store map/publish only (measured 39 authored / 624 envelope matches static). No per-sample DSP work.", + "source": "TESTING.md" + }, + "dsp": { + "level": "minimal", + "basis": "source-estimate", + "rationale": "No DSP code.", + "source": "manifest.py" + }, + "memory": { + "level": "minimal", + "basis": "source-estimate", + "rationale": "Authored .bss 24 bytes plus small contribute record and TEMPO label; package totals unmeasured.", + "source": "TESTING.md" + } + }, + "cpuPrice": { + "value": 0, + "unit": "percent-of-frame", + "measure": "frame-interrupt", + "tool": "npm run device:price -- --write", + "date": "2026-11-26", + "conditions": "Octatrack MKII, after tip24 Keep PC, Part 1, transport playing, stock FILTER/DELAY companions, empty twin inventory, Undo-only trial; base dce64a781f8581b4 (development twin, Base draft index 63 + guard, after tip24 Keep PC); 3 readings of 8 s a state. Frame interrupt 52.1 % before, 52.1 % installed and used nowhere; CPU meter 62 % before, 62 % at rest.", + "source": "evidence/cpu-price.json" + } + }, + "tests": { + "report": "TESTING.md", + "summary": "mop252 audible Undo PASS; mop253 Keep Accept PASS; mop254 reboot PASS; mop255 measured 624 + load/stress; mop256 A–G honesty; mop257 tests.qualification placed (Jon owner-review G) + fork catalog pin. Upstream listing: cpuPrice 0 measured Undo-only device:price 2026-11-26 on mwrm 654530b1… (MOP-273). No Accept invent.", + "hardwareStatus": "reported", + "evidenceRevision": "2423e32b3cb6c8823f5caeb1864ecb9a04f4bd74", + "gates": [ + "modules/tempo-lfo/verify.py" + ], + "qualification": { + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Include Tempo LFO in a build; set a known project tempo (for example 120 BPM) on an audio track with a clear rhythm.", + "Hold FUNC+LFO; set PMTR=TEMPO, raise DEP, pick WAVE/TRIG; press PLAY and watch project BPM move.", + "Set DEP to 0 or change PMTR away from TEMPO; re-edit with the TEMPO key." + ] + }, + "screenshots": [ + "media/ot-setup-pmtr-tempo.png", + "media/ot-pmtr-tempo.png", + "media/ot-lfo-page-tempo.png" + ], + "screenshotStyle": "black-and-white" + }, + "moduleVersion": "0.1.0-experimental", + "sourceSha256": "5a7bfaa11ec522ece3157b562d832e660053c789144fb2996ca2281d86ba3888", + "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", + "cycles": [ + { + "processor": "coldfire", + "worstCase": 624, + "maxConfiguration": 624, + "maxInstances": 1, + "budget": 4790, + "unit": "cycles/event", + "method": "emulator", + "conditions": { + "parameterExtremes": "High byte 0 / 64 / 127 on tm_bpm_w[0]; out-of-range after_store pointer (tm_bpm_w-2) early exit. MOP-255 ot_emu PC-watch: high0/64/127 authored 39 → 624 cycles (matches static); OOR authored 9 → 144. PROJECT_BPM24 clamps cited from map only.", + "parameterModulation": "LFO DEP / WAVE / MULT / TRIG into TEMPO; p-locks and scenes that move DEP; MIDI CC unused this place — justified unused.", + "modeSwitching": "Undo leave [] (mop252); Keep Accept + reboot (mop253/254). Part / PMTR away / DEP=0 cited as prior smoke, not separate qual stress.", + "maxLoad": "Emulator flood ~3000 three-byte/s + clock 240 BPM; mop255 stress 62 s REACHED (170887 frames; hangs 0; dropped 0; no Part callAsMain). cfmeter load stock/module longest 287.8/287.8 µs under matched flood (TEMPO store-driven; no measurable frame-ISR delta).", + "inputConditions": "ot_emu card-backed project; DRAM trampoline into tm_on_store; mop252 audible WAV A/B onset Δ +764. Emulator instruction counts ≠ chip wall-clock. Budget 4790 = 10% of 362.8 µs frame @ 132 MHz (peer cite; owner-reviewed at place)." + }, + "report": "TESTING.md" + } + ], + "memory": { + "regions": [ + { + "name": "cpu-ram tm_bpm_w[8] + tm_dirty[8] (.bss authored 24 B)", + "space": "cpu-ram", + "words": 12, + "wordBits": 16, + "bytes": 24, + "scope": "shared" + } + ], + "perInstanceBytes": 0, + "sharedBytes": 24, + "maxInstances": 1, + "totalBytes": 24, + "conditions": "Authored .bss 16+8=24 bytes from unit.s — source-visible (MOP-257 place). Keep USB package 643b46c3… / 724 B cited as package identity only — flash/code size remains unmeasured on tip (no flash region tip-wired). No DSP.", + "report": "TESTING.md" + }, + "hardware": { + "kind": "functional", + "status": "reported", + "model": "MKII", + "testedOn": "2026-11-25", + "tester": "jonathanwardle1992-beep", + "sourceRevision": "2423e32b3cb6c8823f5caeb1864ecb9a04f4bd74", + "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", + "summary": "Owner-authorized tip placement (MOP-257 / Jon owner-review G) after mop256 honesty. Cite mop205 USB smoke SETUP TEMPO + words/BPM24; mop252 Keep-safe Undo audibleProven (onset Δ +764; Undo []); mop253 Keep Accept on tip24 package 643b46c3… (724 B; self-test PASS; companions preserved); mop254 reboot persistence PASS; mop255 ot_emu measured 624 (= static) + cfmeter load 287.8/287.8 + stress 62 s REACHED. Memory tip-wired authored .bss 24 B; flash unmeasured. Catalog PINNED (MOP-257; authorized with place).", + "limitations": [ + "imageSha256 binds the Keep USB tip package digest 643b46c3… (mop205/253), not the private mop255 ot_emu bus image (private; not in-repo).", + "Memory tip-wires source-visible .bss 24 B only; linked-image flash/code byte map was not measured on tip — package file 724 B is identity, not a region account.", + "Budget 4790 is owner-reviewed peer 10% frame envelope (362.8 µs @ 132 MHz); measured 624 sits under it. Emulator instruction counts are not chip wall-clock.", + "mop255 stress/load are emulator-only; eight-track hardware stress with three LFOs on TEMPO was not a separate qual stress pass.", + "SETUP LCD glyph OCR for the TEMPO label remains Open (panel PNGs retained; not OCR Proven).", + "First catalog release (MOP-257) after mop256 honesty + Jon place/pin auth; no Accept invent this tip." + ], + "report": "TESTING.md" + } + } + }, + "license": { + "spdx": "MIT", + "file": "LICENSE", + "declaration": "Original work by jonathanwardle1992-beep, MIT (LICENSE). Site plan uses published addresses and SHA-256 guards only. No Elektron firmware, extracted routines or tables." + }, + "media": [ + { + "path": "media/ot-setup-pmtr-tempo.png", + "captureType": "hardware", + "caption": "LFO SETUP PMTR = TEMPO on tip-matched Keep-safe Undo twin mid-trial (mop205 smoke lineage). Hardware USB LCD.", + "alt": "Octatrack LFO SETUP page with PMTR set to TEMPO.", + "credit": "Modwerk contributors; Elektron Octatrack UI", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "LFO SETUP", + "shows": "location-and-controls", + "firmware": "1.40C", + "moduleVersion": "0.1.0-experimental", + "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", + "setup": "Hardware USB tip package 643b46c3…; SETUP PMTR TEMPO (index 39); monochrome LCD capture mop205 03-setup-pmtr-tempo.png. Not OCR Proven." + } + }, + { + "path": "media/ot-pmtr-tempo.png", + "captureType": "hardware", + "caption": "LFO PMTR = TEMPO before audible WAV B on Keep-safe Undo twin (mop252).", + "alt": "Octatrack LFO page with PMTR TEMPO selected.", + "credit": "Modwerk contributors; Elektron Octatrack UI", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "LFO", + "shows": "controls", + "firmware": "1.40C", + "moduleVersion": "0.1.0-experimental", + "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", + "setup": "Hardware USB tip twin mid-trial mop252 05-pmtr-B-tempo.png; audibleProven onset Δ +764; Undo []." + } + }, + { + "path": "media/ot-lfo-page-tempo.png", + "captureType": "hardware", + "caption": "LFO page with TEMPO destination at high DEP during mop252 audible dig.", + "alt": "Octatrack LFO page showing TEMPO destination settings.", + "credit": "Modwerk contributors; Elektron Octatrack UI", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "LFO", + "shows": "controls", + "firmware": "1.40C", + "moduleVersion": "0.1.0-experimental", + "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", + "setup": "Hardware USB tip twin mop252 06-lfo-page-max.png; Keep-safe Undo only." + } + } + ] + }, { "schemaVersion": 2, "id": "beat-slicer", From b8c2f23e2f192bd86048de3e8f5d40d1efe89ec9 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 26 Nov 2026 16:31:59 +0000 Subject: [PATCH 08/14] Docs: name Tempo 0.1.0-experimental in TESTING for modules:check. Co-authored-by: jonathanwardle1992-beep --- sdk/octatrack/modules/tempo-lfo/TESTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk/octatrack/modules/tempo-lfo/TESTING.md b/sdk/octatrack/modules/tempo-lfo/TESTING.md index 555bcfb3bf..b044802b04 100644 --- a/sdk/octatrack/modules/tempo-lfo/TESTING.md +++ b/sdk/octatrack/modules/tempo-lfo/TESTING.md @@ -1,5 +1,10 @@ # Tempo LFO testing +Version **0.1.0-experimental**. Upstream listing build: USB package +`654530b1…` / 852 B (Base draft index 63); Undo-only `device:price` = 0 on +that digest (2026-11-26). Keep/reboot/audible cites remain fork tip +`643b46c3…` unless re-Accept on the shipped image. + ### MOP-204 tip scaffold Parked draft under `sdk/octabam/modules/tempo-lfo/`: contribute `ot_lfo_pmtr_dest` From af7dc0a8fcaa7315207536741ce95d381685089f Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 29 Nov 2026 19:54:29 +0000 Subject: [PATCH 09/14] =?UTF-8?q?Fix:=20Tempo=20LFO=20draft=20CI=20?= =?UTF-8?q?=E2=80=94=20short=20player=20release=20notes=20and=20procedure?= =?UTF-8?q?=20record.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Trim catalog changelog to five player lines; record deferred test:procedure on shipping mwrm 654530b1… in TESTING.md (USB paused). Co-authored-by: jonathanwardle1992 --- sdk/octatrack/modules/tempo-lfo/TESTING.md | 26 ++++++++++++++++--- .../module-changelogs/tempo-lfo.json | 8 +++--- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/sdk/octatrack/modules/tempo-lfo/TESTING.md b/sdk/octatrack/modules/tempo-lfo/TESTING.md index b044802b04..18670ef2c8 100644 --- a/sdk/octatrack/modules/tempo-lfo/TESTING.md +++ b/sdk/octatrack/modules/tempo-lfo/TESTING.md @@ -1,9 +1,29 @@ # Tempo LFO testing Version **0.1.0-experimental**. Upstream listing build: USB package -`654530b1…` / 852 B (Base draft index 63); Undo-only `device:price` = 0 on -that digest (2026-11-26). Keep/reboot/audible cites remain fork tip -`643b46c3…` unless re-Accept on the shipped image. +`654530b1accbaa058768f36cc17f1e541680d31d0187d4f46191de2eb8751c96` +(`public/octatrack-modules/tempo-lfo/0.1.0-experimental.mwrm`, 852 B, Base +index 63). Undo-only `device:price` = 0 on that digest (2026-11-26). +Keep/reboot/audible cites remain fork tip `643b46c3…` unless re-Accept on +the shipped image. + +## Test procedure record (0.1.0-experimental) + +`npm run test:procedure -- tempo-lfo` for package +`654530b1accbaa058768f36cc17f1e541680d31d0187d4f46191de2eb8751c96` — **not +run as a full procedure on the upstream image** (USB digs paused; unit +parked for Jon). Prior evidence this draft cites instead: + +| # | Step | Result | +|---|---|---| +| 1 | Software checks | not run: full `test:procedure` deferred; `module:doctor` / `modules:check` used on this tip | +| 2–5 | Compat / name build / DSP / emulator | not run: no full procedure this turn | +| 6–8 | Unit / soak | not run: USB/unit paused | +| 9 | Cost on the unit (`device:price`) | pass (prior): Undo-only 2026-11-26 on this exact mwrm → `resources.cpuPrice` 0 | +| 10–12 | Put back / agent / developer stage | not run: no Accept; Keep cites stay fork tip `643b46c3…` | + +Do not invent unit PASS for the upstream image. Re-run +`npm run test:procedure -- tempo-lfo` (with unit) before ready-for-review. ### MOP-204 tip scaffold diff --git a/src/community/module-changelogs/tempo-lfo.json b/src/community/module-changelogs/tempo-lfo.json index 4c16e094b0..23d60f8c99 100644 --- a/src/community/module-changelogs/tempo-lfo.json +++ b/src/community/module-changelogs/tempo-lfo.json @@ -3,9 +3,11 @@ "version": "0.1.0-experimental", "date": "2026-11-25", "changes": [ - "First Modwerk catalog release: LFO SETUP gains PMTR destination TEMPO (index 39). Stock LFOs can modulate project/global tempo (PROJECT_BPM24, 30\u2013300 BPM); the TEMPO key remains the base editor. ColdFire only \u2014 no DSP slot.", - "Publication cites Keep Accept + reboot persistence on tip package 643b46c3\u2026 (MOP-253/254), ot_emu measured 624 cycles/event matching static with matched load/stress (MOP-255), and owner-reviewed tests.qualification place with budget 4790 and authored .bss 24 bytes (MOP-257).", - "Limitations remain honest: flash/code size unmeasured on tip; emulator instruction counts are not chip wall-clock; last writing track wins on global tempo; peer LFO drafts stay conflict-listed until modules:compat; SETUP TEMPO OCR not Proven. Upstream listing also requires measured resources.cpuPrice via npm run device:price (not yet written)." + "First release: LFO SETUP gains TEMPO, so a stock LFO can modulate the project's tempo (30–300 BPM).", + "The TEMPO key still edits tempo by hand; this module only adds the LFO destination.", + "ColdFire only — no DSP slot and no own page beyond LFO SETUP / PMTR.", + "Known issue: when more than one LFO targets TEMPO, the last writing track wins.", + "Known issue: SETUP TEMPO on-screen recognition is not Proven yet." ] } ] From 8eb9c66cce681357cdc735677bcfbe35a488abc9 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 29 Nov 2026 19:58:58 +0000 Subject: [PATCH 10/14] chore: retrigger CI after board claim for tempo-lfo #2268 Co-authored-by: jonathanwardle1992 From 3c6aad7d0e502f34e40a7a44e5acefcac4dcb40e Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 29 Nov 2026 20:13:14 +0000 Subject: [PATCH 11/14] Fix: Tempo listing clears unused ot_lfo_pmtr_dest and stamps ABI 8. Co-authored-by: jonathanwardle1992 --- sdk/machines/octatrack/unused-hooks.json | 17 ++++++++--------- .../assets/octatrack-module-packages.json | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/sdk/machines/octatrack/unused-hooks.json b/sdk/machines/octatrack/unused-hooks.json index 0e79a70aad..ebd3c31ccb 100644 --- a/sdk/machines/octatrack/unused-hooks.json +++ b/sdk/machines/octatrack/unused-hooks.json @@ -1,11 +1,10 @@ { - "about": "The hooks and tables in events.json that no module, draft, module adapter, base build or test subscribes, raises or contributes to yet, each with one line saying why (hook_coverage.py, run by sdk/tests/test_hook_coverage.py). A hook here is base code no module exercises: the first place to look when the base needs room. Remove a line in the pull request that gives its hook a user; the check fails on a line whose hook is used or gone.", - "unused": { - "ot_dsp_effects": "program areas and stream channel (#2246), host-tested in test_dsp_programs.py; first users (program probe, Quadraverb) are drafts off the base branch", - "ot_midi_generators": "base table since #775, its reader host-tested; VECTOR MIDI contributed in VECTOR 0.3.0 (#1339) and left with 0.3.1 (#1342), its own module pending", - "ev_bank_write": "added in #1564 for MIDI Scenes and Kits, which keep data per project, bank and Part; first module pending", - "ev_project_reload": "added in #1564 for MIDI Scenes and Kits, which keep data per project, bank and Part; first module pending", - "ot_lfo_pmtr_dest": "base table index 63 for extended LFO SETUP PMTR; reader host-tested; first catalogue user (TEMPO) waits on dest-lea+FM Synth migrate, .mwrm and device:price", - "ot_reserved_64": "placeholder table keeping index 64 for ev_audio_step (#2271), which comes in a later base with a Play Modes release that subscribes it (owner, 28 November 2026); #2271 replaces it in place" - } + "about": "The hooks and tables in events.json that no module, draft, module adapter, base build or test subscribes, raises or contributes to yet, each with one line saying why (hook_coverage.py, run by sdk/tests/test_hook_coverage.py). A hook here is base code no module exercises: the first place to look when the base needs room. Remove a line in the pull request that gives its hook a user; the check fails on a line whose hook is used or gone.", + "unused": { + "ot_dsp_effects": "program areas and stream channel (#2246), host-tested in test_dsp_programs.py; first users (program probe, Quadraverb) are drafts off the base branch", + "ot_midi_generators": "base table since #775, its reader host-tested; VECTOR MIDI contributed in VECTOR 0.3.0 (#1339) and left with 0.3.1 (#1342), its own module pending", + "ev_bank_write": "added in #1564 for MIDI Scenes and Kits, which keep data per project, bank and Part; first module pending", + "ev_project_reload": "added in #1564 for MIDI Scenes and Kits, which keep data per project, bank and Part; first module pending", + "ot_reserved_64": "placeholder table keeping index 64 for ev_audio_step (#2271), which comes in a later base with a Play Modes release that subscribes it (owner, 28 November 2026); #2271 replaces it in place" + } } diff --git a/src/engine/assets/octatrack-module-packages.json b/src/engine/assets/octatrack-module-packages.json index 867013422c..87752f65f6 100644 --- a/src/engine/assets/octatrack-module-packages.json +++ b/src/engine/assets/octatrack-module-packages.json @@ -899,7 +899,7 @@ { "id": "tempo-lfo", "octabam": true, - "abi": 7, + "abi": 8, "features": 1, "sites": 0, "copies": 0, From d788769d305f048bf826ecd7f54482a273589aa2 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 29 Nov 2026 20:26:00 +0000 Subject: [PATCH 12/14] Fix: Tempo package features include site-events (129) for ABI 8 hooks. Co-authored-by: jonathanwardle1992 --- src/engine/assets/octatrack-module-packages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/assets/octatrack-module-packages.json b/src/engine/assets/octatrack-module-packages.json index 87752f65f6..1e08378640 100644 --- a/src/engine/assets/octatrack-module-packages.json +++ b/src/engine/assets/octatrack-module-packages.json @@ -900,7 +900,7 @@ "id": "tempo-lfo", "octabam": true, "abi": 8, - "features": 1, + "features": 129, "sites": 0, "copies": 0, "fills": 0, From 5b1e88ff892f30f1b17a63a46afe595688d8c810 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 29 Nov 2026 20:39:45 +0000 Subject: [PATCH 13/14] Fix: stamp Tempo perf record and rehash qualification after listing polish. perf:audit --stamp binds cycles to current source; module:qualify --rehash updates sourceSha256 for evidence-only edits; modules:generate refreshes docs. Co-authored-by: jonathanwardle1992 --- sdk/octatrack/modules/tempo-lfo/evidence/performance.json | 1 + sdk/octatrack/modules/tempo-lfo/octamod.module.json | 2 +- src/catalog/module-documents.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk/octatrack/modules/tempo-lfo/evidence/performance.json b/sdk/octatrack/modules/tempo-lfo/evidence/performance.json index ab73ab5fca..9be8034805 100644 --- a/sdk/octatrack/modules/tempo-lfo/evidence/performance.json +++ b/sdk/octatrack/modules/tempo-lfo/evidence/performance.json @@ -2,6 +2,7 @@ "schema": 1, "module": "tempo-lfo", "version": "0.1.0-experimental", + "sourceSha256": "54e5a8de3509499afe8ddb98f3597f3e1a189065bf4c5ffa1b385166ae3b4cd9", "kind": "coldfire", "cycles": { "unit": "cycles/event", diff --git a/sdk/octatrack/modules/tempo-lfo/octamod.module.json b/sdk/octatrack/modules/tempo-lfo/octamod.module.json index 3f9d660498..e6e0a5b504 100644 --- a/sdk/octatrack/modules/tempo-lfo/octamod.module.json +++ b/sdk/octatrack/modules/tempo-lfo/octamod.module.json @@ -128,7 +128,7 @@ ], "qualification": { "moduleVersion": "0.1.0-experimental", - "sourceSha256": "5a7bfaa11ec522ece3157b562d832e660053c789144fb2996ca2281d86ba3888", + "sourceSha256": "9ef23cf7711c82a6d6560dc5e10b0a45391afa065823fda9e74a93a6ce809363", "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", "cycles": [ { diff --git a/src/catalog/module-documents.json b/src/catalog/module-documents.json index 0c420bae3c..82ed6c35d5 100644 --- a/src/catalog/module-documents.json +++ b/src/catalog/module-documents.json @@ -11192,7 +11192,7 @@ "screenshotStyle": "black-and-white" }, "moduleVersion": "0.1.0-experimental", - "sourceSha256": "5a7bfaa11ec522ece3157b562d832e660053c789144fb2996ca2281d86ba3888", + "sourceSha256": "9ef23cf7711c82a6d6560dc5e10b0a45391afa065823fda9e74a93a6ce809363", "imageSha256": "643b46c3e1b694b4c8d290d240762a1f415005e059f986a3ba790be8326c893c", "cycles": [ { From 88df5a7645f3b1f643bbb2789f589b1a0ba0dc34 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 29 Nov 2026 20:48:31 +0000 Subject: [PATCH 14/14] Fix: lengthen Tempo DSP impact rationale for resource indicator copy. Co-authored-by: jonathanwardle1992 --- sdk/octatrack/modules/tempo-lfo/octamod.module.json | 2 +- src/catalog/module-documents.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/octatrack/modules/tempo-lfo/octamod.module.json b/sdk/octatrack/modules/tempo-lfo/octamod.module.json index e6e0a5b504..861cee382f 100644 --- a/sdk/octatrack/modules/tempo-lfo/octamod.module.json +++ b/sdk/octatrack/modules/tempo-lfo/octamod.module.json @@ -98,7 +98,7 @@ "dsp": { "level": "minimal", "basis": "source-estimate", - "rationale": "No DSP code.", + "rationale": "ColdFire-only contribute package: no DSP words, no FX slot, no DSP pool use.", "source": "manifest.py" }, "memory": { diff --git a/src/catalog/module-documents.json b/src/catalog/module-documents.json index 82ed6c35d5..39b43ebfbe 100644 --- a/src/catalog/module-documents.json +++ b/src/catalog/module-documents.json @@ -11146,7 +11146,7 @@ "dsp": { "level": "minimal", "basis": "source-estimate", - "rationale": "No DSP code.", + "rationale": "ColdFire-only contribute package: no DSP words, no FX slot, no DSP pool use.", "source": "manifest.py" }, "memory": {