{"id":14007098,"url":"https://github.com/ricardomatias/ableton-live","last_synced_at":"2025-04-06T06:31:49.612Z","repository":{"id":42636934,"uuid":"241157858","full_name":"ricardomatias/ableton-live","owner":"ricardomatias","description":"A library for communicating with Live via WebSockets, works both in NodeJS and in the Browser.","archived":false,"fork":false,"pushed_at":"2024-03-12T09:56:57.000Z","size":105502,"stargazers_count":64,"open_issues_count":4,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T01:31:54.021Z","etag":null,"topics":["ableton","ableton-live","live","max4live","maxmsp","music"],"latest_commit_sha":null,"homepage":"https://ricardomatias.net/ableton-live/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ricardomatias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-17T16:43:33.000Z","updated_at":"2024-08-10T10:03:56.221Z","dependencies_parsed_at":"2024-08-10T10:14:07.097Z","dependency_job_id":null,"html_url":"https://github.com/ricardomatias/ableton-live","commit_stats":{"total_commits":28,"total_committers":5,"mean_commits":5.6,"dds":0.1428571428571429,"last_synced_commit":"e145b319907c744c8b62c3324d7372654904f2e9"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardomatias%2Fableton-live","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardomatias%2Fableton-live/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardomatias%2Fableton-live/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardomatias%2Fableton-live/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricardomatias","download_url":"https://codeload.github.com/ricardomatias/ableton-live/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445648,"owners_count":20939951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ableton","ableton-live","live","max4live","maxmsp","music"],"created_at":"2024-08-10T10:01:49.505Z","updated_at":"2025-04-06T06:31:47.244Z","avatar_url":"https://github.com/ricardomatias.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Ableton Live\n\nA library for communicating with Ableton Live via WebSockets, works both in Node and in the Browser.\n\n## Requirements\n\n* Ableton Live 11\n* Max 4 Live\n\n\n## Installation\n\n1. Install package\n\n```bash\nnpm install --save ableton-live\n```\n\n2. Drag and drop `external/LiveAPI.amxd` to any track in Ableton Live (f.ex, Master Track)\n\n3. Done!\n\n## Usage\n\n### Browser\n\n```js\nimport { AbletonLive } from 'ableton-live';\n```\n\n### NodeJS\n\n```js\n// polyfill for a browser API compatible WebSocket\nif (process) {\n    global.WebSocket = require('ws');\n}\n```\n\n```js\nimport { AbletonLive } from 'ableton-live';\n// or\nconst { AbletonLive } = require('ableton-live');\n```\n\n## Example\n\n```js\nimport { AbletonLive } from 'ableton-live';\n\nconst live = new AbletonLive();\n\nconst main = async () =\u003e {\n    try {\n        await live.connect();\n\n        const tracks = await live.song.children('tracks');\n        const clips = await tracks[0].getClips();\n        const notes = await clips[0].getNotes();\n\n        notes.forEach(note =\u003e console.log(note.pitch));\n    } catch (error) {\n        console.error(error);\n    }\n};\n\nmain();\n```\n\n## Documentation\n\nFound at [https://ricardomatias.net/ableton-live/](https://ricardomatias.net/ableton-live/)\n\n## Credits\n\nA loose fork of ableton-js, which was a great source of inspiration on how to approach handling Live's Object Model.\n\n## Development\nWhen not receiving try running `sudo lsof -i :send_port_number` and make sure only **Max** is using it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardomatias%2Fableton-live","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricardomatias%2Fableton-live","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardomatias%2Fableton-live/lists"}