Skip to content
/ ableton-template Public template

git repository template for managing Ableton Live projects

Notifications You must be signed in to change notification settings

giojacuzzi/ableton-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ableton-template

A git repository template for managing Ableton Live projects

Prerequisites

  • zcat for managing Ableton Live Set files
    • This should come pre-installed on MacOS
  • git lfs for storing audio/binary files
    • brew install git-lfs
  • xmlstarlet for generating version and plugin dependencies.md (optional)
    • brew install xmlstarlet

Setup

  • Run git/setup.command before using this repository for an Ableton Live project
  • Create/copy your Ableton Live project folder into this directory

Committing


Notes

Ableton Live Sets

An Ableton Live Set .als file is actually xml compressed with gzip. Ableton Live can open an uncompressed als file, and will just compress it again on save. We can use gitattributes filters and a hook to uncompress on checkout and pre-commit, ensuring that only the (non-binary) xml is committed. This makes diffs and conflict merging (i.e. concurrent production) possible. However, because an als file stores some plugin data in binary, note that merging is limited (if multiple musicians change a plugin, one will ultimately lose their work). Running git/setup.command will initialize git lfs, configure .als files in the working tree to uncompress as xml on checkout, and install the pre-commit hook.*

* Inspired by Mark Henry's experiment and danielbayley's Ableton Live Tools

Ableton version and plugin dependencies

In addition to uncompressing as xml before commit, the pre-commit hook will attempt to automatically generate dependencies.md with git/dependencies.command. This parses the xml to retrieve the required Ableton Live version and any third-party plugins used in the Live Set.

Repo and file size limits

There are hard limits for file and repository sizes on GitHub. As of 2023, GitHub suggests that repositories remain less than 1 GB, and strongly recommends less than 5 GB.

Individual files larger than 100 MB are blocked by GitHub (for reference, that's a little over 1.5 hours of stereo audio at 44.1kHz, 16-bit). We use git lfs ("Git Large File Storage") to track files beyond this limit by storing pointer references to audio files in the repo, but not the actual files themselves. Personal GitHub accounts can store individual files up to 2 GB with git lfs (see details).

Every account using git lfs receives 1 GB of free storage and 1 GB a month of free bandwidth, both of which can be expanded. When you commit and push a change to an audio file tracked with git lfs, a new version of the entire file is pushed and the total file size is counted against your storage limit. When you download a file tracked with git lfs, the total file size is counted against your bandwidth limit. Uploads do not count against the bandwidth limit. See details here.

About

git repository template for managing Ableton Live projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages