Repository navigation
ableton-tools 1.1.0 (engine 0.3.0) makes every .als command correct on Ableton Live 12 sets, adds session-building commands, and ships an experimental device-chain transplant and new analysis tools.
Fixes
- Live 12 tempo.
als inspectreportedtempo: null, andset-tempo/warp-to-gridfailed. Live 12 usesMainTrack(Live 11 usedMasterTrack) and adds aLomIdinside<Tempo>. als import-stemscould produce a set Live refuses to open ("Unexpected value for int node"). It wrote stem names into each clip'sScaleInformation/Name.--commitno longer auto-restores almost every real set. The ref check treated Live's built-in and library device presets (the default template's Reverb/Delay) as missing project files. Refs are now checked byRelativePathType.warp-to-gridnow setsIsWarped. The old pattern never matched Live's formatting.--master-track/ track names now resolve after Live renames a track to"<index>-name".import-stemsno longer duplicates the master's Session clip into every clone (--keep-sessionkeeps it).- Clones of automated tracks no longer drive the source track's parameters. Automation pointers are now remapped.
move-clip/snappreserve clip length unless--dur-sis given.- JSON output is strict. Undefined values are
null, neverNaN. - Copying a track no longer redirects automation that points outside it. Previously, a pointer could be renumbered when its number happened to match a local id (for example a warp marker) inside the copy.
- Clip lookup ignores frozen renders and take-lane copies, so a clip name no longer looks ambiguous on a frozen or comped track.
- Internal engine errors are structured. They exit with code 4,
kind: "internal"and a hint, instead of a Python traceback; nothing is written. - Install works on Intel Macs. numba/llvmlite are constrained only on x86_64 macOS. A missing
uvnow prints a one-line hint.
New
- Lossless editing. All
.alsaccess goes through an expat byte-span index, and edits are byte splices: a no-op round-trip is byte-identical. It indexes an 8.5 MB set in ~0.2 s. - Safer commits.
- Refuses while Ableton Live is running (
--forceoverrides) or when the file changed since it was read. - Validates before writing.
- Restores the backup only if the edit itself broke a project file reference; files already missing are reported, not blocking.
- Every dry-run includes a validation report.
- Refuses while Ableton Live is running (
als validate(read-only) reports structural errors and a typed file-ref report, and warns about rack routing that points at a device that isn't there.- Atomic writes. Sets are written to a temp file and renamed into place, so a crash or full disk never leaves a half-written
.als. A restore copies the backup back byte for byte. - Copied tracks start clean.
add-trackgives a bare track: default volume, pan and sends, unmuted, no frozen audio or take lanes. Stem clones keep the master's volume, pan and sends, but drop its frozen audio, take lanes, mute, solo and arm state. als inspectnow reports groups, output routing, mute, device counts, the main track, Session vs Arrangement clips, theTimeposition, and each clip's warp-map BPM.- Session building:
als set-tempo;als mute;als add-track(a bare track);als group(real group folders, with members routed to the group bus);als sync-to-master(snap every warped stem to a moved or re-warped master and report warp-map drift).
als import-stemsadditions:--tolerance-msfor same-timeline files with padding or a different sample rate (start lag is measured);--to session --unwarpedfor un-synced takes;--skip-below/--mute-belowfor silent stems.
- Analysis:
ableton levels(dBFS, silence, duplicates of a reference);ableton locate(where a fragment occurs in a reference);ableton warp-check(whether warp markers sit on the beats and every warped clip shares the master's map).
- A new
als-buildskill. The other skills,engine/CLAUDE.mdandreferences/als-format.md(with a Live 12 section) are updated.
Experimental
-
als transplant-devicescopies a device chain between sets, plugin state included.- Rack-safe; ids are fixed.
- The chain's own routing (rack sidechains, drum-pad sends to return chains) is remapped to the copied devices.
- Sidechains to other tracks are reset unless you pass
--map-track. - Automation is optional (
--with-automation). --mode replacedrops the target's automation of the devices it replaces.- Project samples are copied, only after the commit checks pass. An identical file already in
Samples/Importedis reused; a different file with the same name is kept, and the copy is named<name> (2).<ext>.
Verified on 2,108 real chains from 155 Live 11/12 sets (100% validate, every rack self-route resolves). Still check the result in Live.
-
warp-check,tempo,driftandwarp-to-gridremain experimental.
Behaviour changes
move-clipwithout--dur-skeeps the clip's length (--dur-sand--bpmare now optional).import-stemsdrops the clones' duplicate Session clip by default.als inspectJSON gains fields. Existing keys are unchanged;MainTrackandPreHearTrackare no longer listed intracks(seemain).--commitrefuses while Live is running unless--forceis given.- Error payloads may include a machine-readable
kind.