Repository navigation
FM Synth 0.1.3-experimental: much less CPU when installed on no track - #1504
Merged
Merged
Conversation
POLY8, Scale Quantizer, VECTOR and Analog BD change only the pin of machine-ports.json; FM Synth also its source, copies and image hash. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
3 of 6 tasks
…cost machine-recipes.json taken from main; FM Synth's recipe is recaptured with the change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measured on the owner's MKII (twin 0277c5c5 of main, four FLEX tracks playing, T5-T8 STATIC, FM Synth on no track): 0.1.2 cost 19.0 points of the frame interrupt, the first 0.1.3 source 15.6, this one 3.2. A bisect of measurement builds showed where: the base's guarded route for unowned FLEX tracks to a RENDER_FLEX machine 6.5, the LFO depth site 2.8, sy_render's fast path 2.3, the slot copy 2.2, and then reading the Part every frame 2.2-2.5. The machine declares no RENDER_FLEX. fm_frame works out once a frame, from the LFO pass's track 0 (before the packer), which tracks the engine must render: FM tracks that have started, sample tracks while GLIDE is on, a legacy FMSYNTH* voice, a sample track a voice starts on; it reads the Part only for those. The slot copy and the LFO site test one bit of that line inline; the LFO site is a jsr whose LFO 1 and 2 return within one line. FR_ON mirrors S_ON (sy_set, po_kill). The STATIC entry stays sy_render so that the base retargets every slot holding it when FM Synth leaves; the slot copy gives a STATIC track stock's renderer back when it needs no engine. Fixes track 1's LFO 3: the clock ran before the displaced lea and left a0 at FM Synth's clock, so that LFO wrote there instead of its destination. Emulator probe (scratch): 1,508,128 checks against fm_is_native, po_lfo3_depth and the dispatch rules, 0 failures. Not heard on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ain; re-pin Tape Echo's and Euclid's asset hashes Built with scripts/build-modules-isolated.sh from ad69351 (image 28323550) and imported with --development: synth's objects move to 0.1.3, every other module's are unchanged. Tape Echo's and Euclid's standalone recipes pin the four asset files that moved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cost Generated files taken from main (POLY8 0.3.3); FM Synth's recipe, the recipe pins and the card packages follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pin of machine-ports.json after merging main Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ain; re-pin Tape Echo's and Euclid's asset hashes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and what is reasoned Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…rated with the owner's approval Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ase notes Recorded on the owner's MKII (twin 0277c5c5 of main, package 19e7e08c, timed trials): one FM Synth track matches 0.1.2 as closely as two 0.1.2 takes do, a FLEX track beside it is sample-identical. TESTING.md also says why 0.1.2's composer-era release records are not renewed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cost Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hooser, SRC, AMP and STOP steps unchanged) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sdk/imports/synth-fixes-273-264.json (the file name the release test reads, as 0.1.2's did): version 0.1.3, based on the 0.1.2 release commit, poly.s's new hash and upstream/synth/manifest.py added, both chained to their vendored originals. scripts/module-source.test.mjs: synth's roster entry is 0.1.3, as each release moves its own (VECTOR 0.3.2, 3d903dc). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repeat98
marked this pull request as ready for review
November 14, 2026 12:10
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.
Module update: FM Synth 0.1.3-experimental: much cheaper while installed and on no track. No base change.
src/community/module-changelogs/synth.json, 0.1.3.0277c5c5of main, 14 November 2026, timed trials, FM Synth the only module):19e7e08c…, 30,498 bytes, 24 sites, stock-free, rebuilt identically byoctatrack:module-packages -- --check. Card packages from the isolated build. The 0.1.2 package is deleted.sdk/imports/synth-fixes-273-264.jsonat 0.1.3, FM Synth's entry in the version roster ofscripts/module-source.test.mjs, every machine recipe's pin ofmachine-ports.json, Tape Echo's and Euclid's asset pins, and FM Synth's quick-test binding on the download page.Docs:pull request):docs/MODULE_PERFORMANCE.mdsays to read the Part once a frame; even that, for all eight tracks, cost 2.2 to 2.5 points here, and declaring RENDER_FLEX put every unowned FLEX track through the base's guard (6.5 points on four tracks). The base registry's line for FM Synth inevents.json/HOOKS.md("render (also unowned FLEX tracks)") is now stale.npm run pr:ready: Ready on current main (after Fix: FM Synth's release tests no longer ask for records only the removed card composer could make #1551).module:doctor -- synthgreen. Emulator probe against 0.1.2'sfm_is_native,po_lfo3_depthand the dispatch rules: 1,508,128 checks, 0 failures.🤖 Generated with Claude Code