clip-twins
v0.1.0Ableton Live Extension: mark identical MIDI clips as the same and near-identical ones as versions.
Unverified listing. This repo is new or has little community activity and the developer has not claimed it. Extensions run code inside Live — read the source, check the author, and only install things you trust.
Clip Twins
An Ableton Live Extension that finds MIDI clips with the same content, marks them as the same (name and/or color), and marks near-copies as numbered versions.
Right-click a MIDI clip, MIDI track or clip slot → Match MIDI Clips…
Install
- Download clip-twins.ablx (or pick a version from the releases page).
- In Live, open Settings → Extensions → Install Extension and choose the file.
Requires Live 12 Suite beta 12.4.5 or later. Extensions are not available in Live Standard, Intro or Lite.
What it does
- Reads every MIDI clip in the Set (Session, Arrangement and take lanes).
- Groups clips that are strictly identical: same notes, positions, lengths, velocities, probability, mute state and loop length. Clip name, color and where the loop sits in the clip don't count. Empty clips are skipped.
- Groups near-copies as versions of the same thing. The slider sets how alike two clips must be (default 80%). A 2-bar loop and a 4-bar clip that repeats it with a fill count as versions.
- Shows a preview, then applies your naming and color choices in one undo step.
Options (remembered between runs):
- Names — keep the group's most common existing name (falls back to track
name + letter), always track name + letter, your own prefix + letter, or
don't rename. Versions get
v2or(2); the first version can stay untagged. - Colors — one color per group, one color per group with a shade per version, or don't recolor. Optionally gray out clips that match nothing.
Development
You need Node.js 24.16 or later, the Extensions SDK download from Ableton's beta program, and Developer Mode turned on in Live (Settings → Extensions).
-
Copy the SDK and CLI
.tgzfiles intovendor/(seevendor/README.md). -
Create
.envwith the path to Live's extension host, e.g.EXTENSION_HOST_PATH=/Applications/Ableton Live 12 Beta.app/Contents/.../ExtensionHost/ExtensionHostNodeModule.node(The SDK's project scaffolder finds this path for you; copy it from any scaffolded project.)
-
npm install -
npm startto load it into Live, ornpm run packagefor an installabledist/clip-twins.ablx.
Errors and a one-line summary of each run go to Live's ExtensionHost.txt log.
Without Live: npm test runs the matching engine and the whole extension against
a simulated Set; npm run preview builds build/interface.html, which opens in
any browser with sample data.
Releasing
Releases are built on your own machine, since the SDK can't be published, and
uploaded with the GitHub CLI (gh auth login once).
- Set the same new version in
manifest.jsonandpackage.json, and commit. - Run
npm run release.
The script checks that the versions agree, the working tree is clean and the
tag is new, then runs the tests, builds dist/clip-twins.ablx, tags the commit,
pushes the tag, and publishes a GitHub release with the file attached.
Layout
src/core/ matching engine, no Live dependency
fingerprint.ts strict identity
similarity.ts how alike two patterns are
plan.ts grouping, names, colors
src/extension.ts scan the Set, show the dialog, apply
src/ui/dialog.ts dialog logic (live preview uses the same plan.ts)
ui/interface.html
scripts/release.mjs
test/
License
MIT. The released clip-twins.ablx also bundles parts of Ableton's
Extensions SDK, which remain under Ableton's own license. The SDK itself is not
included in this repository.
Rate this extension
One rating per account; you can change it any time.
Comments
No comments yet.