Repository navigation
Scale Quantizer 0.1.5-experimental: without the two panel sites, so FM Synth can install beside it - #1886
Conversation
…es, 5 copies): package, recipe, catalogue, changelog, TESTING
…ical hardware status
…s that still declare the conflict
# Conflicts: # sdk/machines/octatrack/module-adapters/standalone-recipes.json
|
I checked the Analog BD question against this head. The builder hashes the whole shared For your MKI run, the case that would settle the two removed hooks is an upgrade from a kept 0.1.4 to package |
# Conflicts: # scripts/module-source.test.mjs # sdk/machines/octatrack/module-adapters/machine-recipes.json # sdk/machines/octatrack/module-adapters/standalone-recipes.json # sdk/tests/test_requested_imports.py # src/catalog/build-support.test.ts # src/engine/assets/bootstrap-package.json # src/engine/assets/coldfire-packages.json # src/engine/assets/descriptor-recipes.json # src/engine/assets/dsp-packages.json # src/engine/assets/menu-recipes.json # src/engine/assets/module-build.json # src/engine/assets/platform-writes.json # src/engine/assets/requested-packages.json # src/engine/assets/resident-dsp.json # src/engine/assets/rom-packages.json # src/engine/assets/usb-audio-packages.json # src/engine/assets/utility-packages.json
…e Tape Echo and Euclid pins of them
# Conflicts: # sdk/machines/octatrack/module-adapters/standalone-recipes.json # src/engine/assets/bootstrap-package.json # src/engine/assets/coldfire-packages.json # src/engine/assets/descriptor-recipes.json # src/engine/assets/dsp-packages.json # src/engine/assets/menu-recipes.json # src/engine/assets/module-build.json # src/engine/assets/platform-writes.json # src/engine/assets/requested-packages.json # src/engine/assets/resident-dsp.json # src/engine/assets/rom-packages.json # src/engine/assets/usb-audio-packages.json # src/engine/assets/utility-packages.json
…e Tape Echo and Euclid pins of them
… a kept 0.1.4 and the edge-case table
|
Thanks for recording the MKI upgrade, especially the two early runs where SCALE came back a step lower. Do you remember what the SCALE row showed immediately before SAVE PROJECT in either of those runs? That would help us reproduce the transition and tell whether it happened before saving or during save and reload. The shared builder and approval record are on the maintainer side. The hook and idle-cost readings still need the development base. |
# Conflicts: # scripts/module-source.test.mjs # sdk/machines/octatrack/module-adapters/machine-recipes.json # sdk/machines/octatrack/module-adapters/standalone-recipes.json # src/engine/assets/bootstrap-package.json # src/engine/assets/coldfire-packages.json # src/engine/assets/descriptor-recipes.json # src/engine/assets/dsp-packages.json # src/engine/assets/menu-recipes.json # src/engine/assets/module-build.json # src/engine/assets/platform-writes.json # src/engine/assets/requested-packages.json # src/engine/assets/resident-dsp.json # src/engine/assets/rom-packages.json # src/engine/assets/usb-audio-packages.json # src/engine/assets/utility-packages.json
|
I remember selecting MAJOR in the first run and MINOR in the second. After SAVE PROJECT and the restart, they came back as OFF and MIXOLYD respectively. I did not photograph the SCALE row immediately before SAVE PROJECT, so I cannot verify its value at that exact point. The later controlled runs kept the selected scale, including repeating the original trial, Undo, Keep and save sequence with the page left open and using only NO to leave it. I have not reproduced the one-step change again. The two old hook-site hashes and the new idle-cost reading are still unmeasured on the unit; they need the development base. |
module-build.json conflicted with Mute Modes 0.2.3: main's copy is taken, as DEVELOPER_WORKFLOW.md says, and the isolated build and import regenerate it next. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner approved this exact source (931d9cd9...) on 24 November 2026, waiving the current-build hardware run, chip worst-case cycles and complete memory bounds, with the limits stated in the record. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Isolated build in the modwerk-source-tools image (compiler 0b303a1e, as main), imported with --development: module-build.json now pins this branch with main's Mute Modes 0.2.3 rows and the regenerated requested-packages.json hash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This is the Scale Quantizer update you asked for on #1146 and again on #1272: 0.1.5 no longer hooks the two panel sites, so a later FM Synth update can install beside it.
Module update: Scale Quantizer (
quantizer), 0.1.4-experimental -> 0.1.5-experimental. I am its author. The update started on main208f05a6. Currentmain4c15a84f(base 0.8.1) is merged, without rebasing. The package remains byte-identical (092a8a13, 7,038 B). The runtime and hardware results below retain their actual base 0.7.10/0.7.12 labels; this merge is not a new hardware test.What changes for players: nothing they hear or see. The package hooks fewer stock sites.
0x4004fc84(16 B) and0x40005162(8 B) for my 2.21 panel publication. That code only runs beside FM Synth, in FM Synth's own copy of the quantizer. In Scale Quantizer alone, the two detours only replayed the stock instructions they displaced._without_panel). The runtime port drops the include's second pass, so the package carries no stock copy of0x4004fc84either.e908beb0. Its only quantizer change is FM Synth's project comment line, which assembles only beside FM Synth (HAVE_SYNTH0 here).src/community/module-changelogs/quantizer.json, 0.1.5.The package:
quantizer/0.1.5-experimental.mwrm, 7,038 B,092a8a13…. 7 stock-code sites (was 9), 5 stock copies (was 6), 19 hooks, 105 relocations, 5,852 B of code and data, no bss. It rebuilds byte-identical on current main; the package has norequiredBase, and the base changes since 0.7.1 do not move its bytes. Strict stock-free scan: longest shared run 11 bytes (it fails at 12). It replaces the 0.1.4 package. Your CPU price from 0.1.4 (0 % of a frame, 18 November) stays in the manifest; 0.1.5 has not been measured on a unit. The at-rest reading inevidence/cpu-price.json(0 points of the frame interrupt) is also 0.1.4's, taken on base 0.7.8.module:doctoraccepts it, but under your new rule a new release is measured again, so 0.1.5's own reading is still owed. It needs a unit.Also in this pull request:
quantizer_runtime.py(the newquantizer.spin, theHAVE_SYNTHflag, the standalone include without its panel pass), the quantizer sources re-pinned inmachine-ports.json, Scale Quantizer's recipe recaptured inmachine-recipes.json(5 copies,0x4004fc84gone) using the current builder's per-modulemachine-ports.jsonfingerprint; the other machine recipes remain exactly as on main, the engine assets from the isolated build (Tape Echo's and Euclid's pinned inputs did not change in this merge), the import record for v2.23, the catalogue entry, the module documents, the package list, the affected import, source-scope and catalogue tests, TESTING.md and the limitation line about FM Synth.Compatibility:
compatibility.conflictsstays[]and the UI claims are unchanged. FM Synth 0.1.5, released in #1928, still declares a conflict withquantizer. Its idle-rest/CPU update does not provide compatibility with this standalone package. The pair results below are specifically for FM Synth 0.1.4; I have not played the new 0.1.5 pair. My full-engine update remains separate and still needs the engine-job contract requested in #1272.How I checked it. These are emulator results, on base 0.7.12 built from main
a241c595(identity254c5a75), with copied cards. The same sessions ran before on base 0.7.10 (identityb1c76d06, maincda22b81) with the same results.0x4004fc84and0x40005162read stock during the upgrade trial, after the upgrade, after SAVE PROJECT and after a power cycle.device.mjs set's+refusepair, refused at verify before anything was applied): inventory, set identity and sites come back unchanged each time.Not tested: the at-rest reading of 0.1.5 and the two old hook sites on a unit (both need a development base started in RAM), the full 16-window pitch matrix, FOLLOW on FM tracks, the whole catalogue set, an empty-battery cold boot, and Tuner's removal beside the quantizer (on the emulator the base refuses it, see below). BlackPyramids has no released package on main, so that pair is untested; keep FOLLOW OFF on its tracks for now.
Tested on a unit: my Octatrack MKI, OS 1.40C, base 0.7.12 (
254c5a75), 20 and 21 November 2026. The upgrade from a kept 0.1.4 (trial, roll-back, Keep), FOLLOW on audio and MIDI by ear, and the saved scale after a power cycle all work. Not read on the unit: the two old hook sites and the at-rest cost. The record is in TESTING.md.Edge cases (emulator results are not hardware evidence; each open row is "not run" with its reason):
0x4004fc84and0x40005162(1) Old hook sites: both stock during the upgrade trial, after the upgrade, after SAVE PROJECT and after the power cycle.
(2) FOLLOW: on audio 344.531 Hz following, 365.012 Hz not following, both 365.012 Hz with FOLLOW OFF; on MIDI 3 notes at 61 OFF and 3 at 60 ON, each with its note-off.
(3) Undo: read during the trial (one entry, 0.1.5's 7 sites patched), then undone: 0.1.4 back with its set identity and its nine patched sites byte for byte.
(4) Saved settings after a reboot: settings, rows and both pitches back.
After removal all 9 sites stock
MODWERK0.SETorMODWERK1.SETshorterMODWERK1.SET7,680 -> 512 B, 15680 -> 15681 -> free). Reproduces on 0.7.12 and 0.7.10. The base's writer, not this package: #1830device.mjs set's+refusepair, on an empty set and with 0.1.4 keptnpm run device:price); the committed reading (0 points) is 0.1.4's, on base 0.7.8254c5a75, rebuilt from maina241c595254c5a75, packages sent withnpm run device -- tryKnown issue, unchanged from 0.1.4 (read from the code, not captured): the held chromatic key's mark on an FM track uses Scale Quantizer's own octave. With FM Synth installed, FM Synth's copy takes
ev_octave_key, so the mark sits n octaves off at FM octave ±n (right at 0). An exact fix needs a base take event at the mark's site,0x40044abc.A base issue, reported in #1830: when the base rewrites
MODWERK0.SETorMODWERK1.SETwith a shorter set, the file's last cluster still links to a cluster that is now free. It is not tied to one module: it happened with the removal of FM Synth, Tuner and Scale Quantizer whenever the new set was shorter. It was reproduced on bases 0.7.10 and 0.7.12. The quantizer never writes these files. Your fix shipped in base 0.8 (#1910), retaining the prior file length for a shorter logical set. I have not repeated shorter Keep followed by SAVE PROJECT on the exact 0.8 release or on 0.8.1 hardware; #1830 remains open for that check.Two things I saw on the emulator that this update did not introduce:
What only you can clear:
sdk/approvals/quantizer-build-approval.json. Native source:931d9cd97feb3e46a9ac0d72581d7587980d92d0e9cd9838cc38ae479a66e8d1. Until it is in,modules:checkand the module rules line ofmodule:doctorstay red, andnpm run checkstops there.quantizer_runtime.py,machine-ports.json,machine-recipes.json). They take this update off the automatic path.machine_inputsnow hashes each module's own canonicalmachine-ports.jsonrow. This merge retains main's non-quantizer recipes and uses the same unchanged builder function for the quantizer's source pins. The published base, controller trust record and approval files are unchanged from main.Guides:
docs/TEST_PROCEDURE.mddoes not say thatnpm run test:procedure -- quantizerstops at step 3:module:dev --build-onlycannot build a module that needs its machine path. With--packageand the committed package it runs. I have not opened aDocs:pull request for it.Changing a module someone else wrote: not applicable, I am the author.
I read the guide for its category in
docs/module-guides/(andsequencing.mdif it acts in time), and TESTING.md lists what I did not test.Source and media are mine or properly licensed, with authors and full licence texts kept. Nothing comes from Elektron firmware.
Screenshots are real captures of the current module UI. They are 0.1.5 emulator captures; the 0.1.4 records stay under
media/0.1.4/. The hardware results for this build are author-reported and in TESTING.md.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.
Validation commands and results:
npm run test:procedure -- quantizer --no-unit --package public/octatrack-modules/quantizer/0.1.5-experimental.mwrmpassed steps 1 to 4 with a local stand-in approval record that was not committed. Without it, step 1 stopped at the module rules line. On the emulator (npm run device:emulatoron a development twin of base 0.7.12, the same command with--package), steps 6, 7 and 10 passed as well; 8 and 9 were not run there by design, and 11 and 12 are a unit's. These were not repeated on base 0.8.1.import-module-build.mjs --development --check-only --verify-existingpass. The Quantizer package is still exactly092a8a13, 7,038 bytes.build-elemod-isolated.shandverify-elemod-release-exports.mjsreproduce 72 current source-only exports.test-base-bound.shpasses using a local copy whose only difference is an explicit Docker-shared temporary-directory prefix. The first attempt could not enter the container because macOS selected an unshared temporary directory; the failed launch is retained in the local record.octatrack-module-packages.py --checkwith the stock image passes: 42 package comparisons are byte-identical and the separate USB Audio check passes. The first attempt exposed recipe fingerprints incorrectly carried over from the old whole-file scheme. Recomputing them with the unchanged currentmachine_inputsfunction fixed it; the other machine recipes now equal main. The failed run is retained in the local record.test_requested_imports.pyandtest_runtime_card_shelf.pypass (5 tests);scripts/module-source.test.mjsandsrc/catalog/build-support.test.tspass (10 tests). The card-shelf test is synthetic host evidence, not a hardware FAT or SAVE PROJECT test.npm run module:doctor -- quantizer: red only on the module rules line, which waits for your approval record. The cost-at-rest line is green on 0.1.4's reading, not a new 0.1.5 measurement.npm run pr:ready -- --author timhastie: its required local replay passed; the full check passed preparation, licences and machine profiles, then stopped atmodules:checkon the owner approval record. Later full-check stages did not run. It also requires owner review for this shared-file update. No stand-in approval record was used in this merge round.Related to #1146