-
feat(gig): setlist_samples.py — preload just the set's samples (kill lazy-load cracks) · a4a76e03
Live play cracked from lazy sample loading (~dirt.doNotReadYet=true): each sample reads from disk on first play mid-set → crackle + xrun spikes (764→1085 xruns during a track). Loading the whole library = slow boot + RAM; lazy = cracks. This tool finds the middle path: parse a set's .tidal tracks (or --last N by mtime), extract every token from every quoted string, and keep only those that resolve to a real sample folder (Dirt-Samples, extra/, tidal-drum-machines) — the library itself is the filter, robust against ParVagues' bare-string/# dialect that defeats s"..."-based parsing. --emit-sc prints a ~dirt.loadSoundFiles preload snippet. Validated: last 15 tracks → 55 folders (vs hundreds in the library); bombe_dj → 8. Foundation for #26 (wire into boot) + #24 (soundcheck). t/f excluded (Tidal booleans).
PLN (Algolia) authoreda4a76e03
×