Ableton Live projects reference their samples by absolute path. Across fifteen years, six drives and several machines, most of mine no longer resolved. Scripts catalogue every project, measure which sample references resolve, and export the recoverable sets without modifying an original.
Each drive is walked into a flat index of project files and audio files with
their sizes. A master catalogue holds one row per .als copy on every drive,
87,736 rows, deduplicated by name and size into 10,594 unique sets. A schema
census classifies each set’s file-reference format: Live 9-era sets store paths
as RelativePathElement children beside an alias blob, while modern sets carry
Path attributes, and the parsers read both.
For every sample reference in every set, health_scan.py classifies it as
resolving project-relative, resolving absolute, recoverable (a file of the same
name and size exists on an indexed drive), or gone. On the main archive drive
that is 2.03 million references across 7,858 sets. A set whose every reference is
resolvable or recoverable is marked fully healable.
heal_export.py plans, fetches, applies and verifies. Every unique sample the
healable sets need crosses the network once into a staging pool of 121 GB. Each
project folder then receives its samples as APFS copy-on-write clones; references
are rewritten project-relative; and the project’s info directory is written
alongside. Every placed file is byte-verified against its source, and no
original is modified. 3,345 projects were exported from the main archive and 466
from a 2019 backup drive.
For a single set, reconnect.py copies its recoverable samples into the
project’s own Samples/Imported/ folder, so Live’s Locate step relinks them
itself and no project XML is touched.
One of the six drives failed partway through, its APFS space manager destroyed. It was read without ever being mounted, through libfsapfs; 3,837 files were pulled by path or by inode and size-verified, and the loss among reachable files was measured at 0.05 percent.
A set counts as healed when it opens in Live with no missing-media dialog. The playable share of the main archive went from 8.5 to 51 percent.
Lineage & Changelog
Origin: Campaign 2026-05-31 – 2026-09-04 ("Missing Samples, Sounds Good"); hnsk.site case study 2026-10-08
- Initial working-drive scan and canonical project inventory.
- Unmounted dead-drive inode recovery after primary backup drive failure.
- Completed self-contained APFS exports (3,811 projects) and accepted campaign brief.
- Published batch relinking case study on hnsk.site.
- Recorded HK24 vs SSD drive diagnostic findings.