Repository navigation
Improvement: a stopped Octatrack is judged by the load it last played at (CPU FULL guard) - #1519
Merged
Merged
Conversation
The CPU FULL guard read the meter at the moment of the pick, so picks made while stopped passed and left a Part that played over the line. Stopped, it now goes by the mean of the last four seconds the unit played, if that is more, and the box says WAS BUSY PLAYING. The base is not regenerated. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…he MKII Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… with its price on the meter Co-Authored-By: Claude <noreply@anthropic.com>
…ec7118) Co-Authored-By: Claude <noreply@anthropic.com>
…ne twins Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
repeat98
marked this pull request as ready for review
November 14, 2026 12:22
repeat98
enabled auto-merge
November 14, 2026 12:25
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.
23f3f1b1of base4e9a87ea, 29 modules) the stopped unit read 70 %, four module effects were accepted, and playing then read 95 to 97 % with frames at 121 to 130 % until the DSP frames stopped (stall record 44). Measured with an encoder probe the same day, the panel is unchanged up to 83 %, and from 87 % a knob turn starts to wait for its redraw (0.1 to 0.2 s from 90 %).modwerk_status_cpu_load,cpu_note_playedinstatus.c). The box then reads "WAS BUSY PLAYING" in place of "UNIT IS BUSY" and shows that figure.machine_registry.casks the same figure for a machine pick.selection.c,dsp.candmanager.care untouched.test_status.c(kept only after eight readings in a row playing, a stop starts the count again, used only while stopped and only when higher, the refusal counted, stock and NONE pass, a lighter last play passes) and the registry host tests insdk/tests/test_machine_events.pyandtest_fract_public_registry.py. A build with the new rule broken fails the new checks.node scripts/docs.mjspasses.npm run pr:readywas not run.c6e655c7of this branch, started from the flashed base; Air Chorus, Tape Echo, Euclid, Mini Verb, POLY8 and FM Synth 0.1.2 installed): never played, stopped at 54 %, Mini Verb on T1 FX2 went through. After twelve seconds playing at 93 %, stopped at 66 to 68 %: Mini Verb on T1 FX2, Euclid on T1 FX1 and POLY8 on T2 SRC were each refused with "CPU FULL / CPU 93% / WAS BUSY PLAYING"; FILTER and NONE on T2 FX1 went through. With FM Synth removed and no play since, Mini Verb was still refused; after twelve seconds playing at 81 % and a stop, it went through.cpuentry after four refusals; whether that is intended was not looked at.docs/MODULE_PERFORMANCE.mdsaid the guard reads the moment of the pick; it now says how a stopped unit is judged and what the limits are.docs/verification/2026-11-13-cpu-guard-panel-lag.mdis the record of the day's runs: what the guard refused and let through, the lag by load, how it was measured, and what was not shown. The UI tick count and tick gap did not show the lag at any load; the record says so.Added 14 November 2026
mw_assignjudges a module's machine with its price on top of the meter (cpu + 10 * cpu_price(next) >= mw_cpu_hot); an unpriced machine counts the default 12. Effects, stock's machines and NONE are judged as before. The box still shows the measured load, so a refusal can read "CPU 76% / UNIT IS BUSY" with the line at 85 %.mainis merged and the base is rebuilt: identity10ec7118, the base-bound packages re-stamped. The tightest USB Audio variant is 75 bytes under the 1.25 MiB that older bases take over USB.docs/MODULE_PERFORMANCE.md.98c0b7de(line 56 %): Amiga 0.1.0 on T8 at 41.7 % went through. Twin9576709b(line 50 %): the same pick at about 42 % was refused with CPU FULL / T8 SRC / AMIGA / CPU 42% / UNIT IS BUSY. The working Part read equal to before after each. Record:docs/verification/2026-11-13-cpu-guard-panel-lag.md.npm run pr:ready: Ready on current main.48fbb746of this branch: Amiga on T8 at 63 % went through; after playing at 77 %, stopped, it was refused with CPU FULL / T8 SRC / AMIGA / CPU 77% / WAS BUSY PLAYING, and stock's FLEX on the same track passed.10ec7118, not a development build) was started from RAM on the unit: it came up, and trials of Mini Verb, Sidechain and Analog BD loaded and rolled back.npm run pr:ready: Ready again on main of 14 November evening (FM Synth 0.1.3 and POLY8 0.3.3 merged in).docs/MODULE_PERFORMANCE.mddid not say a machine's price counts at the pick. A__pycache__folder left by a host test run withoutpython3 -Bfailstest_requested_imports.py; not written down yet.🤖 Generated with Claude Code