Skip to content

SCOPE 0.2.0-experimental (catalog) - #2344

Open
ilia-murzinov wants to merge 19 commits into
repeat98:mainfrom
ilia-murzinov:release/scope
Open

ilia-murzinov wants to merge 19 commits into
repeat98:mainfrom
ilia-murzinov:release/scope

Conversation

@ilia-murzinov

@ilia-murzinov ilia-murzinov commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Catalog release for SCOPE 0.2.0-experimental (hooks build, package f8a1ffeb984ea5e62aa2ce37f0eebdac3fbeda9fe9f3a4a7a9699326092e0273).

Behaviour: hold DOWN then press TEMPO for a full-panel scope on the selected audio track (OSC, XY, ALL). No effect slot. Tuner can share a set on this hooks build.

Tested on a unit: MKII, OS 1.40C, Modwerk base 311bb670, 27 November 2026. npm run test:procedure directory /private/tmp/scope-procedure-scope-020-20261127-2 passed steps 6–10 on package f8a1ffeb. Development-twin RAM trials and LCD captures on image e300c134 with the same package bytes are in TESTING.md. Tip e3f47703b (merged origin/main).

Edge cases

Case Why this change makes it a risk How run Result
Tuner + SCOPE one set shared UI/key hook path twin-dev-1014 device:test pass (reported earlier in TESTING.md)
TEMPO alone vs DOWN+TEMPO must not replace stock tempo by hand on twin pass
ev_usb_frame on base without USB shim rings may not fill documented in TESTING.md twin table pass on twins that raise the hook
ColdFire + MIDI stress while SCOPE open host MIDI flood must not hang the unit evidence/performance.json stress row (ot_emu, 1000 msg/s, 62 s, window open) pass: stuckNotes 0, hangs 0, dropped 0 (emulator, not hardware)

npm run module:doctor -- scope green on release/scope (e3f47703b). npm run modules:check -- scope green. npm run perf:audit -- check --stamp on evidence/performance.json. npm run module:qualify -- scope --check green.

What the guides lacked or got wrong: nothing (device.mjs TEMPO exposure is in this branch).

