The Foundry could make stems (yt-dlp → demucs) but not eat stems somebody else already made. Fred again's dropbox is 9 tracks × 6-13 producer-labelled stems at 96 kHz/24-bit — better source material than demucs can produce, and completely outside what find_takes accepts: it keys stems by drums/bass/other/vocals, a dict that collides on KEYS1+KEYS2 and an export keep= filter that would have silently dropped every stem in the pack. engine/stempack.py is the missing batch driver (TODO #20), and building it turned up a real bug. MAREA ships its tempo in the filename (…123BPM…), so it is free ground truth. At native 96 kHz the finder returned 123/123/124/119/128.1/128.5 bpm and a 0.661 top score; resampled to 44.1 kHz first it returned 123.0-123.1 on every candidate and 0.859, in a third of the time. librosa's hop/window defaults are sample-rate-relative, so at 96 k every analysis frame spans half the musical time and beat tracking wanders. Rate is a correctness input, not a performance knob. engine/roles.py maps the pack's ~40 role tokens (39/40 hit directly) to a family, then verifies the label by measurement before anything trusts it — the house rule that a sound's role is never read off its name. The `hits` family (KICK, SNARE alone) is the one place the label carries information the cheap features cannot: an isolated kick and a full groove measure identically. engine/kitcheck.py audits what grade.py cannot see by construction. A four-bar loop whose last two bars are a fade grades S — silent-to-silent is a perfect seam and the length is still exact. So: per-bar RMS for dead bars, onset-envelope autocorrelation for whether a bar-aligned window is actually a repeating unit, and mel-fingerprint cross-correlation for near-duplicates, because a pack shipping ALL DRUMS + KIT + MAIN DRUM LOOP + DRUM BREAKS will otherwise ship one groove four times. --jobs fans out as subprocesses, not a ProcessPoolExecutor: the pool's forkserver is broken under this Python (BrokenProcessPool on a trivial task), and one process per track also means a track that blows up loses only itself. 15 new tests.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| at | Loading commit data... | |
| bridge | Loading commit data... | |
| foundry | Loading commit data... | |
| pulsar-parvagues-hud | Loading commit data... | |
| pvlint | Loading commit data... | |
| tests | Loading commit data... | |
| README.md | Loading commit data... | |
| analyze_samples.py | Loading commit data... | |
| audio-lens.py | Loading commit data... | |
| bank-check.py | Loading commit data... | |
| button-column-audit.py | Loading commit data... | |
| button_roles.py | Loading commit data... | |
| cheat-sheet.py | Loading commit data... | |
| check-audio-graph.sh | Loading commit data... | |
| check-boot-blocks.py | Loading commit data... | |
| check-boot.sh | Loading commit data... | |
| check-drift.sh | Loading commit data... | |
| check-mix.py | Loading commit data... | |
| check-preload.sh | Loading commit data... | |
| check-tracks.sh | Loading commit data... | |
| control-lens.py | Loading commit data... | |
| deshadow-helpers.py | Loading commit data... | |
| fader-baseline.py | Loading commit data... | |
| fan_check.sh | Loading commit data... | |
| fix-button-roles.py | Loading commit data... | |
| fix-mute-roles.py | Loading commit data... | |
| gen_tokens.py | Loading commit data... | |
| gen_ts_types.py | Loading commit data... | |
| gig-log.py | Loading commit data... | |
| gig-metadata.py | Loading commit data... | |
| gig-up.sh | Loading commit data... | |
| gig_record.sh | Loading commit data... | |
| install-protect.sh | Loading commit data... | |
| lcxl-init.py | Loading commit data... | |
| lcxl-leds-watch.service | Loading commit data... | |
| lcxl-leds.py | Loading commit data... | |
| lcxl_grid.json | Loading commit data... | |
| lcxl_grid.py | Loading commit data... | |
| master-out.py | Loading commit data... | |
| migrate-columns.py | Loading commit data... | |
| mock-lcxl.py | Loading commit data... | |
| mute.tidal | Loading commit data... | |
| orphan-orbits.py | Loading commit data... | |
| parvagues-protect.service | Loading commit data... | |
| parvagues-protect.sh | Loading commit data... | |
| parvagues-samples.service | Loading commit data... | |
| parvagues-sc-watchdog.service | Loading commit data... | |
| probe-chain.py | Loading commit data... | |
| pvbanks.py | Loading commit data... | |
| rig-pulse.py | Loading commit data... | |
| sample-watcher.py | Loading commit data... | |
| sample_tfidf.py | Loading commit data... | |
| sc-watchdog.sh | Loading commit data... | |
| set-coherence.py | Loading commit data... | |
| setlist.py | Loading commit data... | |
| setlist_samples.py | Loading commit data... | |
| shipowiz.py | Loading commit data... | |
| silent-eval.py | Loading commit data... | |
| solo.tidal | Loading commit data... | |
| surface-columns.py | Loading commit data... | |
| take-lens.py | Loading commit data... | |
| take-master.py | Loading commit data... | |
| take-segments.py | Loading commit data... | |
| tempo-lens.py | Loading commit data... | |
| tidal-remote.py | Loading commit data... | |
| tools.png | Loading commit data... | |
| unmute.tidal | Loading commit data... | |
| unsolo.tidal | Loading commit data... |