These are stems from a loud commercial master — MAREA's ALL DRUMS and KIT both peak at +0.2 dBFS — so a loop cut from them arrives at full scale. grade already calls that clipping, and SuperDirt cannot use it: amp = gain^4, so `# gain 1.2` is +7.6 dB and the orbit clips the moment you touch it. The house rule is peaks at -6 dBFS at the source and let the amplification happen downstream, so that is where kits land now. Two decisions inside kit_headroom_gain that matter more than the ceiling: NOT per file. One scalar for the whole kit. Normalising each file on its own would make a sparse hat loop exactly as loud as a full drum bus, throwing away the balance that two loops from one kit otherwise have for free — the reason to cut a kit from one track in the first place. NEVER boosts. A kit already below the ceiling is left exactly where it is. A quiet stem is quiet on purpose; lifting it amplifies its noise floor and discards real information about the arrangement. restage.py applies the same function to kits already on disk, so a kit restaged after the fact is bit-identical to one cut with it in place. Useful beyond this pack: hand-cut kits carry whatever level their source had, and there are 163 kits in Samples/. It also re-grades the manifest for anything it changed. Whoever moves the audio owns the record of it — every grade has a level term, so a stale manifest describes bytes that no longer exist, and kitgate compares the two precisely to catch that drift. Verified on the synthetic pack: clipping cleared, two drum loops A -> S, and the gate then caught the stale grades until restage started writing them back. 23 tests in the file.
| 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... | |
| 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/slop | 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... | |
| 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... | |
| 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... | |
| 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... | |
| 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... | |
| 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.sh | Loading commit data... | |
| sample_watch.scd | Loading commit data... | |
| samples.txt | Loading commit data... | |
| setlist_opal2026.txt | Loading commit data... | |
| start_and_midi.scd | Loading commit data... | |
| test.tidal | Loading commit data... |