Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
Thanks, this is a careful piece of work. Streaming the stock samples page by page so the full 64-slot set can't overwrite the resident window is the right fix, and the emulator cases cover the failure paths well. I read the boot copier, the four sender sites and stock-samples.c, and I found nothing wrong in the logic. Reads stay within 2,560 bytes of scratch, a slot never goes past its 512 KiB, and a failed read or allocation falls back to silence or an empty table.
Three things before it can go into the Syntakt base draft (#1922):
- The unit record for MWB1. This change runs on the instrument, so it needs your own run on the exact build (SysEx SHA-256
a4dd78ce…), following the test procedure. The procedure runner only drives the Octatrack, so do the steps by hand and record what you saw:- MWB1 boots and stock works normally with empty slots.
- With all 64 slots full (five seconds each), it boots, every slot plays the right sample, and the reserved window is unchanged afterwards (a readback over the link is enough).
- A power cycle and a boot after it.
- Flashing official OS 1.42 again restores the unit.
Add these as rows in your edge-case table, with a pass or fail for each and the date.
- Keep two lines in
sdk/machines/syntakt/README.md. The edit removes the sentence about qualifying +Drive persistence before enabling writes, and the one about reviewing authorship and licence file by file before importing Synfact source. This base doesn't write to the drive yet, so both still apply. Please put them back, next to your new line. - Licence. The new files are GPL-3.0-or-later, and the Synfact manifest says GPL-2.0-or-later. If you wrote this code yourself for Modwerk as Synfact's author, please say so in the description, and that settles it.
Then run npm run pr:ready, push, and mark it ready. Your checks are waiting for a maintainer to start them, and that will happen separately.
GSM1980
marked this pull request as ready for review
November 30, 2026 12:51
This branch has not been deployed
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 Syntakt OS 1.42 development base reserves 64 KiB of MAIN RAM at
0x46000000through0x4600ffff. With the native sample builder, 64 full stock slots produce a 30,720,256-byte aggregate that can overwrite this window.The base copies its resident image before the stock BSS clear. It follows Synfact 2.0.1’s sample streaming design and generates pages on demand for the native MAIN sender. The stock AUDIO parser receives the same sample counts and PCM. Temporary read memory is released after the last mailbox copy.
Authorship and licence
I am GSM1980, the author of Synfact. I am contributing Synfact's resident memory reservation and stock sample streaming design to Modwerk. The implementation in this PR was written for Modwerk and is licensed GPL-3.0-or-later.
How I checked it
npm run pr:ready -- --base-branch base/syntakt-next. The script in this branch still checksupstream/mainand stops there. The review follow-up passed the licence, machine metadata, module metadata, documentation, SDK import and PR description checks. The full local run stopped in the catalog suite. The scaffold test passed on rerun after supplyingpython3, and the Octatrack publication fixture still timed out.MWB1, SysEx SHA-256a4dd78cec2f9671bd006b45f6c4565064637d679cb8ce97f7039fde1668ee0f0.Tested on a unit: Elektron Syntakt, OS 1.42 base
MWB1, SysEx SHA-256a4dd78cec2f9671bd006b45f6c4565064637d679cb8ce97f7039fde1668ee0f0. On 30 November 2026, I confirmed normal boot and stock operation with empty slots, normal boot and playback of all 64 five-second samples, a successful cold boot, and normal operation after restoring official OS 1.42. USB MIDI confirmed 240,000 frames in every slot and byte-identical PCM in slots 1, 17 and 64. Some generated test tones clicked in an initial pass. The known sample did not reproduce the clicks during the repeat.Hardware memory retention with reverb and delay
MWT1is a local diagnostic build derived fromMWB1. Its SysEx SHA-256 iscb9546803cdd99e8d664ae1224d5fff6d563790a58eb1085976e77ef9da1daa5. The checker runs from on-chip SRAM and compares all 65,536 bytes of the MAIN reservation.0xa55a3cc3.0x46000000and its uncached alias at0x4e000000. The second check reuses the references from steps 1 and 2.The contributor reported
RUN L0 A0on the Syntakt.Lis the mismatch count for the cached view andAis the count for its uncached alias. Both were zero. The result checks the contents at readback. Writes that changed and restored a word between observations could escape it.Edge cases
MWB1on the SyntaktMWB1on the Syntakt, USB readback and playback checkMWB1on the SyntaktMWT1compares every word through both DDR views on a SyntaktRUN L0 A0What the guides lacked or got wrong
The Syntakt guides pointed to the stack-gap experiment as the path to resident MAIN memory. The base and machine guides now describe the 64 KiB reservation, the stock sample collision and how to build and test the new path locally. The machine guide retains file-by-file authorship and licence review before importing Synfact source and the +Drive persistence qualification before enabling writes.
For cumulative base draft #1922.