Germanyricardomatias/ableton-live
A library for communicating with Ableton Live via WebSockets, works both in NodeJS and in the Browser.
Ableton Live
A library for communicating with Ableton Live via WebSockets, works both in Node and in the Browser.
Requirements
- Ableton Live 11
- Max 4 Live
Installation
- Install package
npm install --save ableton-live
-
Drag and drop
external/LiveAPI.amxdto any track in Ableton Live (f.ex, Master Track) -
Done!
Usage
Browser
import { AbletonLive } from 'ableton-live';
NodeJS
// polyfill for a browser API compatible WebSocket
if (process) {
global.WebSocket = require('ws');
}
import { AbletonLive } from 'ableton-live';
// or
const { AbletonLive } = require('ableton-live');
Example
import { AbletonLive } from 'ableton-live';
const live = new AbletonLive();
const main = async () => {
try {
await live.connect();
const tracks = await live.song.children('tracks');
const clips = await tracks[0].getClips();
const notes = await clips[0].getNotes();
notes.forEach(note => console.log(note.pitch));
} catch (error) {
console.error(error);
}
};
main();
Documentation
Found at https://ricardomatias.net/ableton-live/
Credits
A loose fork of ableton-js, which was a great source of inspiration on how to approach handling Live's Object Model.
Development
When not receiving try running sudo lsof -i :send_port_number and make sure only Max is using it.
Similar Projects
Discover other similar projects and AI models.
Ableton MIDI Sculptor: Tools for MIDI editing in Ableton Live
Separate any audio clip into stems with any of MVSEP's 100+ models, right inside Ableton Live
A Discord Rich Presence app for several DAWs like FL Studio and Ableton
Control Ableton Live from an AI assistant. 156 tools for building, editing MIDI, mixing, and mastering in a running Live set. Typed, tested on Live 12.
Ableton Live Set tools, or simply als-tools, brings easy-to-use search, listing, counting and many other capabilities over your Ableton Live Set files (*.als)
Connect your AI client to Ableton Live 12. Shape notes, instruments, effects and arrangements; compare audio before keeping a change. 474 tools across 57 domains.
Control Ableton Live with AI - 200+ tools via MCP, REST API, and Max for Live. Works with Claude, Ollama, OpenAI, Groq.
Claude Skills for Ableton Live producers. Workflows for Claude Code, Cursor, Codex, and Gemini CLI. Pairs with any Ableton MCP server. MIT.