Went looking for latency to shave in the PipeWire quantum. The quantum was not the problem. preload.scd did not exist on this box. start_and_midi.scd:259 tests for it with File.exists and silently takes the other branch -- 'no preload.scd, lazy-loading samples on demand.' Driving rose_rouge headlessly for three minutes logged 46 'reading soundfile as needed' lines, one every 5-12s, each a disk read landing on the audio thread; the SuperCollider node's pw-top W/Q hit 1.300 at the stock 1024 and 1.390 at 512, i.e. missing its deadline regardless of buffer size. check-preload.sh named it exactly: '60 bank(s) would be read from DISK on first play (crackle, mid-transition)' -- the same sentence its own header attributes to a crackle that debuted at a venue. Generated with check-preload.sh --fix (60 banks, 16 tracks) and verified at the next boot: 'PRELOAD: 60/61 banks OK in 2.6 s'. The mechanism was never broken; gig-up.sh already regenerates the plan and the checker already exits non-zero. gig-up.sh had simply never been run on this box. Re-running the identical load after the fix left 29 lazy reads, ALL of them the rose bank -- because rose_rouge is not in setlist_opal2026.txt. Zero of the 60 preloaded banks lazy-loaded, so the plan works; it warms the OPAL set while the track this box actually plays sits outside it. Logged, with two more findings from the same boot: preload's own COUNT MISMATCH banner firing on a sixty-second-old plan, and three global mi-UGens FX synthdefs failing to load at every boot while rig-doctor's mi-ugens check stays green. Adds tools/latency-lens.py, which implements the documented quantum method (lowest quantum holding zero xrun delta and max W/Q under 0.75) against pw-top, sets clock.force-quantum at runtime and restores it, and never edits a config. It refuses to run unless the default sink is muted and re-checks that every second for the whole run: a valid quantum test needs the real hardware device driving the graph but does not need the speakers.
| Name |
Last commit
|
Last update |
|---|---|---|
| .gitea/workflows | Loading commit data... | |
| armada | Loading commit data... | |
| blocks | Loading commit data... | |
| blog | Loading commit data... | |
| config/wireplumber | Loading commit data... | |
| copycat | Loading commit data... | |
| docs | Loading commit data... | |
| gifts | Loading commit data... | |
| lib-parvagues | Loading commit data... | |
| live | Loading commit data... | |
| mix | Loading commit data... | |
| output | Loading commit data... | |
| releases | Loading commit data... | |
| sandbox | Loading commit data... | |
| study | Loading commit data... | |
| test | Loading commit data... | |
| tools | Loading commit data... | |
| utils | Loading commit data... | |
| visuals | Loading commit data... | |
| viz | Loading commit data... | |
| .gitignore | Loading commit data... | |
| BootTidal.hs | Loading commit data... | |
| BootTidal.hs.broken | Loading commit data... | |
| BootTidal.visuals.broken.hs | Loading commit data... | |
| CHANGELOG.md | Loading commit data... | |
| CLAUDE.md | Loading commit data... | |
| EVENING.md | Loading commit data... | |
| FOH_MASTER.md | Loading commit data... | |
| LAST_THIRD.md | Loading commit data... | |
| LICENSE | Loading commit data... | |
| Logo.xcf | Loading commit data... | |
| MORNING.md | Loading commit data... | |
| PatchBay_MultiChannel.xml | Loading commit data... | |
| PatchBay_Perf.xml | Loading commit data... | |
| PatchBay_Perf5.1.xml | Loading commit data... | |
| README.md | Loading commit data... | |
| RUNBOOK.md | Loading commit data... | |
| SETUP.md | Loading commit data... | |
| SHOPPING_LIST.md | Loading commit data... | |
| TASKS_DUMP.md | Loading commit data... | |
| backlog.md | Loading commit data... | |
| bullet_train.tidal | Loading commit data... | |
| collide.sh | Loading commit data... | |
| conftest.py | Loading commit data... | |
| debug.tidal | Loading commit data... | |
| didacticpatternvisualizer.pde | Loading commit data... | |
| gig-up.sh | Loading commit data... | |
| gpu-mode.sh | Loading commit data... | |
| hello.sc | Loading commit data... | |
| init_midi.sh | Loading commit data... | |
| install_superdirt.sclang | Loading commit data... | |
| intro.md | Loading commit data... | |
| library.txt | Loading commit data... | |
| link_jack.sh | Loading commit data... | |
| link_samples.sh | Loading commit data... | |
| link_samples_all.txt | Loading commit data... | |
| main_fairbanks.scd | Loading commit data... | |
| notes.md | Loading commit data... | |
| parvagues-sc.service | Loading commit data... | |
| perf-audio.sudoers | Loading commit data... | |
| perf-tray.py | Loading commit data... | |
| perf-tray.service | Loading commit data... | |
| perf.sh | Loading commit data... | |
| process-palette.json | Loading commit data... | |
| realtime.tidal | Loading commit data... | |
| sample-manifest.json | Loading commit data... | |
| sample_watch.scd | Loading commit data... | |
| samples.txt | Loading commit data... | |
| setlist_opal2026.txt | Loading commit data... | |
| sketch.properties | Loading commit data... | |
| start_and_midi.scd | Loading commit data... | |
| test.tidal | Loading commit data... |