Repository navigation
Improvement: Analog Rytm MKII base-next into main (idle voice clear, FX lock words, Improved FX Routing 0.3.0) - #2554
Merged
Merged
Conversation
… block, as stock does The sample voices' trim (LE_TRIM) left a skipped voice's 32 output longs (0x800067f8 + 128 x voice) alone while a bit a voice (dsz_out) said they still held zeros from an earlier block. That assumed nothing else writes the buffer, but it is the sample stream stock's voice mixer reads, and a module may shape it in place first: Sample Layer (#2253) does, from a gate on the mixer's call 0x4012129a, so after a voice went idle its TRANSIENT delay tail or band ring stayed in the buffer and was read back every block. le_dsg now zeroes the 32 longs in every block it skips stock's gain loop, the bytes stock's loop writes; dsz_out is gone (le_dsk_total [7] unused). rytm-emu, a twin module on Sample Layer's site marking idle voice 7 every 1000 blocks: old base 137,812 of 137,812 blocks after the first mark found the stream stale (and its DAC channel kept the marker), fixed base 0. Release identities plain 8b2663e1, voices dacd67fe, send-bus b37be733 (sizes unchanged); packages, record and registry follow. Review: no defect; the README's lean-engine section now says which buffers a module may not shape in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…8b2663e1, voices dacd67fe, send-bus b37be733) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rack base 0.8.6) repeat98 (Jannik Aßfalg) agreed for his loader, upload and diagnostics layout (relayed by Nathaniel Pavel, 1 December 2026). The two short loader changes by other authors, twwwy's engine price check (2eed068) and ex1010's image check hook (00ecaf5), are rewritten by Nathaniel Pavel with the same behaviour and interface: engine_priced() is the old condition, and a nonzero refusal is still refused. The Python tools and the tests under sdk/runtime keep GPL-3.0-or-later; nothing in a base compiles them. The Octatrack base is built from these files (src/engine/assets/octatrack-base-sources.json), so this makes the committed base stale: it is regenerated with the rest of base 0.8.6 (base/octatrack-next, #2473). This is the same change as 0eb7a85e9, which #1934 left out so as not to force an Octatrack release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…/runtime is GPL-2.0-or-later Undoes the split of 66c9f23 (made only because sdk/runtime was GPL-3.0-or-later): runtime.c, modules.c and the shared loader and upload sources move from base.json's dev back to common, so every variant's release base takes a module on trial over the USB link, with Keep and Undo, as the Octatrack's does. link.c no longer needs MODWERK_RUNTIME. Release identities plain 026181bd, voices a2a2a8ac, send-bus e34034d1, byte-identical to those 0eb7a85e9 built on 1 December; diag.h and modules.c keep GPL-2.0-or-later. The release licence test now walks the staged sdk/runtime files too (and the copies the build stages under ../base/), instead of refusing any shared file: a GPL-3.0 header there fails it. Needs the relicensing (5df9e84, merged here) to reach main with Octatrack base 0.8.6 (#2473) before it can. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….md, the Status page's note, the 1 December record and changelog) Found by the independent review. The dated changelog entries of 25 November and 1 December stay as they shipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix: Rytm base: the lean engine clears an idle sample voice's output every block
#2515 (lean engine: an idle voice's sample stream zeroed every block) changed perf-sample-voices.s, so the release bases with the loader are rebuilt from the merged sources: plain 6496a83a, voices a0efb9e9, send-bus a981a3b0 (sizes unchanged). base-next's loaderless 8b2663e1, dacd67fe and b37be733 are replaced; its README note on stock's audio buffers is kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
locks.c/locks.s and their three sites (0x4000940c, 0x40009216, 0x40008f98) move from add into common, and voices no longer leaves them, so step locks on FX words 38-41 save and load on plain and voices too. First user: Improved FX Routing's LOW MONO knob (a kit word of its own). Identities and packages follow once the open base-next PRs land. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stock's kit lock lists store a lock's word as a slot through 0x40007602 / 0x400075c8, which give 0 (the delay's TIME) for FX words 38-41. fxguard.s takes the three map loads (0x40008036, 0x400080f4, 0x40008092) and maps 38-41 to slots 38-41 and back. Found by the independent review of Improved FX Routing's LOW MONO. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…40007fb4) Stock has two kit lock lists, each with a saver and a loader; 0x40007fb4 loads the +1950 list (performance locks, most likely) with the same 6-byte map pair at 0x40007fd0. Found by the second independent review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… every variant and the lock-list guard (plain 442ca20c, voices b94a5ce2, send-bus 7e4ca6c9) Packages, import record (pinned to the sources' commit), catalog and registry; the build table; the Rytm guide's note on the EMAC's << scale factor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'s and reverb's returns mono below 40-300 Hz Audio In Routing renamed (id stays audio-in-fx). Knob F (LMO) on the FX track's DISTORTION page: a side high-pass (12 dB/oct state-variable filter, mid untouched word for word) on both returns, run from ev_render_out; all-zero buffers left alone for the lean engine's rests; 11 ms fade on and off. F is hidden id 447 on a whole FX word inside a 31-bit kit field. Unit (LMC3, rig): side -28.5 dB at 30-60 Hz, mid within 0.06 dB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dc7b), its release record, catalog record and vendored copy Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… package commit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e lock-list guard; voices still leaves the send bus Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 52,545, voices 34,827 bytes) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…3, rig) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…IF31, no unit; emulator rehearsal passed) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ns 0.3.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ingerprint after the documentation edits (package unchanged) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rytm base: FX words 38-41 keep step, scene and performance locks in every variant
… claude/improved-fx-routing
Improved FX Routing 0.3.0-experimental (Rytm): LOW MONO, the delay's and reverb's returns mono below 40-300 Hz
#2539 puts the FX track's lock words and the lock-list guard (fxguard.s) in every variant. With the runtime loader in common too, the release bases are rebuilt: plain a7456fa8, voices 859c0626, send-bus 064c4cbb (base-next's loaderless 442ca20c, b94a5ce2, 7e4ca6c9 replaced). The Rytm guide keeps both the inline-asm note from main and the MAC scale-factor note from base-next. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # sdk/machines/analog-rytm-mkii/README.md
… every variant Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
npp1993
enabled auto-merge
December 3, 2026 00:02
… (RL11-RL13) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Improvement: Rytm release bases carry the runtime loader again (after #2513)
… is on main #2514 carries #2513's sdk/runtime relicense, which changes sources of the Octatrack and Model:Cycles bases committed on main; those rebuilds ship with Octatrack 0.8.6 (#2473). Reverted so the cumulative promotion #2554 can carry the idle-voice fix, the FX lock words and Improved FX Routing 0.3.0 now. Re-land by reverting this commit once 0.8.6 is on main. This reverts commit d68b51e, reversing changes made to 988c534. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What works. The Analog Rytm MKII's next base, with three changes beyond
main:#2514 (the runtime loader in release bases) is reverted here (f09e8a7): it carries #2513's
sdk/runtimerelicense, whose Octatrack and Model:Cycles base rebuilds ship with Octatrack 0.8.6 (#2473). It re-lands in #2557 after that.Today's library modules sound the same.
Who acts. The Rytm maintainer (Nathaniel Pavel, @npp1993) promotes
base/analog-rytm-mkii-nextintomainwith this pull request once CI is green; it ships the base with the next site deploy.Tested on a unit: each change on its own development build, MKII, OS 1.74, RAM boot: LVC2 (dev voices base a0b41d24 with the idle-voice fix, RC47's set + Sample Layer: slv-tail, abd-voice, sy-voices pass; #2515) and LMC3 (image CRC 899b4080, the lock words and Improved FX Routing: the rig's LOW MONO, preflight, text and sound cases; #2539, #2541). The merged release packages (send-bus 7e4ca6c9, voices b94a5ce2, plain 442ca20c) and Improved FX Routing's exact package have not run on a unit.
Guides: the Rytm guide gains the EMAC
<<scale-factor trap and the base README says which stock buffers the lean engine zeroes only once and that the lock words are in every variant (sdk/machines/analog-rytm-mkii/README.md,elekloader/README.md); mergingmainkept both sides of the guide's cost paragraph.What is in it
Idle sample voices cleared every block (Nathaniel Pavel, @npp1993; Fix: Rytm base: the lean engine clears an idle sample voice's output every block #2515).
le_dsg(base/perf-sample-voices.s) used to skip zeroing a skipped voice's 32 output longs (0x800067f8 + 128 × voice) while a per-voice bit said they still held zeros. Sample Layer writes that buffer in place from a gate on the mixer's call (0x4012129a), so its last block stayed and its delay fed on it every block. Now the 32 longs are zeroed in every block that skips the gain loop. Cost: +240 instructions a block with all 8 voices idle (about 0.16 % of the block); the lean engine keeps 98 % of its sample-voice saving. The lean-engine section ofelekloader/README.mdnow names the buffers still zeroed only once (the delay return at rest, the USB input streams). New identities: plain8b2663e1, voicesdacd67fe, send-busb37be733(sizes unchanged); packages, import record (pinned at5fc610861), catalog and registry follow. Changelog:changelog/2026-12-01-rytm-lean-engine-sample-stream.md.FX words 38-41 keep step, scene and performance locks in every variant (Nathaniel Pavel, @npp1993; Rytm base: FX words 38-41 keep step, scene and performance locks in every variant #2539). The lock words move from the send-bus variant into every variant, and a guard in
fxguard.sgives stock's four kit lock-list routines a map with slots 38 to 41, so those locks no longer come back on the delay's TIME. Test record in Rytm base: FX words 38-41 keep step, scene and performance locks in every variant #2539.Improved FX Routing 0.3.0-experimental (was Audio In Routing, id
audio-in-fx; Nathaniel Pavel, @npp1993; Improved FX Routing 0.3.0-experimental (Rytm): LOW MONO, the delay's and reverb's returns mono below 40-300 Hz #2541): knob F, LMO (LOW MONO), turns the delay's and reverb's returns mono below 40 to 300 Hz. Test record in Improved FX Routing 0.3.0-experimental (Rytm): LOW MONO, the delay's and reverb's returns mono below 40-300 Hz #2541.Not run
How the fix was checked (#2515)
slv-tail(Sample Layer TRANSIENT, SHF at its top, DEC INF, against an SHF-0 control): LVB2 (old base, dev voices89a81ff5) FAIL, tail −12.2 dBFS; LVC2 (fixed, dev voicesa0b41d24) PASS, tail −83.9 dBFS against the control's −83.5.abd-voiceandsy-voicespass on LVC2.Edge cases
slv-tailon LVC2 (fixed) and LVB2 (old)abd-voice,sy-voiceson LVC2🤖 Generated with Claude Code