Automated in-Live testing for Max for Live devices
I build Max for Live devices with Claude Code, and the slow part was always testing them in Live. After the agent changed a device, I loaded the build, set up tracks and routing, played, recorded, checked the result and reported back. So I built a harness that lets the agent run those tests itself, in the running Live. It also tests Live's own devices and Audio Unit effects, not only Max for Live.
What it does:
- Loads a device onto a new track, plays it, records what comes out, MIDI or audio, and compares that with what the check expects.
- Measures Audio Unit effects. It plays a signal through the effect and records dry and wet takes as samples.
- Presses a device's controls with real mouse events and reads the text on its panel, for controls that aren't parameters.
- Reads the Max console messages from Live's log, to see why a device that loaded does nothing.
- More in the README, including saving and reopening sets and running checks on a second Mac.
Checks are plain Node scripts in your project's repo. The verify-ableton skill tells the agent to run the checks, report PASS or FAIL per case, and propose checks when a project has none.
It's a fork of ideoforms/AbletonOSC with the fixes the tests needed.
It needs macOS, Live 12 set to English, Node 18 or later, and Max for Live for device checks. It's MIT licensed. The README's Quick start has a first run on an example device that's in the repo.
Feedback welcome, especially from anyone who tests devices another way.