No check can prove these, so you vouch for them:

  • Changing a module someone else wrote: its author said yes before I started, and I link it here (a GitHub link, or Discord and the day). Ask the author first (own module: SCOPE / octabam upstream, not taking over another author's folder)

  • I read the guide for its category in docs/module-guides/ (and sequencing.md if it acts in time), and TESTING.md lists what I did not test. An effect module holds one effect. (machines / system UI hook module, not an effect slot; gaps named in TESTING.md)

  • Source and media are mine or properly licensed, with authors and full licence texts kept. Nothing comes from Elektron firmware: no extracted code or tables, upgrade files or factory content, and nothing is modelled on another current Elektron product.

  • Screenshots are real captures of the current module UI. Hardware results are what a named person saw on this exact build; emulator results are labelled as emulator results.

  • Automatically merge and publish my module update after checks pass.

  • I verified the source, licences, UI and qualification reports, including instance isolation and Part/project/reboot persistence where applicable; no required acceptance check is failed or untested.

@ilia-murzinov
ilia-murzinov marked this pull request as ready for review November 27, 2026 20:12
@ilia-murzinov
ilia-murzinov marked this pull request as draft November 27, 2026 20:34
@ilia-murzinov
ilia-murzinov marked this pull request as ready for review November 27, 2026 20:53
@ilia-murzinov
ilia-murzinov marked this pull request as draft November 27, 2026 21:02
@ilia-murzinov
ilia-murzinov marked this pull request as ready for review November 27, 2026 22:02
@github-actions

Copy link
Copy Markdown
Contributor

This update needs owner review instead of automatic publication: Pin each module author to an immutable GitHub account ID.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for this. The hooks build is the right direction: SCOPE no longer patches stock, so it can share a set with Tuner. The unit run and the LCD captures are what a first release needs. Three things before it can go into the library:

  1. Show it works on the base musicians have. SCOPE gets its audio from the USB frame hook, which the base only runs when it carries a module's USB function. The live trace in your captures came from a development twin built with site hooks. On the flashed 0.8.1 release base, the trial shows nothing crashed, but not that the window draws. Please open SCOPE on the current release base with a pattern playing and write in TESTING.md whether the trace moves. If it only moves with USB Audio in the set, or needs a base change, say so in the README's Compatibility section. Then remove the line asking musicians to "confirm on your base that ev_usb_frame runs": a musician can't check that. (The hook is documented for a USB function filling its own ring. If several meters will want an audio tap, that is a hook to propose on the cumulative base draft #2333.)
  2. Release notes for players. The second line ("Hooks build: module_key, module_tick and ev_usb_frame…") is developer detail. Something like "Works beside Tuner in the same set" is enough. Keep the technical part in the pull request.
  3. Move the device-tool change out. Adding TEMPO to the key list in the device script helps everyone, so send it as its own small Improvement: pull request. A tool change inside a module release holds the release up (Fixes and improvements).

Then run npm run pr:ready and push.

@repeat98

Copy link
Copy Markdown
Owner

Thanks for the release-base pass, that was the main thing. Three small things before it merges:

  1. SCOPE comes from octabam's SCOPE, so please add its original author to author.credits beside you. The MIT licence in upstream/ asks for that credit.
  2. Please read the price once more with a pattern playing and SCOPE's window open (npm run device:price -- scope --write). The current record says both stopped and playing, and ev_usb_frame runs every block while the window is open.
  3. In the release notes and README, please say plainly whether SCOPE needs USB Audio in the set; if it doesn't, drop that phrase. Please also drop line 3 and the "see PR Draft: Octatrack SCOPE (standalone from octabam) #2182" limitation, since 0.1.0 was never in the library.

Record emulator cycles, memory regions, and perf evidence so module:doctor
and modules:check pass; list the module in module-documents.json.
CI module-changelogs requires a single player-facing entry; fold prior draft notes into 0.2.0.
Module pull requests cannot change gate scripts; scope qualifies without draft evidence pending.
Copy /private/tmp/octabam-module-art/scope.svg into presentation and rehash qualification.
The catalog now includes scope; sourceTreeSha256 must match moduleSourceFingerprint so package checks and doctor tests pass.
Adding scope to REQUESTED changes build-module-packages.py; compilerSha256 must match.
Revert device.mjs TEMPO exposure on release/scope. Document 0.8.1 release-base window check separately from dev-twin captures; use player-facing compatibility and changelog text.
Author confirmed B02 playing, DOWN+TEMPO live trace, and clean close on kept package f8a1ffeb.
Credit Sam Banks for octabam upstream; clarify no USB Audio module required; trim changelog and 0.1.0 references; document open-window device:price procedure.
device:price on dev twin 4c7eb79b: +0.2 % frame installed with window closed, +1.1 % with SCOPE open; catalog uses cpu-price.json, open row in cpu-price-open.json.
Restore a valid build record (no conflict markers) and refresh sourceTreeSha256 for the rebased tree.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, this is very close. The credits, the release notes and the plain line about USB Audio are all done.

Two small things before it can go into the library:

  1. Keep the TEMPO key on main. The TEMPO change is already on main (#2355). Your branch still removes that line from scripts/device.mjs, so merging SCOPE now would take it out again. Please restore scripts/device.mjs to what main has, so this pull request no longer touches that file.
  2. Use the open-window reading as the price. cpu-price-open.json has the reading the owner asked for (+1.1 % with the window open and a pattern playing). But resources.cpuPrice still points at the window-closed reading. Please make the open-window reading the catalogue price, so players see what SCOPE costs while they use it.

Then run npm run pr:ready and push.

Point resources.cpuPrice at evidence/cpu-price-open.json (+1.1 % frame
with the window open). Restore scripts/device.mjs KEYS TEMPO line to match
main (repeat98#2355) so this PR does not revert the device tool change.
@ilia-murzinov

Copy link
Copy Markdown
Contributor Author

Addressed review 6098287022:

  1. scripts/device.mjs — restored KEYS.TEMPO (0x18) to match main (Improvement: expose TEMPO to the Octatrack device driver #2355); this PR no longer touches that file relative to main.
  2. resources.cpuPrice — now +1.1 % (open window, pattern playing), sourced from evidence/cpu-price-open.json. Closed-window +0.2 % remains documented in cpu-price.json and TESTING.md.

Merged latest main, modules:check clean. Pushed tip after local pr:ready (one unrelated frontend-mcp-device test flake in the full check run).

@ilia-murzinov

Copy link
Copy Markdown
Contributor Author

@repeat98 I believe this one is ready for your review

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants