Repository navigation
Fix: give saved Octatrack effects priority over Sidechain - #1887
Merged
repeat98 merged 11 commits intoNov 21, 2026
Merged
Conversation
Owner
Author
|
I checked Please carry the relocation change onto the current cumulative base, preserve the shipped 0.7.12 identity, and regenerate the packages from the resolved source. The two heavy-project runs are good comparisons for the rebuilt package. Please record its identity alongside the saved FX and Sidechain readings when loading the heavy project and switching back. |
…finish-saved-fx-1887 # Conflicts: # public/octatrack-modules/recorder-loop-fix/0.1.0-experimental.mwrm # sdk/machines/octatrack/base-binding.json # sdk/machines/octatrack/base-sizes.json # sdk/machines/octatrack/base-versions.json # sdk/machines/octatrack/elekloader/status.c # sdk/machines/octatrack/module-adapters/controller-policies.json # src/engine/assets/octatrack-base-fills.json # src/engine/assets/octatrack-base-sources.json # src/engine/assets/octatrack-base-variants.json # src/engine/assets/octatrack-base.elemod # src/engine/assets/octatrack-module-packages.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The reporter for #1875 confirmed that base 0.7.10 cleared the warning on both stock 1.40C and Modwerk projects. This draft for #1840 fixes a separate heavy Part that reproducibly lost seven effects on 0.7.10. Its T5–T8 effects need 4,665 of 4,702 DSP code words. Sidechain and its key bus reserve 710.
What changed
When a stopped project needs that reservation to load its saved effects, wait for Sidechain and the key bus to release it. A short notice explains the pause. Both resume automatically when the Part leaves room.
Two six-module MKII trials exposed a second problem. If FILTER already occupied words 261–701, the remaining memory was split into spans too small for the saved effects. The project loader now checks a trial placement against the full selection. When moving one stock effect will make the whole Part fit, it can move that effect once after ordinary trim and pack attempts. The old binding stays live until the DSP acknowledges the new copy. Background compaction retains its existing USB trial guard.
Verification on the refreshed 0.7.13 base
This branch incorporates the current Octatrack cumulative base and main. The release base identity is
5add931eb7ddcddfda67e9ca184234eb823f4476829a194e4cb0786991ba9584. The base package SHA-256 isd397aaf746b284ed000879c40431b19937b33d80dd7b3bc142e8340a3fc7f341. The browser and native builds produced the same 814,700-byte install image. All 78 previously published base identities were preserved, including shipped 0.7.12.Eight host tests passed across project-load residency, the controller and the DSP receiver. The browser and frontend MCP package suites passed all 77 tests. The package builder now writes all four digest URLs the site uses for modules rebound at the same version. Each served file matches its manifest SHA-256.
In the MKII emulator, the exact release booted from a virtual card with E-Verb, BBD Delay, Mute Modes, Tuner, MIDI Scenes and Sidechain Compressor. All 16 live and committed effect slots matched on a cold boot into the heavy Part, then on each lighter → heavy → lighter project change. Sidechain yielded on both DSP cores on the heavy load, the pause notice appeared, and it resumed on both lighter loads. All six modules stayed installed. The verifier recorded zero residency failures and zero refusal dialogs.
Full local readiness passed on
aedc8be7e. The JavaScript suite passed all 405 test files, and the SDK executed 720 tests. The network-disabled Docker build reproduced the published Octatrack packages, including the base-bound controllers. Two independent builds of the other instrument packages matched byte for byte and reproduced all 71 current source-only release exports.Tested on a unit: Octatrack MKII, OS 1.40C. Release
5add931eb7ddcddfda67e9ca184234eb823f4476829a194e4cb0786991ba9584booted in RAM and answered over USB. The two measured project loads ran on its diagnostic build551f74e3bb1d41eb89b2ce5ba0b32a724c8a7f41cab19db7b4b43a35f0cfbf4awith the six modules listed above.Both stopped loads passed, one from the SPATIALIZER project and one from the lighter compressor project. Each began with FILTER at word 261. On each heavy load FILTER moved to 4,261, all 16 live effects matched the saved selection, and the first DSP used 4,665 of 4,702 words. There were zero placement refusals, refusal dialogs or automatic rollbacks. Sidechain and the key bus resumed on both cores on each return to the lighter project. Both USB trials were undone successfully. A preliminary warm-up reported CPU above 90% for one second. The two measured loads reported no new stalls or errors.
All three temporary project folders were removed and both saved module-set files matched their original SHA-256 digests. Remounting the original Set and returning to Part Four restored the unnamed A01 pattern, T1 and all four working and stored Parts to their starting checksums. The original production base, module-set identity and both live modules also matched after the final RAM boot. Human listening and Keep/power-cycle persistence remain open.
Verification on the earlier Tracks Post build
Tested on a unit: Octatrack MKII, OS 1.40C, Tracks Post development build
c207fd174e2f266ac5f8264fca27a5c6e73254760c021cd2a388395577ad3cd2. The same front-panel steps on the prior instrumented build refused both loads with no outstanding engine reservation. With this fix, both passed with zero allocator refusals, refusal dialogs or rollbacks. A 7.012-second USB playback capture carried signal on track 5, with zero new DSP stalls or errors.The exact Tracks Post release candidate
0ff172ffalso booted in RAM on the MKII and answered the USB status request. Both trials were undone, all three scratch projects were removed, and the starting project, pattern, working and saved Parts, firmware identity and ten-module inventory matched.All seven USB layouts passed browser/native rebuild comparisons. The exact Tracks Post release restored the six modules on cold boot in the MKII emulator and loaded all 16 effects on cold boot and on the lighter → heavy → lighter project changes with zero refusals. Sidechain resumed both times the lighter Part loaded.
In a separate virtual USB trial on build
c207fd17, the effect chooser placed FILTER at word 261 behind SPATIALIZER. The heavy load moved FILTER to 4,261 and all 16 slots matched, reproducing the corrected MKII result. Returning to the lighter Part restored all 16 slots and re-enabled Sidechain. Both transitions recorded zero allocator failures and zero refusal dialogs. At teardown, the virtual USB controller reportedneeds-recoveryon Undo. Both physical MKII trials rolled back successfully. The cause of the virtual Undo result is unverified.The local readiness check passed on commit
9a83816c6. The clean, network-disabled toolchain rebuilt the Octatrack packages, verified the published base-bound bytes and reproduced all 70 current source-only release exports.The host controller and receiver tests cover a rejected upload, transport starting during a copy, a queued pattern change, an unsettled USB session and module-owned code. Software stages 1–4 of the base test procedure passed for default package
630052d87bea9ab7c38ef653183e1c1d41280564d69bbb9cbc6d914c40d0a00d, including 861 module pairs. Human listening and Keep/power-cycle persistence remain open for base qualification.Edge cases
Guides: nothing. The new controller/receiver regression exercises the real relocation transaction. The project selections, hardware placements, release identities and restoration checks are in the verification record.