Repository navigation
Module: CX OSC (experimental draft) - #2293
ilia-murzinov wants to merge 21 commits into
Conversation
There was a problem hiding this comment.
Thanks for the port and for the careful provenance: Tim's licence, the NOTICE, the import pin and the dev-twin run are all in order, and checks are green. Three things before this can move past a draft:
- Remove the built package.
sdk/drafts/cx-osc/cx-osc.mwrmis a built image, and built images never go into the repository (AGENTS.md, Setup and checks). Keep it on your computer;npm run module:dev -- cx-oscrebuilds it for anyone trying the branch. - Remove
pr-body-cx-osc.mdfrom the repository root. The description belongs in the PR itself. - The shared engine sites. CX OSC patches the same stock sites as FM Synth (the LFO depth site 0x40003ca4 and the others in
runtime.json'srests), and your own limitations count 46 compat findings with it. A declared conflict hides the pair in the configurator, butmodules:compatstill refuses overlapping bytes once the module is listed, and a newgroup-ownedentry is the last resort. The route is a shared hook or table on the Octatrack's cumulative base draft (#2246) that FM Synth and CX OSC both subscribe to (Propose a hook). Say in the PR which sites you need and what each does, and the owner can take it there.
Smaller: the machine-ports.json pins point at sdk/octabam/modules/cx-osc/, the generated copy, while the source lives in sdk/drafts/cx-osc/. Please check that is what the adapter expects. When the docs and listening pass are done, run npm run module:doctor -- --draft cx-osc and npm run pr:ready again.
f95d038 to
b91d10f
Compare
|
Thanks for the ship checklist, and for taking the built package out. It makes the plan easy to follow. On the question it leaves for me: no, I won't add the group-owned FM Synth + CX OSC relation to
With that settled, please take |
b91d10f to
3279bfe
Compare
There was a problem hiding this comment.
Thanks for taking out the compatibility relation and the stray description file. That settles the last review, and keeping this a draft while the shared engine hooks get worked out is fine.
Three small things before it moves on:
- The shared screenshot tool. This draft changes
scripts/capture-module-ui.py, which every module uses. Please send that change as its own smallImprovement:pull request with a changelog entry, so it can be reviewed apart from CX OSC (Fixes and improvements). - CX OSC's own scripts.
scripts/cx-osc-device-stress.pyandscripts/cx-osc-ui-capture.pyonly serve this module. Please move them intosdk/drafts/cx-osc/scripts/, next tobake_standalone.py. A module brings no module-specific tooling into the shared folders. - A local path.
NEXT-SHIP.mdnames a folder on your own computer (/Users/…/modwerk-dev-twin-cxosc). Please swap it for a placeholder such as<twin build folder>.
The waiver request can wait until the hooks are settled. Then run npm run pr:ready and push.
|
I’m taking route 1. The compatibility relation is removed, and CX OSC will stay draft until the shared engine sites move to the cumulative base draft #2246. The detector reports 23 findings across 22 unique addresses. I’m writing the hook proposal against those exact sites now. Most are per-track take hooks. The global STOP path needs every installed engine notified, and the MIDI note gates need the base to combine the eligible track masks, so those need base dispatch behavior rather than a first-subscriber-wins take hook. I’ll link the proposal here once it is on #2246. I won’t change Tim’s FM Synth source without his approval. |
Records why compatibility.json cannot land on main before cx-osc is catalogued, and points at owner-compat-relation.json on PR repeat98#2293.
Records why compatibility.json cannot land on main before cx-osc is catalogued, and points at owner-compat-relation.json on PR repeat98#2293.
Buchla-style complex oscillator machine for FLEX with SETUP_ALL/FDBK fixes, synth conflict and group-owned hook relation, host tests, and MKII USB notes in TESTING.md.
Community changelog for cx-osc required a catalog entry; remove it for the experimental draft. Name 0.1.0-experimental in TESTING.md so modules:check passes.
device:price curve, device:test, cpuPrice 6, frame-costs, and evidence JSON; drop inactive compat relation until catalog listing.
Matches synth contribute shape, fixes module:dev table-owner refusal, restores module-contract processing.method, and records octabam backport notes.
Restores global frame-costs.json so set-package.test matches draft scope.
counts() poked row count at 0x40079248 but left stock's second pea at 6, so SELECT MACHINE TYPE drew a blank sixth line. Patch visible to min(6, 5+n) and assert it in test_machine_registry.
Qualification, hardware PNGs, performance evidence, and changelog for 0.1.0-experimental. Owner must merge compatibility.json with catalog; re-measure frame cost on medium pattern and Docker-import packages next.
ec518b9 to
a65c0a5
Compare
Scope compile workdirs per module so cx-osc and synth can both link poly.s in one Docker REQUESTED build. Bind qualification evidenceRevision to the listing tip and note unit-away blocker in LISTING-STATUS.
Docker-isolated compile with cx-osc in catalog scope, development import of requested-packages baseline, machine port manifest pin, and catalog USB row plus 0.1.0-experimental.mwrm. Frame cost on medium pattern and modules:generate still need the unit connected.
modules:check on CI needs sdk/machines/octatrack/frame-costs.json in sync and cx-osc in src/catalog/module-documents.json so release notes validate.
There was a problem hiding this comment.
Thanks for pushing on with the hook proposal. The latest commits went a step too far, though, so here's where it stands:
- Not in the library yet. CX OSC now has a catalog entry and a public package, but it still patches the same 22 engine sites as FM Synth. A conflict entry doesn't make that overlap acceptable (Cross-compatibility). It can be listed once the shared hooks are in the base and both machines subscribe. Until then, please take out the catalog entry,
public/octatrack-modules/cx-osc/, and the generated package and document changes that come with them, and keep it a draft undersdk/drafts/cx-osc/. - Files from earlier reviews are back.
pr-body-cx-osc.mdat the root,owner-compat-relation.json, a builtcx-osc.mwrmin the module folder (built images never go into the repository), and the two CX scripts in the top-levelscripts/folder. Please remove them again or keep them inside the module folder. - The machine-chooser fix is base work. The change to
machine_registry.c(the empty sixth row) is a fix for everyone. Send it as its own commit to the Octatrack's current cumulative base draft #2333 (that replaced #2246), with what you saw on the unit. The engine hooks go there too. Hook numbers are handed out there: 63 is being added on that branch first and 64–66 are already given to CLYPS, so your hooks will need the numbers after those.
Then npm run pr:ready and push. It's fine to stay a draft while the hooks land.
Owner review on repeat98#2293: move back to sdk/drafts/cx-osc, drop catalog entry, public package, changelog, and committed mwrm; remove pr-body helper and top-level capture scripts; drop machine_registry viewport fix from module scope; cite draft paths in machine-ports.
Refresh module-build.json fingerprints after merge and draft-only path.
|
Addresses review #2293 (review) at tip
Merged |
|
Thanks, that settles the last review. Two more things:
|
A module or module update: Experimental draft
sdk/drafts/cx-osc/, version0.1.0-experimental. CX OSC is a complex oscillator on a FLEX track (signature CX,1). PLAYBACK has PTCH/RATO/INDX/FINE/FOLD/MIX; SRC SETUP has CAR/MOD/DEC/SYMM/FDBK/PWM. Ported from Tim Hastie's CX OSC at256bcf4bin octabammodules/cxosc, with attribution inLICENSE-TIMandNOTICE. It registers throughruntime.jsonand packages from the bakedstandalone/*.ssources. The configurator conflict with FM Synth remains. This PR stays draft while shared engine hooks are worked out on cumulative base draft #2246. No compatibility relation is proposed.Shared-site hook proposal for #2246:
modules:compatreports 23 findings against FM Synth at 22 distinct addresses. The findings identify stock engine paths both modules need to share:0x40003ca4: read LFO depth for PMTR 30–34.0x4000d03e: frame-builder's inlined LFO-depth read.0x40031e62: LFO page descriptor for PMTR 34.0x4000b51a: AMP release consumer.0x4000b2c8: STOP/restart all-voices-off path.0x4000c634: START command rewrite.0x4000685c: voice-kill path.0x4000e452: MIDI IN note gate.0x4000de10: MIDI note-off gate.0x400625e0: MIDI live recorder.0x4006262a: MIDI recorder while a trig is held.0x40051fce: octave UP/DOWN while a trig is held.0x40059d56: AMP SETUP LEG staging.0x4003685a: AMP SETUP drawer names and formatters.0x400368ac: AMP SETUP widget enable nibbles.0x40036946: AMP SETUP name enable nibbles.0x4003ae40: AMP page-2 LEG editor.0x4003ae40: synth copies stock bytes here and CX OSC patches the same bytes, so install order matters.0x4003af0a: AMP LEG live-lane write.0x400795ba: slot assignment for FINE when selecting CX/SYNTH.0x40022686: file-browser selection used by synth-path FINE setup.0x4000d514: frame-builder supplier/dispatch.0x40031ece: PLAYBACK page resolver.The adapter's
machine-ports.jsonpins intentionally namesdk/octabam/modules/cx-osc/.draft-stage.mjsrefreshes that generated mirror from the staged module, andmachine_ports.pyverifies the hashes there before using the recipe.Tested on a unit: package
f52815adb0d5cdb0f1926c519f8319ce4527f1adcc52313d502023fb306065ad, MKII OS 1.40C, RAM-booted development twin, 27 Nov 2026.device:test,device:priceand stress evidence are from twin46c30886a7e8f3f6. A fresh UI capture ran on twin311bb670568f8e91, image SHA-25692d2ba065fa82198f17a26a3efd1d3dac56e46ce1455048eb861a0517df0a48b: the unit accepted CX OSC on Part 2 T1, and the Part signature read CX version 1. The reviewed LCD frames aremedia/ot-location.png(chooser with SRC SETUP controls) andmedia/ot-playback.png; their hashes are inmedia/capture-hardware.json.Edge cases
module:doctor -- --draft cx-oscandmodules:compatdevice:test,device:cx-stressValidation:
verify.pypasses 11 checks,test_cx_osc_load.pypasses 3 tests, andtest_cx_osc_port.pypasses 7 tests.npm run module:dev -- cx-osc --build-onlyreproduces package SHA-256f52815adb0d5cdb0f1926c519f8319ce4527f1adcc52313d502023fb306065ad(29,968 code/data bytes, 0 BSS, 74 relocations, 4 hooks, 34 stock-code sites). The draft doctor passes host tests, CPU price and frame cost; cross-compatibility remains red for the declared FM Synth conflict, and release evidence is still open. CI on the previous head passed; this update needs its new run.Guides: followed Propose a hook by listing every shared-site finding and its role here for the owner to review on #2246.
CATALOG-SHIP.mdnow keeps the module unlisted until shared hooks resolve the overlap.