Live Maestro
Live Maestro is an MCP server for inspecting and controlling Ableton Live, editing saved project files, and analyzing/recording/comparing audio.
Inspect sessions, tracks, clips, devices, parameters, automation, and transport state.
Create/delete tracks and clips; write, read, quantize, and transpose MIDI notes.
Set mixer levels, pans, sends, mute/solo; set device parameters by value or display unit; write/read/clear automation.
Arrange Session clips, control transport/scenes/tempo/loops/locators, and work with tempo maps and warp markers.
Search/load devices, presets, samples, and drum pads; match library sounds by audio.
Read/write saved .als/.adg files offline, including sidechain wiring, plug-in configuration, and XML attributes.
Use generic LOM get/set/call/batch/describe/enum tools for low-level Live Object Model access.
Analyze/capture live audio, compare audio/spectra, and retrieve audio reports; includes safety dry-runs and read-back verification.
Integrates with Max for Live through an optional Analyzer device that reports loudness (EBU R128), true peak, stereo correlation, and seven band energies over loopback OSC/UDP, enabling real-time audio analysis of the Ableton Live set.
Live Maestro
An AI copilot for Ableton Liveโข. Speak in natural language to program drums, generate chord progressions, tweak synthesizers, shape automation, and mix your tracks, right inside your open Live set.
Stay in the creative flow
Making music in a DAW is inspiring, but clicking around to draw notes, adjust mixer faders, and tweak envelopes over and over can pull you out of the zone.
Live Maestro acts like an assistant producer sitting next to you in the studio:
Keep your hands on the music: Live stays open right in front of you. You listen, evaluate, and make the creative decisions.
Natural studio dialogue: Ask for beats, basslines, filter sweeps, sidechain setups, or mix adjustments in plain language.
Real parameters, real clips: Nothing is faked or pre-rendered. Everything is written directly into your active project as editable MIDI notes, native devices, and standard Live automation envelopes.
Related MCP server: Ableton DJ MCP
How it feels in the studio
Here is what collaborating with Maestro looks like in a session:
1. Beatmaking & Groove
You: "Build me a driving 126 BPM techno groove. Punchy 909 kick, a crisp clap on 2 and 4, and rolling 16th closed hats with a bit of velocity groove and swing."
Assistant: Created track Techno Drums with a 909 Drum Rack and a 4-bar looped clip at 126 BPM:
Kick: Four-on-the-floor on C1 with accented downbeats.
Clap: Sitting on beats 2 and 4 on D#1.
Hi-Hats: 16th notes on F#1 with alternating velocity dynamics (92 / 76 / 86 / 76) and the offbeats pushed late for a swung feel.
Clip is ready and playing.
2. Sound Design & Automation
You: "The hats feel too loud and harsh. Drop them by 2.5 dB, add an Auto Filter to the lead synth, and draw a 4-bar low-pass sweep that opens up towards the drop."
Assistant:
Reduced the Hi-Hat chain volume by 2.5 dB.
Added an Auto Filter (Low-Pass) to track Lead Synth.
Created a 4-bar automation envelope on the filter cutoff frequency, sweeping from 600 Hz smoothly up to 18 kHz.
3. Harmony & Chords
You: "Add a lush Neo-Soul chord progression in D minor on an Electric piano track. Keep the chords laid back with realistic human velocity."
Assistant:
Created a MIDI track Electric Piano with a Rhodes preset.
Wrote a 4-bar progression (Dm9, G13, Cmaj9, A7#9) with slight timing humanization and soft velocities between 65 and 85.
What you can do
Workflow | Example prompt | What Maestro does |
๐ฅ Drums & Beats | "Create a 4-bar UK Garage drum beat with swung hats and ghost snares" | Creates drum tracks, loads kits, places MIDI notes with realistic velocities and swing |
๐น Chords & Melodies | "Write an 8-bar melodic bassline in F minor that follows the root notes" | Generates chord progressions, basslines, melodies, and arpeggios |
๐๏ธ Sound Design | "Open the Wavetable filter cutoff to 65% and increase resonance slightly" | Adjusts native instruments, synthesizers, and audio effect parameters |
๐ Automation & Envelopes | "Draw a 2-bar reverb swell into the pad clip, then copy the clip to bar 31" | Draws parameter curves, filter sweeps, and volume swells into Session clip envelopes, which travel with the clip onto the timeline |
๐๏ธ Mixing & Levels | "Turn the bass down 3 dB, pan the rhythm guitar 25% left, and add a chorus" | Sets track volumes, panning, sends, returns, and insert effects |
๐ผ Arrangement & Structure | "Duplicate the verse clip to bar 17 in the Arrangement and drop a locator called Drop" | Imports audio or duplicates Session clips onto the timeline, writes Arrangement MIDI notes, and sets locators and loop sections |
๐๏ธ Editing & Groove | "Transpose the synth lead up a minor third and quantize to 1/16 notes at 70%" | Transposes pitches, quantizes timing, modifies note lengths, and adjusts velocities |
Three channels into Live
Maestro reaches Live through three complementary routes (docs/architecture.md):
Channel A: Real-Time Live Object Model (LOM): A loopback TCP connection (
127.0.0.1:9878) to the custom Remote Script inside Live's process. Drives Session clips, MIDI note editing, device knobs, mixer levels, and real-time playback.Channel B: Offline Project Files (
.als): Direct inspection and safe modification of saved.alsproject files on disk when the target set is closed in Live (Live may continue running with another or blank set). Handles track automation, sidechain routing audits, and third-party VST parameter configuration, protected by automatic timestamped backups and hash validation.Channel C: Live Audio: The optional Max for Live Analyzer reports loudness, true peak, stereo correlation and seven bands over loopback UDP.
capture_audioalso records the actual signal, including instruments and effects, with a timing witness. File analysis and sound comparison work independently of the device.
MCP Tools & Resources
Maestro exposes 63 tools and 6 resources over the Model Context Protocol (MCP):
Intent Tools (Production Workflows)
Session & Inspection:
get_session,get_track,get_clip,get_devices,describeTracks & Devices:
create_track,delete_track,load_device,delete_device,set_parameter,set_parameter_display,wavetable_matrixClips & MIDI Notes:
create_clip,delete_clip,write_clip_notes,read_clip_notes,quantize_clip,transpose_clipMixing & Automation:
set_mix,write_automation,read_automation,clear_automationLive Audio (Channel C):
analyze_audio,capture_audioRecorded Comparisons:
compare_audio,compare_spectrum,get_audio_reportArrangement & Transport:
arrange,set_locator,set_arrangement_time,play,stop,fire_scene,set_tempo,set_loopOffline Projects (Channel B):
als_read,als_writeSound Matching:
match_sound,sound_index_status,instrument_presetAudio Jobs & Drum Import:
get_audio_job,cancel_audio_job,write_drum_clip,apply_tempo_mapNative Arrangement Timing:
read_tempo_map,write_tempo_map,verify_tempo_map,get_warp_markers,set_warp_markers,convert_clip_timeNative Files & Notes:
get_set_state,import_arrangement_audio,write_arrangement_notes,load_sample,load_drum_pad
Optional file-based drum analysis produces MIDI, a tempo map and one-shots from
identified kick/snare stems. Install .[audio] or set LIVE_MAESTRO_AUDIO_PYTHON.
The live://skill/live-rebuild-drums resource supplies the cross-server workflow.
See drum workflows for source offsets, timing assumptions,
confirmation, actual verification and the Arrangement tempo-import step.
See Arrangement timing for native warp lists, tempo
copies, direct file import, chunked notes and checked Simpler/Drum Rack loading.
See reference reconstruction for supplied stems,
reviewed external analysis, source timing, MIDI placement and recorded comparisons.
The live://skill/live-rebuild-reference resource guides that workflow. UVR is
optional; files from music generators, other separators or your own exports also work.
Smart Path Discovery: find_path
find_path maps production vocabulary to mechanisms and ranked catalog rows, including runtime device parameters and unsupported requests.
Finding a Sound: find_sound
find_path answers which path serves an intent; find_sound answers which thing in Live's library could make a sound. It splits a phrase such as "warm bass" or "dark cinematic strings" into words, searches the browser for each one separately (the browser's own search matches one substring, spaces included, so the whole phrase finds nothing), and ranks the union by the preset's name and by the category its uri carries. Each candidate carries the argument block that loads it through load_device. Nothing is loaded, played or measured: the ranking reads the names Ableton gave these presets and says nothing about how any of them sounds.
Matching a Sound: match_sound
find_sound reads names; match_sound reads audio. Hand it a stem, a loop or a one shot and it ranks the installed library by how close each item sounds to it, which is what a rebuild needs when the source carries no names at all.
The comparison runs against the audio Ableton renders for its own browser previews, which sits beside the content under Ableton Folder Info/Previews and is ordinary Ogg Vorbis. That route exists because the direct one does not: Ableton's factory samples carry an able compression type, a same-size transform of the payload, and neither Python nor Max for Live inside Live's own process reads them. Both were measured against a running Live and the readings are in measurements/spikes/.
The descriptor is pure Python with no third-party package: a 2048-point transform at 32 kHz reduced to 32 logarithmic bands, plus spectral centroid, rolloff, peakiness, onset rate, sustain fraction and crest factor. Level is removed on purpose, so a quiet recording and a loud one of the same sound match exactly; pitch is not matched.
Tell it what the instrument is. Use instrument to restrict candidates to a suitable family. Window selection changes a stem's descriptor, so rankings can vary across the same recording. Treat results as an audition shortlist. drum_kit and drum_hit are separate families.
Build the index by running live-maestro-index, which is installed alongside the server. It needs no network and describes one machine's installed packs. Build time depends on the library size and available decoder; the index is not committed.
Decoding uses macOS's afconvert, FFmpeg on PATH (or LIVE_MAESTRO_FFMPEG), or
SoundFile/SciPy from live-maestro[audio]. Windows discovery reads Live's configured
User Library and installed Core Library; use live-maestro-index --root PATH for
other Pack locations. Rebuild the index on the machine where it is used. Encrypted
factory samples remain unavailable; their ordinary browser previews are indexed.
What it cannot describe is behaviour per note, because a preview is the phrase
Ableton chose rather than a note anyone played.
From analysis to editable MIDI
Bring reviewed MIDI from an independent analysis tool, or pass source-timed,
beat-mapped notes to write_arrangement_notes or write_clip_notes. Live Maestro
handles placement, instruments and actual recorded comparisons; it provisions
no transcription model. The companion Audio Maestro uses Basic Pitch and optional
SheetSage and is being validated separately. The file workflow accepts any
compatible producer.
Generic LOM Escape Hatches
Direct, low-level access to the entire verified catalog surface:
lom_get/lom_set: Read or write any catalogued property with read-back confirmation.lom_call: Invoke allowlisted Live Object Model methods.lom_batch: Execute multiple operations in a single round trip to eliminate socket latency.lom_describe: Deep runtime inspection of Live objects, collections, and device chains.lom_enums: Inspect and decode Live integer enum members.
MCP Resources
live://session: Live snapshot of active tracks, clips, and mixer state.live://catalog: Map of all catalog areas, counts, and status indicators.live://catalog/{selector}: Query catalog rows by area, status, or search term.live://limits: Documentation of known API and DAW constraints (docs/limits.md).
Safety & Two-Way Verification
A command sent to Live can be refused, clamped, or applied late, and a plain success reply shows none of that.
Safe Dry-Run by Default: Destructive and structural operations (
delete_track,delete_device,delete_clip,clear_automation,set_locator,als_write, and the load step ofload_device) require explicitconfirm=True. Without confirmation, Maestro performs a safe dry run and reports exactly what would be removed or altered.Three writes are destructive and are not gated, because gating every note edit would make ordinary work unusable:
write_clip_noteswith its defaultmode="replace"discards every note in the target clip, andquantize_clipandtranspose_cliprewrite one in place. All three are annotated as destructive so a client can ask, andread_clip_notesis how to look first. There is no undo through this server and the Live Object Model has no rollback.Read-Back Verification: Parameter updates via
lom_setread the stored value back from Live and report the exact state:applied(exact match),clamped(quantized or bounded by Live), ornot_observed(deferred or asynchronous update).Change Baseline Checks: Methods that modify material (note duplication, quantizing, loop doubling) measure baselines before dispatching and verify the resulting state one round trip later.
Empirical LOM catalog: Built on a catalog of 1,168 rows across 5 files, with 1,132 verified against a running Ableton Live, spanning the song and transport, tracks, clips, native devices, and the browser.
Quick start
You need Ableton Live 12 and uv. No repository, no virtual environment, no Python knowledge.
1. Install it
uv tool install git+https://github.com/romanstark/live-maestro.git2. Set up Live
live-maestro-installThis finds your Ableton Live User Library, copies the Remote Script into it, and puts the analyzer device where Live's browser looks for it. It prints every path it touched, and it never writes into another script's folder.
3. Switch it on in Live
Live โ Preferences / Settings โ Link, Tempo & MIDI โ Control Surface โ
LiveMaestro
Then quit Live completely and start it again. Remote Scripts load only at startup: closing the set is not enough, and Live reports nothing either way.
Check that it answers by asking your assistant for get_session, which reports the script handshake. From a checkout there is also a shell form:
.venv/bin/python -m live_maestro.client ping4. Connect your AI assistant
Add the server to your MCP client configuration (Claude Desktop, Cursor, Antigravity IDE):
{
"mcpServers": {
"live-maestro": {
"command": "live-maestro"
}
}
}To run it without installing anything permanently, let uvx fetch it per launch:
{
"mcpServers": {
"live-maestro": {
"command": "uvx",
"args": ["--from", "git+https://github.com/romanstark/live-maestro.git", "live-maestro"]
}
}
}Live still needs its two files either way. With this arrangement, install them once with uvx --from git+https://github.com/romanstark/live-maestro.git live-maestro-install.
5. Put the analyzer device on a track (measurement and capture)
The installer places LiveMaestro Analyzer in your User Library, where Live's browser lists it under Presets โ Audio Effects โ Max Audio Effect. Drag it onto the track you want to measure, last in the chain: it reads the signal at its own position, so anything after it is not in what it reports. It passes audio through unchanged.
analyze_audio and capture_audio use it. The other tools work without it. Live does not reload a changed device, so after an update replace any copy already loaded in a set. Skip the device entirely with live-maestro-install --no-device.
Four environment variables change where the server looks, and none of them is normally needed:
Variable | Default | What it changes |
|
| The TCP port the Remote Script listens on. Change it in the Remote Script too, or nothing answers. |
|
| Where to look for Live. Loopback is the only arrangement this project has measured; the Remote Script speaks no authentication, so anything else is your own arrangement to secure. |
|
| The UDP port the analyzer device listens on. Change it in the device too. |
Open a project in Ableton Live and start by asking: "What tracks are in this set?"
Your music stays yours
100% Local: All communication between your AI assistant and Ableton Live happens over a local, internal loopback connection on your computer.
No telemetry or cloud tracking: Maestro collects zero analytics, has no database, and does not upload your MIDI, audio, project files, or prompts to any external server.
Minimal dependencies: Pure local code with no hidden web scrapers or cloud telemetry.
Live Maestro provisions no listening or transcription models. Independent Audio Maestro analyzes files; UVR Maestro separates them. Ordinary audio, MIDI and reviewed JSON connect the tools without a package dependency.
What stays in your hands
Live's API is extensive, but some things are intentionally reserved for you in the DAW interface:
Task | Why | How to do it |
Export / Audio Bounce | Not exposed by Live's scripting API | Use File โ Export Audio/Video in Live |
Save Project | Not exposed by Live's API | Press Ctrl+S / Cmd+S as usual |
Group Tracks | Read-only in Live's API | Press Ctrl+G / Cmd+G in Live |
Track Order | No LOM method moves a track, so reordering means rebuilding one | Drag the track header in Live |
Unconfigured Third-Party VSTs | How much of a plugin the Object Model sees is decided by the plugin, and Configure mode is how Live adds more | Click Configure on the VST and click the parameters you want exposed |
Critical Listening | AI can shape parameters, but only you have ears | Listen on your monitors/headphones and guide the music |
Related Maestro projects
Dorico Maestro controls notation workflows in Steinberg Dorico.
UVR Maestro separates and restores local audio with UVR5 models.
Each server works independently. Use ordinary MIDI, audio and JSON files when combining their workflows.
Development
Working on the server itself rather than making music with it:
git clone https://github.com/romanstark/live-maestro.git
cd live-maestro
python -m venv .venvActivate it with .venv\Scripts\activate on Windows or source .venv/bin/activate on macOS and Linux, then:
pip install -e ".[dev]"
python scripts/install_script.pyThe [dev] extra adds pytest, ruff, pyright and pyrefly, which are the four CI gates, and is only needed for the tests and the checkers. scripts/install_script.py is the same installer as live-maestro-install and takes the same flags: it calls live_maestro.installer, which ships inside the wheel so that a user with no checkout can run it.
Point your MCP client at the checkout's interpreter while you work on it:
{
"mcpServers": {
"live-maestro": {
"command": "/absolute/path/to/live-maestro/.venv/Scripts/python.exe",
"args": ["-m", "live_maestro.server"]
}
}
}On macOS and Linux the interpreter is .venv/bin/python rather than .venv/Scripts/python.exe.
Documentation & Developer Resources
For technical details, architecture specs, and contributing:
docs/architecture.md: Internal architecture and Live Object Model integration
docs/protocol.md: Wire protocol and communication specification
docs/catalog.md: LOM catalog schema and verification rules
docs/limits.md: Technical constraints and API boundary measurements
docs/upgrading_live.md: Runbook for re-verifying the catalog against a new Live release
CONTRIBUTING.md: Contribution guidelines and developer setup
THIRD-PARTY.md: Third-party notices, dependencies, and trademark attributions
LICENSE: AGPL-3.0 License
Legal & Trademarks
Ableton is a registered trademark, and Live, Max for Live, Link, Drum Rack, Operator and Sampler are trademarks of Ableton AG. Steinberg, Dorico and VST are trademarks or registered trademarks of Steinberg Media Technologies GmbH, registered in Europe and other countries.
Live Maestro is an independent open-source project and is not affiliated with, endorsed, sponsored, or supported by Ableton AG or Steinberg Media Technologies GmbH. For full third-party notices, licenses, and attributions, see THIRD-PARTY.md.
Available Tools
63 toolsals_readARead-onlyIdempotent
Read a saved Ableton project (.als) or rack (.adg) from disk.
Returns:
Dictionary containing project metadata, track list, devices, and automation structure.
Note:
This is Channel B, a peer of the live connection rather than a fallback. It
answers two questions the LOM never will: what is in someone else's project, and
where an envelope's breakpoints actually sit.
Automation lives in two places and the LOM can read only one of them. Measured
over the 174-project corpus (docs/limits.md section 9): 52 (30 %) have clip
envelopes but 159 (91 %) have
track automation, and a tool that counted clip envelopes alone reported 110 of
those projects as unautomated. The two layers are reported separately here and
are never added together.
Inputs: path (required), track, locate, report, +1 more. Returns: object
als_writeADestructive
Edit a saved .als project file on disk. Requires confirm=True.
The target file must not be the one Live currently holds: Live writes its own memory
over the file when it next saves, without a conflict warning, and the edit is gone. Live
running on a different set is fine.
Returns:
Dictionary reporting write status, changes made, and verification report.
Note:
``sidechain`` and ``configure`` reach what the LOM cannot; for the set open in Live
use ``lom_set``, ``set_parameter`` or ``set_mix`` instead. Measured across the
174-project corpus (docs/limits.md section 9), 74 of 82 projects in the house/trance
BPM window use sidechain compression, median 6 wirings each.
``configure`` fills a plug-in's parameter strip whatever the strip currently holds.
Two parameters written into an instance whose strip held nothing came back on reopen
with their real values, writable through ``lom_set`` with ``read_back: applied``.
Live allocates 128 slots per instance and leaves them all in the file, so nothing is
inserted: three fields of an existing element are filled.
``attribute`` sets one attribute anywhere in the file, addressed by an ElementTree
expression. An expression matching more than one element is refused unless ``index``
picks one, and ``index`` counts the matches of that expression rather than tracks in
the project: ``.//MidiTrack/Name/EffectiveName`` does not see the audio tracks at
all. ``als_read`` with ``locate='tempo'`` or ``locate='track_names'`` answers with
the expression, attribute and index for those fields; otherwise the expression is
built by hand, and ``confirm=False`` resolves it against the file and reports what
it selects.
Inputs: path (required), operation (required), tap, index, +10 more. Returns: object
analyze_audioARead-onlyIdempotent
Measure the audio itself: loudness, true peak, stereo phase and band balance.
Reads the LiveMaestro Analyzer Max for Live device over loopback OSC; without it this
reports device_not_found with the steps to load it.
- Loudness to EBU R128: momentary 400 ms, short term 3 s, gated integrated since
reset, range.
- True peak, oversampled, with sample peak, RMS and the crest factor between them.
- Stereo correlation full band and below 120 Hz, and low-end survival of a mono sum.
- Seven band energies on the mono sum, and their weighted centre, not an FFT centroid.
The device reads at its position in the chain, so it belongs last: an effect
after it is not in the reading. A master chain sits before the master fader, so a
master reading matches the output only at 0.0 dB. The two peak figures are maxima
since the last reset and only rise: to measure one, call with
reset=true and no accumulate, let a pass of the material through, then call again.
The averaged figures need no reset. What it proves is what the signal measured
passing the device, not the room.
Every measurement carries the transport state from immediately after it, so a reading
taken mid scene change can be recognised. ``in_transition`` is true while any track
reports fired_slot_index 0 or more, a launch waiting for the next quantization boundary,
and ``session_tracks_playing`` counts tracks whose playing_slot_index is 0 or more
while the transport runs, 0 when stopped. Arrangement playback and audibility are
outside this count. ``tracks_sounding`` is its compatibility alias. Unreadable state
gives ``transport`` null with a code and one sentence in ``transport_unavailable``, or
not_queried when the analyzer did not answer.
Inputs: reset, track, window_ms, accumulate, +1 more. Returns: object
apply_tempo_mapBDestructive
Apply a constant map through set_tempo or explain Arrangement import for changes.
Variable maps are exported as tempo-map.mid with a spanning carrier note.
Live's documented Arrangement import asks to include tempo data. The remote
object model cannot accept that GUI confirmation; import on a muted MIDI track.
Inputs: analysis_path (required), confirm. Returns: object
arrangeA
Copy Session clips onto the Arrangement timeline at beat positions.
Supports two modes:
1. Single placement: specify track, slot, at_beat (and optionally to_track).
2. Batch placements: pass a placements list to duplicate several clips and verify
each one against the destination track it landed on.
A copy, not a move: the Session clip stays in its slot and the two are separate
clips afterwards, so editing one leaves the other alone. This is how a Session
idea becomes an arrangement, and how clip automation written by write_automation
reaches the Arrangement timeline.
Returns:
For single placement: dictionary with placement status, destination track,
clip counts before and after, the beat the clip actually landed on, and the
clip itself under placed_clip. Both modes identify a placement by comparing the
destination track before and after, so a clip that was already on the requested
beat never stands in for one that did not land.
For placements list: dictionary with per-placement requested_beat, actual_beat,
ok, and summary counts.
Note:
Call it once per placement. Repeating the same call adds another copy at the
same beat rather than replacing the first, so a retry after an unclear result
needs the clip count in this answer checked first.
A list retries worse than a single call, not better: a list that half landed
doubles what landed if it is sent again. 'destinations' carries the clip count
per destination track before and after, which is the number to check first.
Use create_clip and write_clip_notes to build the source clip, and
set_arrangement_time then play to hear where it landed.
Inputs: slot, track, at_beat, to_track, +1 more. Returns: object
cancel_audio_jobADestructive
Cancel local audio analysis and preserve its partial run directory.
Inputs: job_id (required). Returns: object
capture_audioA
Record actual audio at the Analyzer's position, with a recorded timing witness.
Requires the updated Analyzer loaded in Live. Main is measured before its fader;
put it at 0 dB when comparing the main output. from_beat temporarily cues/starts
a stopped Arrangement; transport is restored after capture. Without it, record
whatever currently reaches the device. No solo, routing or device parameters change;
check every track's solo state first, since any solo changes what is recorded.
The report's audio_paths[0] is the stereo audio; raw_path has six channels, only
the first two audio. The host beat can lead the audio by a set-dependent lag:
calibrate it before beat-aligned comparison. Map beats to capture time with
get_audio_report(section='timeline', beats=[...]), never from the tempo map.
The Analyzer is a device in the chain, so it measures before the track fader and
sees no fader move; it is loaded by hand, one per track, and one track (a group
works) is recorded per capture. ``warnings`` names a lit Back to Arrangement and a
mid-song start without ``play_from_beat``.
Record/cancel status is available through get_audio_job/cancel_audio_job.
Inputs: output_dir (required), track, confirm, from_beat, +2 more. Returns: object
clear_automationADestructive
Delete automation envelopes on a Session clip. Requires confirm=True.
With confirm=False it changes nothing and reports the envelope it would remove: its
range, where the low and the high point sit, and how densely it was sampled to find
them. That report covers one named parameter; with all_envelopes it says only whether
the clip is automated at all, because has_envelopes is one flag for the whole clip. To
see which parameters those envelopes belong to, read clip.automation_envelopes with
lom_get and then each automation_envelopes[i].parameter.name.
Returns:
Dictionary reporting the clearance, or the envelopes that would go.
Note:
A cleared envelope is gone, and the parameter falls back to whatever value it holds
outside the clip rather than to the first breakpoint. Sample it with read_automation
first if the shape might be wanted back, since nothing here restores it.
The dry run samples the curve rather than reading its breakpoints, so a feature
narrower than the reported sampling step can still sit between two samples. Where
the exact shape matters, read it with read_automation at a resolution you choose, or
read the breakpoints out of the saved file with als_read.
To change a curve rather than remove it, write_automation with ``clear_first=True``
replaces it in one call and needs no clearing first.
Inputs: path, slot, track, confirm, +2 more. Returns: object
compare_audioA
Compare reference and rendered audio by timing, level, bands, chroma and envelope.
Files need matching channel counts. Candidate resampling and bounded constant
alignment are reported; no time warp conceals tempo errors. Positive delay means
candidate audio arrived later. Gain compensation is only for comparison, and
waveform error is phase-sensitive, not a musical quality or leakage score.
Poll get_audio_job; outputs and optional residual live in a unique run.
Inputs: output_dir (required), candidate_path (required), reference_path (required), confirm, +6 more. Returns: object
compare_spectrumA
Compare reference and candidate on one beat grid, by band or semitone, over time.
Each file is placed through its own tempo map, so the difference shows what is
missing (positive dB) or too much (negative dB) at each beat and frequency.
Each section (a bar by default, or given beats or seconds) is first matched on
K-weighted loudness where both files sound, so sound and level come apart: per
section, sound_difference_db is the timbre gap at equal loudness and
level_difference_db the fader or automation move; true peak is reported only.
Also: regions ranked by area, attack positions and widths, and an offset estimate
that reveals plugin latency Live does not report. Track Delay is not in the
Object Model, so a needed correction is a request to the user.
Poll get_audio_job; read regions, sections and attacks with get_audio_report.
Inputs: to_beat (required), from_beat (required), output_dir (required), reference_path (required), +21 more. Returns: object
convert_clip_timeBRead-onlyIdempotent
Convert file seconds and song beats through actual Warp or step/ramp tempo.
Source seconds are file-local, including excerpts. Apply the producer's source offset separately when translating an excerpt event from the original song clock.
Inputs: path (required), value (required), direction (required), tempo_path. Returns: object
create_clipA
Create an empty MIDI clip of a given length in a Session slot.
The target must be a MIDI track. An audio slot takes a sample instead, which is a
different call: lom_call with path='song.tracks[N].clip_slots[M]',
method='create_audio_clip' and one absolute file path (catalog row
clip_slot.create_audio_clip).
Returns:
Dictionary with the creation status, the clip path, and the read-back length.
Note:
An occupied slot is refused rather than overwritten, so nothing is lost by
aiming at the wrong slot. To replace a clip, delete_clip first.
The clip arrives empty. Fill it with write_clip_notes, and copy it onto the
Arrangement timeline with arrange once it holds something.
Live gives a new Session clip a loop: ``looping`` reads back true with
``loop_start`` at 0 and ``loop_end`` at the length asked for. That is Live's
own default for Session clips and this does not set it. Turn it off through
``lom_set`` on ``clip.looping`` where the part is to play once.
Inputs: slot (required), track (required), name, length_beats. Returns: object
create_trackA
Insert a MIDI, audio, or return track and return its resolved index.
Returns:
Dictionary with the resolved index of the new track, its kind and name, and
the track count before and after.
Note:
Inserting at index N shifts the track that was at N, and every track after it, up
by one. Every track index held from before the call is then wrong, including ones
in a plan not yet executed. Append with -1 where the position does not matter, and
otherwise take the resolved index out of this answer rather than assuming it.
Creating a track does not put an instrument on it. Select it and call
load_device for that, then create_clip for something to play.
Inputs: kind, name, index. Returns: object
delete_clipADestructive
Delete the clip in a Session slot, its notes and envelopes with it.
Requires confirm=True. With confirm=False it reports the clip name, length and
note count that the call would remove, and changes nothing.
Returns:
Dictionary reporting the deletion, or the loss report when unconfirmed.
Note:
This empties one Session slot. Slot indices do not shift, so nothing else
moves and no other index goes stale.
Emptying a clip is not the same as deleting it: write_clip_notes with an
empty list and mode='replace' leaves the clip in place with its length,
loop and envelopes intact. Prefer that where the slot should stay filled.
A clip already copied into the Arrangement by arrange is a separate clip and
survives this.
Inputs: path, slot, track, confirm. Returns: object
delete_deviceADestructive
Delete one device from a track chain, its settings with it.
Requires confirm=True. With confirm=False it reports the name of the track, and
the device's name, class and parameter count, and changes nothing.
Returns:
Dictionary reporting deletion status or pending loss report.
Note:
The track is named in the report because a device name does not identify
one. A device class like Utility or EQ Eight sits on several tracks in a
normal set, so a loss report naming only the device reads the same whether
the index points at the intended chain or at a neighbour's. Check the track
name against the one you meant before confirming.
Deleting shifts every later device in the chain down one index, so a second
delete aimed at an index read before the first one lands on a different
device. Read the chain again with get_devices between deletes.
Two neighbouring intentions are not this tool. To reorder a chain nothing
needs deleting: call ``song.move_device`` through lom_call. To swap the
instrument on a track, load the replacement with load_device, which replaces
the instrument already there in one step (measured). Deleting first only
loses the settings earlier.
``kind`` reaches the return and main chains, which are addressed the same way
get_devices addresses them. A return track carries its own index and the main
track has none, so ``track`` is not read at all when kind is master.
Inputs: track (required), device (required), kind, confirm. Returns: object
delete_trackADestructive
Delete a track with everything on it. Requires confirm=True.
The widest deletion here: the devices, every Session clip and every Arrangement
clip on that track go with it. With confirm=False it reports the track name, the
devices, the filled Session slots and the Arrangement clip count the call would
remove, and changes nothing.
Returns:
Dictionary reporting the deletion, or the loss report when unconfirmed.
Note:
Deleting shifts every later track down one index, so any track index read
before this call is wrong afterwards. Re-read with get_session, and where
several tracks are going, delete from the highest index downwards so the
earlier indices stay valid.
For something narrower, delete_clip empties one slot and delete_device takes
one device out of the chain, neither of which renumbers anything.
Inputs: track (required), confirm. Returns: object
describeARead-onlyIdempotent
Introspect any Live object: class, properties, children, and methods.
The route to the dynamic surface: what a loaded plug-in actually exposes, which
no catalog can know in advance because it is decided at runtime and, for
third-party plug-ins, by what the user picked up in Configure mode.
Returns:
Dictionary with the object class, its properties, its child collections, the
methods the allowlist permits, and the parameter survey where asked for.
Note:
Prefer this over lom_describe for a device, and prefer lom_describe for
anything else. The difference is ``with_parameters``: lom_describe reports a
device's parameters as a count, and a count is what a Live ``Vector`` that
refuses ``len()`` fails to give, so a plug-in with parameters can be reported
as having none. Measured against Live 12.4.5. When that happens this tool
falls back to probing parameter indices, reports the names it found, and says
which of the two answers you are looking at.
Methods are never callable through a path. Take the name from here and invoke
it through lom_call, which accepts only names on the Remote Script's own
allowlist. For a device parameter, set it with set_parameter rather than
writing the path by hand.
Inputs: path (required), depth, with_parameters. Returns: object
find_pathARead-onlyIdempotent
Find the mechanism that serves an intent, and the catalog rows when rows serve it.
Returns:
Dictionary with the chosen route, any matching rows with their paths and docs,
and the next call to make when rows are not the answer.
Note:
There are four routes, and which one comes back matters more than the rows do.
``catalog_row`` means the rows carry the answer: each hit gives the path template to
fill in, the access verbs, the full doc, and ``scopes``, the other places the same
property exists, since track, return, master and chain mirror one another and a clip
row usually has an arrangement_clip twin. ``writes`` appears when the best row is a
read-only parameter object and names the sibling that actually takes a value.
``device_parameter`` means the answer is a knob inside a device, which this catalog
cannot enumerate because what a device exposes depends on the device: filter cutoff,
resonance, attack, threshold and everything else behind a front panel arrive this
way, with the procedure to reach them.
``blocked`` means Live's API cannot do it at all, with what to do in Live instead.
``intent_tool`` is reported in the ``tool`` field alongside the rows rather than in
place of them, because a tool that verifies its own work is the better route to the
same end but the path is still worth seeing. ``unresolved`` means nothing matched,
and ``unmatched`` lists the words that found nothing, which is usually where the
query went wrong.
A lookup costs about 1.5k tokens instead of the whole catalog. It does not touch
Live: it reads the catalog only, so nothing here proves anything about the set that
is open.
Inputs: query (required), area, limit, access. Returns: object
find_soundARead-onlyIdempotent
Find an instrument or preset in Live's library by what you want it to sound like.
Returns:
Dictionary with the root that was searched and why, the words that were searched
for, the ranked candidates each carrying ``item_path``, ``uri`` and ``category``,
how far the walks got, and the next call.
Note:
Nothing here has been listened to: the ranking reads the preset's name and the
browser category in its uri, so load one and listen before believing it fits.
``status`` is coverage, not fit: an empty ``candidates`` under ``complete`` does
mean no name there answers, while ``incomplete`` makes the list a lower bound.
Measured 2026-09-17 against Live 12.4.6, ``sounds`` completes, ``drums`` completes
at the depth this tool sends, and ``instruments`` cannot be searched to the end for
presets, so a negative from that root is never evidence of absence.
Each word costs one browser walk and blocks Live's main thread, so three are
searched and the rest named in ``words_not_searched``. ``considered`` is the sum
of items those walks examined, not the size of the root and not the size of the
library, so it exceeds either when two words search the same place. Both word
lists describe the walk, not the library: the ranking scores every intent word,
and shortened forms, against the names returned, so an unsearched word still
appears in ``matched``.
Measured 2026-09-17 against Live 12.4.6, "rhodes" and "moog" match no preset name in
``sounds``, and "kick" none in ``drums`` though a folder "Kick" matches under
``kind="any"``.
``category`` is derived from the uri's fragment rather than read from Live and is
null where the uri carries none; ``also_in`` names the other categories it was
filed under. To load one, call ``load_device`` with the candidate's ``load_with``
block, the target ``track`` and ``confirm=True``, preferring ``item_path``: a
``uri`` is walked for again and can run out of budget. Loading an instrument
silently replaces the one on that track, so read the chain with get_devices first.
Inputs: intent (required), kind, root, limit. Returns: object
fire_sceneA
Fire a scene and report which beat the launch actually lands on.
Returns:
Dictionary with the launch grid, the song position read on either side of the
call, and the beat the launch falls on, or both candidate beats where the
window spanned a boundary.
Note:
``fire`` answers that it succeeded and says nothing about when anything starts.
Live quantises a launch to the next grid boundary, so aiming a scene at a
particular bar from outside is a race: read the position, decide, fire, and Live
may already have passed the boundary the decision was made for. Measured against
Live 12.4.5: a read of ``song.current_song_time`` returned 55.6, the scene was
fired, and the launch landed at 96 rather than 64, one 8 bar boundary later than
intended. Nothing in the result said so.
This does not remove the race, which is Live's and is not reachable from here.
It makes the landing visible. The position is read immediately before and after
the call, and the answer names the beat a launch issued at either end of that
window falls on. Where the two differ, ``certain`` is false and both are given:
the launch is on one of them and which one is not knowable from outside.
With quantisation off the launch starts at once, so the window's own ends are
the answer and the beat is known no better than the window is wide.
This fires and does not wait. ``is_playing`` read straight afterwards is
normally false and that is correct, not a failure: nothing has started yet.
Inputs: scene (required), confirm. Returns: object
get_audio_jobBRead-onlyIdempotent
Read background capture/comparison progress, terminal evidence and produced file paths.
Inputs: job_id (required). Returns: object
get_audio_reportARead-onlyIdempotent
Read a verified audio report in bounded pages, including notes and timing witnesses.
Inputs: job_id (required), beats, limit, offset, +2 more. Returns: object
get_clipARead-onlyIdempotent
Read one Session clip's properties: length, loop, warp, pitch, markers, flags.
Returns:
Dictionary with ``has_clip``, and where that is true the clip path, whether
it is MIDI, and the property fields. An empty slot answers ``has_clip:
false`` and says so rather than failing.
Note:
Notes and automation are not properties: use ``read_clip_notes`` and
``read_automation``.
``warping``, ``warp_mode`` and ``pitch_coarse`` are reachable only through a
generic path. Each was read, written, read back and restored on 2026-08-29
against Live 12.4.5, and all three rows are ``verified``. ``pitch_fine`` is
read-verified only, and the integer mapping behind ``warp_mode`` is still a
hypothesis: confirm it against ``clip.available_warp_modes``.
**An audio clip's times are in seconds while warping is off, and in beats while
it is on.** ``times_in`` says which, and the per-field ``unit`` follows it. A MIDI
clip is always in beats. Measured 2026-09-19 against Live 12.4.6 on three
unwarped clips of one 228.792167 s file: ``loop_end`` read 228.79216666666667 on
all three, and a write of a larger ``end_marker`` clamped to that same number.
**Toggling ``warping`` rescales the stored markers and does not undo it.** On the
same clip, turning warping on took ``end_marker`` from 240.918 to 253.682, a
factor of 1.05298, and turning it back off left it at 253.682 while ``loop_end``
returned to the file length. The factor is the clip's own warp tempo over 60
(1.05298 is 63.18 BPM; another clip moved 0.5704 to 1.1408 at 120 BPM and not at
all at 60). Every toggle multiplies again, so a clip toggled twice carries markers
well past the end of its own file and nothing reports it. Read the markers after
any write to ``warping`` and set them back deliberately.
Inputs: path, slot, track. Returns: object
get_devicesARead-onlyIdempotent
List a track's device chain: names, class names, on/off, parameter counts.
Reads the chain and changes nothing in it. The device indices it reports are the
ones set_parameter, delete_device and ``song.move_device`` are addressed by.
Returns:
Dictionary with the device count and one entry per device carrying its index,
name, class name, on/off state, parameter count and ``configure_needed`` flag.
A track with an empty chain answers ``device_count: 0`` rather than an error,
while an index with no track behind it is refused with ``index_out_of_range``.
Note:
Read the parameter count first. A third-party plug-in reporting exactly one
parameter has not been configured, which the ``configure_needed`` flag says
outright. That is a limit in Live, not in this server, and only Live's GUI
lifts it. The probe behind that flag settles one question, whether the count
is exactly one or more than one, so where it could not settle it the count
arrives as ``parameter_count_at_least`` instead.
For the parameters themselves, with their ranges and display units, call
``describe`` with ``with_parameters=True``: this tool counts them and does
not list them. For the mixer, sends and clip slots on the same track, call
get_track instead of adding a second call here.
Inputs: track (required), kind. Returns: object
get_sessionARead-onlyIdempotent
Survey the running set: script handshake, song fields, tracks, clips, devices.
The call to make first. It proves the Remote Script is answering before anything
else is attempted, and it hands back the track and scene indices every other
tool here is addressed by.
Returns:
Dictionary with script handshake info, song fields, the track list with its
indices, group track indices, and clip and device detail where asked for.
Note:
The round-trip handshake takes about 450 ms, so this is the expensive read. Take
it once at the start and narrow with get_track, get_clip and get_devices
afterwards rather than calling this again between edits. Group tracks have no arm
state ('armed' returns null). If Live collection introspection reports zero
tracks, index probing is used as a fallback.
Inputs: clips, devices, max_scenes. Returns: object
get_set_stateBRead-onlyIdempotent
Read open set identity and transport, explicitly disclosing unknown dirty state.
Inputs: no named parameters. Returns: object
get_trackARead-onlyIdempotent
Read one track's mixer state, flags, device chain, sends and clip slots.
One track in one round trip, where get_session covers the whole set. Use this to
read a mixer before writing it with set_mix, and get_devices when the device
chain is the only thing wanted.
Returns:
Dictionary with the mixer fields, the arm state and whether arming applies,
the device names and count, the send values, the clip slot count and the
indices of the filled ones, and a per-collection flag saying whether each
count is exact.
Note:
``volume`` and ``panning`` are normalised, not dB: 0.85 is 0 dB (measured),
and the scale is not linear. ``display`` carries the dB reading where Live
offered one.
``arm`` is read only after ``can_be_armed`` says the question applies,
because reading it on a group track raises inside Live and would break the
whole batch (measured). It comes back as ``null`` where it does not apply.
Device names, send values and which clip slots are filled are measured by
probing indices in one batch, because Live's collections report no length.
Read ``counts_exact`` before treating any of those counts as complete.
Inputs: track (required), kind. Returns: object
get_warp_markersBRead-onlyIdempotent
Read explicit source seconds and clip-local beats, including Live's shadow marker.
Inputs: path (required). Returns: object
import_arrangement_audioA
Import file, track, position and Warp in one call through native Track.create_audio_clip.
Destination must have no Arrangement clips, preventing hidden overlap replacement.
Native file, position and Warp are read back; timing has a separate verification field.
Inputs: track (required), at_beat (required), audio_path (required), warp, +1 more. Returns: object
instrument_presetA
Write or read an instrument preset in physical units through a format adapter.
write starts from the user's own preset, applies the parameters and routes, and
saves a new file; an existing file is refused. Live cannot load plugin presets:
the user loads the file in the plugin and saves the set. read_als then reads
what the plugin holds from the set's saved VST3 state. Rates and codes the
adapter has not measured are refused rather than guessed; native covers them.
Use with describe_sound (Audio Maestro) and compare_spectrum to refine a sound.
Inputs: path (required), action (required), name, track, +7 more. Returns: object
load_deviceADestructive
Search Live's browser and load a device onto a track: a search step, then a load step.
Returns:
Dictionary of search candidates and the selected track on the search step,
or the load result and the resulting device chain on the load step.
Note:
A load cannot be aimed inside a rack: measured 2026-09-07 against Live 12.4.5,
``rack.view.selected_chain`` read back as written and the device still landed on the
track. An effect is appended; an instrument replaces the one already there and
discards it silently, with its settings and the clip envelopes pointing at it: check
with get_devices first. Loading plug-ins in rapid succession can crash Live
(measured: a batch load during a plug-in rescan with a licence dialog open took Live
down), so load one at a time. A load also arms the target track and disarms every
other one (measured 2026-09-19 against Live 12.4.6: of two armed tracks and an
unarmed target, the target came back armed and the others disarmed), and nothing
here reports it. An instrument load renames a track that still has Live's default
name; an effect never renames.
Success means the call ran, not that the track sounds: a measured Drum Rack load
reported success on a silent track, and an empty rack is what that looks like, so
read ``song.tracks[N].devices[i].chains``, which get_devices does not report. A null
``selected_track_same``, ``displaced`` or ``configure_needed`` means the comparison
failed, not ``false``; the first compares name and track count, not identity.
``loaded_device_index`` is the position of the new device, computed only where
the two chains single out exactly one, and null otherwise.
``status: incomplete`` with no candidates means the walk stopped early, not that the
item is absent: retry ``unreached_roots``; only ``complete`` rules it out. The main
track has no index: write ``song.view.selected_track`` with ``{"__path__":
"song.master_track"}`` through lom_set, then load.
Inputs: uri, root, limit, query, +3 more. Returns: object
load_drum_padADestructive
Load a file onto a Drum Rack pad, including creating an empty pad's Simpler.
Empty pads need a saved project. External files are staged under Samples/Imported/Maestro without overwriting files. Existing layered/non-Simpler pads are refused. The source bytes, attack marker and Warp state are verified; percussion uses one-shot mode.
Inputs: pad_note (required), rack_path (required), audio_path (required), confirm, +1 more. Returns: object
load_sampleBDestructive
Replace a Simpler sample by file path and verify its bytes, marker and Warp state.
A Drum Rack pad's existing Simpler is addressed by its nested device path.
This uses the native replace_sample method; no browser index or UVR is required.
Inputs: audio_path (required), device_path (required), warp, confirm, +1 more. Returns: object
lom_batchA
Execute multiple raw LOM operations (get, set, call) in a single round trip.
Returns:
Dictionary containing ordered results for each operation.
Note:
A batch runs inside one handler call, synchronously on Live's main thread, and is
capped at 1000 operations (max_ops=1000): a larger one is rejected upfront and never
truncated. Measured 2026-09-16 against Live 12.4.5 (macOS 26.6.2, four-track set):
one request costs about 400 ms whatever its size, with 200 ops at 500 ms, 1600 mixed
reads at 1506 ms and 3200 song.tempo gets at 1718 ms, error_count 0 throughout; past
the 200-op point the marginal cost is about 0.72 ms per mixed real read and 0.44 ms
per song.tempo get. Write and call ops were not measured and cost more.
Nothing Live recomputes between operations is visible to a later operation in the
same batch: a read after a transport jump still reports the position from before the
move, and four jumps interleaved with four reads returned four identical pre-jump
values and no error. That is the failure shape to expect here. It does not raise. It
returns a clean set of numbers that look like a measurement of a parameter which
never changes, and the conclusion drawn from them is wrong. Sample a moving
transport with one call per position, never inside a batch.
An end_marker write on an Arrangement clip is refused here rather than sent: on an
unlooped clip it reads back and the clip still ends at loop_end (docs/limits.md,
'Start and end of an Arrangement clip'). One ``song.undo`` takes back the whole
batch. ``atomic`` stops at the first error but undoes nothing, so read the state
back after a partial failure.
Prefer a dedicated tool where one exists: get_session, get_track, get_devices and
set_mix batch their own reads and verify, which this does not.
Inputs: ops (required), atomic. Returns: object
lom_callA
Invoke an allowlisted method on a Live object.
The escape hatch for the calls that have no tool of their own, such as
``song.move_device`` for reordering a device chain. What it can reach is bounded
by the Remote Script's allowlist, not by this signature.
Returns:
Dictionary reporting the call and its return value. A refused call names the
reason, and where a dedicated tool covers the same ground it comes back with
``use_instead`` naming that tool.
Note:
A method call has no read-back, so nothing here proves the effect the way a
write through lom_set or set_parameter does. Follow it with the matching read
(get_devices after a move, get_session after a structural change) rather than
treating a successful return as evidence.
Prefer the dedicated tool wherever one exists: create_clip, delete_track,
set_tempo, play and stop all verify what this cannot. Use lom_get and lom_set
for properties, which are not reachable as methods, and lom_batch to send
several calls in one round trip.
Inputs: path (required), method (required), args. Returns: object
lom_describeARead-onlyIdempotent
Reflect on any LOM object: class, properties, children, callable methods.
The raw reflection, reporting what the object itself declares. Use it to find
the property names on an object the catalog does not cover, then read them with
lom_get and write them with lom_set.
Returns:
Dictionary reporting object class, properties, child collections with their
counts, and the methods the Remote Script allowlist will let you call.
Note:
For a device, prefer ``describe`` with ``with_parameters=True``. This tool
reports a device's ``parameters`` child as a count, and a count is exactly
what a Live ``Vector`` that refuses ``len()`` fails to give, so a plug-in
with parameters can be reported as having none. ``describe`` falls back to
probing indices when that happens and says which answer it is handing back.
The methods listed here are names, not calls: invoke one through lom_call.
Inputs: path (required), depth. Returns: object
lom_enumsARead-onlyIdempotent
Look up the integer behind a named Live enum member.
Live stores an enum property as a bare integer, so a write needs the number and
a read hands back a number that means nothing on its own. This is the lookup in
both directions.
Returns:
Dictionary of member names against their integer values, or the list of enum
type names when ``type_name`` is empty.
Note:
Call this before writing an enum-valued property through lom_set or
set_parameter, rather than guessing that the members run in the order Live
draws them. This answers what a type's members are. lom_describe answers
what properties an object has, and neither answers the other.
Inputs: type_name. Returns: object
lom_getARead-onlyIdempotent
Read one property value by LOM path, with its catalogued meaning.
The single-property read behind every getter here, for the field no getter
exposes. Where the catalog knows the path, the answer carries a ``catalog``
hint, and where it knows that a particular value is a sentinel it carries
``means`` as well: a ``scene.tempo`` of -1.0 reads back as "no tempo set for
this scene" rather than as a tempo below the legal minimum.
Returns:
Dictionary with path, value, type, an optional display string for a device
parameter, and the catalog hint and meaning where those exist.
Note:
A path that is not rooted at song, app or song.view is refused here without
Live being contacted. A path Live rejects comes back as ``ok: false`` with
Live's own ``code``, so a missing property is an error rather than a null.
Reach for a getter first where one exists: get_session for the whole set,
get_track, get_clip and get_devices for one of each, read_clip_notes for
notes, read_automation for envelopes. All of them cost one round trip for
many fields, where this costs one per field. Use lom_batch to read several
paths in a single trip, lom_describe when the property names are not known
yet, and lom_set to write.
Inputs: path (required). Returns: object
lom_setAIdempotent
Write a property value by LOM path and return verification read-back.
The generic write, and the unvalidated one: set_parameter, set_mix and set_tempo check
the catalog first. lom_call takes a method, lom_batch several writes in one round trip.
Returns:
Dictionary reporting requested, before, after, clamped, and changed status.
For a device parameter it also carries ``display`` and ``is_quantized``.
Note:
An out-of-range value is refused out loud and nothing is stored: ``...volume.value =
1.4`` answers ``live_error "Invalid value. Check the parameters range with
min/max"`` and leaves 0.85 standing, as do tempo 5000 and panning 5. What the
read-back catches is quantised snap: ``<Compressor>.parameters[10].value = 0.4``
(Model: Peak / RMS / Expand) stored 0 and reported ``clamped: true, read_back:
"clamped", is_quantized: true, display: "Peak"``, so a value between two steps
silently becomes another. ``is_quantized`` is what separates a snap to a step
from a clamp to a range.
A write can apply asynchronously, leaving ``read_back`` at ``not_observed``, which
is neither ``clamped`` nor a failure; a method call has no read-back at all; and an
unknown property name is ignored and reported as success, so check ``changed``
rather than ``ok``. A collection like ``song.tracks`` cannot be assigned: set a
property on an element instead.
A Live object cannot travel as a plain value. Where a property holds one
(``song.view.selected_track``, ``song.view.selected_scene``,
``song.view.detail_clip``, ``browser.hotswap_target``, ``clip.groove``, and on a
device ``input_routing_type`` and ``input_routing_channel``) pass
``value={"__path__": "song.tracks[2]"}`` (protocol section 5.4); handed plain JSON
the first five answer ``not_settable``. The two routing properties take their
reference out of ``<device>.available_input_routing_types`` and
``...available_input_routing_channels``, never a name string.
Inputs: path (required), value (required). Returns: object
match_soundARead-onlyIdempotent
Rank the library by how close each item sounds to a piece of audio you have.
Returns:
Dictionary with the descriptor taken from the file, the ranked candidates each
carrying its name, kind, category, library and score, and the call that loads
the one you pick.
Note:
A score orders this one answer, lower being closer: not a percentage or a distance,
and scores from two files do not compare. The order inside one answer is weaker than
it looks: ``elsewhere_in_the_file`` ranks a second stretch of the same recording to
show how weak; ``also_elsewhere`` says a candidate came back in both, the one
reading here that is evidence, not ordering. Measured 2026-09-19 over five separated
stems in 20 s windows, two windows of one stem shared about one name in ten and the
descriptor moved by three to six times the whole width of the top thirty. Ranked
over the whole library, the top candidate shared the probe's family 1 time in 7 at
20 s and 6 of 20 on 1.5 s slices: a bass stem answers with drum kits and a guitar
stem with pads; given ``instrument``, the same audio answers with basses and plucked
guitars. Name the family when you know it: this is a shortlist, not a ranking.
What is compared is Ableton's preview render of each item, so a busy-riff preview
describes itself differently from a held-chord one, and nothing here speaks for
playable range, velocity response or a single note's attack. The match is timbral
with level removed, so a quiet and a loud take of one sound match exactly; pitch is
not matched, so a bass line at 50 Hz and the same line at 100 Hz are near
neighbours. ``analysed`` says where the window landed, with peak and RMS; a silent
stretch answers ``nothing_to_match``, and without an index this answers
``no_index``. To load one, set ``track`` in its ``load_with`` block and call
``load_device``: the handle is a name, not a path, so the browser search can return
more than one item. Check before confirming.
Inputs: path (required), kinds, limit, window, +4 more. Returns: object
playAIdempotent
Start transport playback and read back the is_playing status.
Returns:
Dictionary reporting the start call and the read-back is_playing flag.
Note:
The read-back proves the transport is running, not that anything is audible:
a muted track, an empty Arrangement or a track with no instrument all play
silently. Use stop to halt, and set_arrangement_time to move the playhead
without starting.
Leave the transport as it was found. Nothing here stops it on its own, and a
set left playing keeps playing for whoever is at the machine.
A Session clip that has played leaves its track in Session view, and the
track then ignores the Arrangement until Live's Back to Arrangement button
is pressed. ``song.back_to_arranger`` reports that state and clears it
when written false (applied asynchronously, taking up to 2 read-back
attempts for ``read_back: "applied"``).
Inputs: from_beat, continue_playing. Returns: object
quantize_clipAIdempotent
Quantize MIDI clip note positions and lengths to a specified beat grid.
Reads notes, calculates quantized positions, writes back using mode='replace',
and verifies the result.
Returns:
Dictionary with the write result, the number of notes moved, and how far.
Note:
Parameter interactions: ``strength`` scales note displacement towards ``grid`` from
0.0 (raw timing preserved) to 1.0 (full snap). Use partial strength (e.g. 0.5) to
tighten timing while preserving human groove feel. Setting ``quantize_ends=True``
snaps note ends to the grid too, adjusting note lengths. In contrast,
``quantize_ends=False`` shifts note onsets only and preserves articulation.
Quantising modifies notes in place and is not undoable. Read the notes first with
read_clip_notes if the original unquantized timing might be needed later.
To shift pitch instead of timing, use transpose_clip. To write custom or micro-timed
notes off-grid, use write_clip_notes.
Inputs: grid, path, slot, track, +2 more. Returns: object
read_automationARead-onlyIdempotent
Sample a clip envelope into a list of values and report what it found.
Reads the curve by evaluating it at ``points`` positions, so the answer is a
sampling of the envelope rather than the breakpoints that define it.
Returns:
Dictionary with the sampled values, the beat range they cover, the value
range they span, and flags saying whether an envelope exists at all.
Note:
Automation lives in Session clips, so an Arrangement clip has none to read.
als_read is the way to see breakpoints in a saved project instead.
Use write_automation to lay a curve down and clear_automation to remove one.
A flat result with an envelope flag of false means nothing is automated on
that parameter, which is not the same as an envelope holding the parameter's
current value.
Inputs: parameter (required), end, path, slot, +3 more. Returns: object
read_clip_notesARead-onlyIdempotent
Read MIDI notes of a Session or Arrangement clip, a window of them, or their count.
Returns:
Dictionary containing notes, count, window parameters, and validation report.
Note:
Times and positions are clip-local beats. Muted notes are included and carry ``mute:
true``.
A single drum clip of 384 notes comes back as 57k characters, past the tool-result
cap, and ``Clip`` has no ``note_count`` in the LOM, so counting from out here
otherwise means transferring every note. ``count_only=True`` carries back one
integer instead. ``pitch_min`` and ``pitch_max`` narrow the read the way time does,
which is what makes a question like "what sits below this guitar's lowest string"
answerable on a clip too large to read whole. ``get_notes_extended`` through
``lom_call`` takes a pitch window too, but answers with opaque note handles that can
be counted and not read. With ``count_only`` there is nothing to validate, so
``check`` is ignored; with a window, ``check`` sees the window and not the clip.
Returned notes are sorted by time, then pitch. Live hands them back ordered by
pitch, which is the one order a musical instruction never means: four notes written
at beats 0, 1, 2, 3 with pitches 72, 60, 67, 62 come back 60, 62, 67, 72, so taking
every other entry off the raw list picks alternating pitches rather than alternating
beats, silently and plausibly. For Live's own order call ``get_notes_extended``
through ``lom_call``.
Inputs: path, slot, check, track, +5 more. Returns: object
read_tempo_mapBRead-onlyIdempotent
Read quarter-beat/BPM/step-or-ramp events from the actual tempo target.
Inputs: path (required). Returns: object
set_arrangement_timeAIdempotent
Move the Arrangement playhead to a beat and read the position back.
Writes ``song.current_song_time``. This moves where playback would start. It
does not start it. Use play to begin, or play with ``from_beat`` to do both in
one call.
Returns:
Dictionary with the write confirmation and the read-back song time.
Note:
Writing ``song.current_song_time`` is bounded by ``song.song_length``;
attempting to set a position past ``song_length`` fails with Live error
``"Cannot set the Songtime behind the Songlength"``. Transport playback
in Session view advances freely past ``song_length``.
Do not sample a moving transport through lom_batch. A read that follows a
jump inside the same batch still reports the position from before the move,
and it reports it without an error (see lom_batch). One call per position.
Inputs: at_beat (required). Returns: object
set_locatorA
Place or remove an Arrangement cue locator. Requires confirm=True.
This toggles, and that is the whole difficulty with it. Live offers one call,
``song.set_or_delete_cue``, which adds a locator where none exists at that beat
and deletes the one that does, so the same arguments twice leave nothing behind.
Call with confirm=False first to see which of the two would happen.
Returns:
Dictionary reporting the toggle, and the cue points and their count after it.
Note:
A locator marks a position for a human reading the Arrangement. It does not
move the playhead. Use set_arrangement_time to move that, and set_loop to
mark a region rather than a point.
Inputs: at_beat (required), name, confirm. Returns: object
set_loopAIdempotent
Move the Arrangement loop brace, or switch looping on and off.
Every argument is optional and only the ones given are written, so the brace can
be moved without touching the switch and the reverse.
Returns:
Dictionary reporting how many writes were made and the before and after
values for each of enabled, loop_start and loop_length.
Note:
The brace only loops the Arrangement transport. It has no bearing on Session
clip looping, which is a clip property. Read that with get_clip. ``length``
is a duration and not an end position.
Calling with no arguments at all writes nothing and reports the current
brace, which is the cheap way to read it.
Inputs: start, length, enabled. Returns: object
set_mixAIdempotent
Set volume, pan, sends, mute and solo on one track in a single round trip.
Every argument is optional and only the ones given are written, so this is the
cheap way to change several mixer controls at once. Read the current state with
get_track first, since the values here are absolute and not relative.
Returns:
Dictionary reporting each write with its before and after value, and the dB
display where Live offered one.
Note:
Volume and pan are normalised, so 0.85 is 0 dB (measured) rather than 85 per
cent of anything. To set a level in dB give ``volume_db`` or ``sends_db``: they
are aimed through the control's own display, the way set_parameter_display aims a
device knob, and also reach a rack chain's mixer through ``chain``.
The master track has no mute and no solo. Both are refused there rather than
silently ignored, and ``track`` is not read at all when kind is master.
This is the mixer only. For a knob on a device in the chain use
set_parameter, and for the tempo use set_tempo. To make a mixer control move
over time rather than jump, write an envelope with write_automation.
Inputs: track (required), pan, kind, mute, +6 more. Returns: object
set_parameterAIdempotent
Set one device parameter by index or name and verify the read-back.
Returns:
Dictionary reporting the write, the parameter index it resolved to, the
read-back value, and the display string where the device offered one.
Note:
Parameter values are normalised, not the unit the device displays. Read ``min``
and ``max`` (``describe`` with ``with_parameters=True``) rather than assuming
a range.
The curve from 0..1 onto the displayed unit is not linear and differs per
device. On one third-party compressor Attack is ``v^4 * 1000 ms``, so writing
"10 ms" linearly lands at 316 ms, a factor of 30, silently. Where the device
reports a display, aim with the display. Where it does not (all VST2), write
normalised and calibrate by eye once.
A parameter that shows a display also answers ``str_for_value``: lom_call with the
parameter path, ``method='str_for_value'`` and one value returns the string that
value would display, and moves nothing. That maps a unit onto the scale without
deriving the taper by trial (catalog row param.str_for_value).
A quantized parameter takes discrete steps, so a written 0.5 can legitimately read
back as something else, and that is reported as a clamp rather than as a failure.
Inputs: track (required), value (required), device (required), parameter (required), +1 more. Returns: object
set_parameter_displayAIdempotent
Set a device parameter by the reading it should show, not by its raw value.
Returns:
Dictionary reporting the value written, the display it produced, the residual
error against the target, the unit, and how many probes and round trips it
took. On refusal, why - including the case where the device reports no units.
Note:
The inverse of ``set_parameter``, and there is no formula to invert: the curve from
the raw range onto the displayed unit differs per parameter and is rarely linear. On
one measured third-party compressor Attack is ``v^4 * 1000 ms``, so writing 10 at a
parameter that displays milliseconds lands at 316 ms and reports success.
One batch of probes asks what each raw value would read as, a second refines inside
the bracket around the target, and only then is a single value written and read
back. The probes write nothing: probing with real writes has left Delay Feedback
and Saturator Drive at 100 % (catalog row return_device.str_for_value). They stay
strictly inside the range, because asking at ``min`` or ``max`` has crashed Live in
a plug-in's own formatting code (docs/limits.md, 'Asking for a display string at an
endpoint (Live)').
Where the device reports no unit this refuses instead of aiming: every VST2 reports
a bare number (0 of 36 measured). Use ``set_parameter`` with a normalised value for
those. The result is the stored value and its display, which is not audibility.
Inputs: target (required), kind, path, unit, +3 more. Returns: object
set_tempoAIdempotent
Set the global song tempo in BPM and read back the stored value.
One tempo governs the whole set, Session and Arrangement alike. There is no
per-track tempo. The one other place a tempo can come from is a scene, below.
Returns:
Dictionary reporting the write and the read-back tempo.
Note:
A tempo set here does not survive every scene launch. Firing a scene whose
``tempo_enabled`` is on writes ``song.tempo`` again from ``scene.tempo``, so
read ``song.tempo`` back after a launch rather than assuming this one held
(catalog rows ``scene.tempo`` and ``scene.tempo_enabled``, both read verified
2026-08-29 against Live 12.4.5).
BPM is a real unit, which makes this tool the exception among the setters. A
device parameter is normalised over whatever range the device declares: reach
those with set_parameter and read ``min`` and ``max`` through ``describe``
rather than assuming 0..1 (docs/limits.md). Volume, pan and sends are
normalised the same way, and set_mix carries them.
Inputs: bpm (required). Returns: object
set_warp_markersADestructive
Construct Live WarpMarker objects in the Remote Script and verify the resulting map.
Mapping starts at seconds/beat zero. This enables Warp. Confirmation previews
the complete request; a failed write is never retried and may be partially applied.
Requires the matching Remote Script's warp_markers_set handler to be loaded in Live.
Inputs: path (required), markers (required), confirm, replace. Returns: object
sound_index_statusARead-onlyIdempotent
Is there an index of how this installation's library sounds, and what is in it?
Call this before ``match_sound``. Without an index that tool has nothing to rank
against, and a fresh session has no way of knowing whether one was ever built.
Returns:
Dictionary with whether an index exists, where it is, when it was built, how
many items of each kind it carries, which libraries they came from, and what
was skipped when it was built.
Note:
The index is built from the audio Ableton renders for its own browser previews,
which sits beside the content under ``Ableton Folder Info/Previews``. It is not
committed and it describes one machine: rebuild it by running
``live-maestro-index`` after installing or removing packs.
Inputs: no named parameters. Returns: object
stopAIdempotent
Stop transport playback, and optionally every playing Session clip.
Returns:
Dictionary reporting the transport stop and, where asked for, the clip stop.
Note:
With ``quantized=True`` the clips stop on the next grid point rather than at
once, so an immediate read can still show a clip playing without anything
having gone wrong. Use play to resume playback, or set_arrangement_time(at_beat=0)
to rewind the Arrangement timeline to the beginning.
Stopping does not restore a parameter a clip envelope was driving. The envelope
leaves the parameter at its last reached value and Live keeps no static baseline
underneath to restore.
Inputs: clips, quantized. Returns: object
transpose_clipA
Transpose a MIDI clip by note pitch or an audio clip via pitch_coarse.
Relative on both paths, so calling it twice with 2 moves the clip by 4 and there
is no absolute target to aim at. A MIDI clip has every note pitch rewritten. An
audio clip is repitched as a whole instead.
Returns:
Dictionary reporting the transposition, the notes affected, and any that hit
the range limit.
Note:
When to use: Shift the overall pitch of an entire clip by a constant semitone offset.
When NOT to use: Do not use transpose_clip to edit melody contours, re-voice chords,
or correct scale degrees. Use write_clip_notes instead. Do not use it for timing or
groove changes, which are handled by quantize_clip.
An audio clip is transposed by writing clip.pitch_coarse. The write is relative
there too, because the current value is read first and the semitones added to it,
so repeated calls do keep climbing. Live documents the bound as -48 to 48 but that
figure is not from a probe here. The read-back in the answer is the evidence for
any one write.
``out_of_range='clamp'`` and ``'drop'`` both lose information that
transposing back will not return: clamped notes have collapsed onto one
pitch and dropped ones are gone. Keep the default 'error' unless the clip
has been read out with read_clip_notes first.
Inputs: semitones (required), path, slot, track, +1 more. Returns: object
verify_tempo_mapARead-onlyIdempotent
Compare an unwarped reference clip's duration against the persisted tempo map.
Native clip geometry was measured within 0.12 ms on a 278.36-second recording. The tolerance is 1 ms for Live's musical-time arithmetic, not sample-exact export. This reads no GUI dirty flag; save the opened copy before comparing persisted data. Live's instantaneous song.tempo can evaluate ahead of the stopped playhead on ramps.
Inputs: path (required), clip_path (required). Returns: object
wavetable_matrixA
Read Wavetable's whole modulation matrix, or write routes and read them back.
The matrix is how a Wavetable LFO or envelope reaches filter, level or pitch.
Without routes this reads every cell. With routes it adds rows a route names
through its parameter, writes the cells in one batch and reads each back as
applied, clamped or not_observed. Source columns carry Live's names where Live
reports them, otherwise their index. Not yet measured against Live: trust the
read-back, and audition the result.
Inputs: track (required), device (required), routes, confirm, +1 more. Returns: object
write_arrangement_notesBDestructive
Write bounded MIDI chunks with receipts and read-back, without a Session detour.
A disconnect reports confirmed chunks and the ambiguous in-flight range. Never automatically resend it. The operation is not a Live transaction or rollback.
Inputs: path (required), notes (required), mode, confirm. Returns: object
write_automationA
Write an automation envelope into a Session clip and verify the read-back.
Turns a handful of breakpoints into a written curve, then reads it back so the
result reports the stored envelope rather than the requested one.
Returns:
Dictionary reporting the write, how many points were laid down, and the
comparison between the stored curve and the generated one.
Note:
Automation lives in Session clips. There is no way to write an Arrangement
envelope directly here: write it into the Session clip and then copy the clip
onto the timeline with arrange, which carries the envelope with it.
A verified write proves the stored curve, never that it is audible. An
envelope on a parameter of a device that is switched off, or on a muted
track, reads back exactly as written and changes nothing anyone can hear.
With ``clear_first=False`` a repeated call layers points onto the ones
already there, so a retry after an unclear result can leave a curve that
matches neither attempt. Read it with read_automation before writing again.
To explicitly clear an envelope without writing new points, use clear_automation.
Playing the clip leaves the parameter at the value this curve last reached, and
stopping does not restore it. Capture the statics you care about before the first
playthrough: once a curve has run, nothing reports the value it covered.
Inputs: points (required), parameter (required), path, slot, +6 more. Returns: object
write_clip_notesADestructive
Write MIDI notes into a Session clip.
Returns:
Dictionary containing write confirmation, validation reports, and optional diff.
Note:
Times are in beats and clip-local, so beat 0 is the clip's own start. ``replace``
(the default) makes the clip match the list given; Live's own note writing appends,
so without it a second write duplicates a melody (measured: 63 + 23 = 86 notes). Ask
for ``append`` by name to layer onto an existing performance. An empty list with
``replace`` empties the clip but keeps its length, loop and envelopes; delete_clip
takes all of them.
A list straight from ``read_clip_notes`` can be written back: the keys in
:data:`~live_maestro.music.notes.TOLERATED_NOTE_KEYS`, such as Live's ``note_id``,
are dropped and reported as ``input_keys_ignored``, and every other unrecognised key
is an error. ``pitch``, ``start_time`` and ``duration`` are never defaulted, so a
list spelled with ``pos``/``dur`` is refused before anything is sent instead of
becoming sixteenths stacked on beat 0.
Times and durations do not come back bit-identical. They return with a deviation in
both directions, about 4e-7 relative and reproducible to every digit across runs: a
sent 0.29 reads back as 0.29000010406260407, a sent 0.18 as 0.17999994796869798 and
a ``start_time`` of 2.29 as 2.290000104062604, while a duration of 0.5 comes back
exactly. The cause is not established: it is neither a tick grid of 96, 192, 480
or 960 per quarter, nor a single float32 conversion (float32 of 0.29 is
0.28999999). At 124 BPM the error is around
50 nanoseconds, so it matters only for comparison: never test a note time for
equality. The diff run here uses a tolerance, which is why it reports ``0 changed``
for values that differ in the seventh decimal.
Inputs: notes (required), mode, path, slot, +2 more. Returns: object
write_drum_clipBDestructive
Convert the source tempo map into clip notes, then use verified Live note writing.
Create a sufficiently long MIDI clip first. Ensure Live's actual tempo map matches the source map; writing notes alone does not change song tempo automation.
Inputs: slot (required), track (required), analysis_path (required), confirm, +1 more. Returns: object
write_tempo_mapA
Write tempo automation to a new set copy, with exact persisted event read-back.
Shape describes interpolation toward the next event. Duplicate boundary events
encode a step. Live 12.4.6 preserved both ramps and steps on actual reopen/save.
Open the new copy and use verify_tempo_map to check its unwarped clip duration.
Inputs: events (required), output_path (required), source_path (required), confirm. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 63 tools
Most tools have clear dedicated purposes, but the large surface creates several confusable pairs: describe vs lom_describe, match_sound vs find_sound, get_audio_report vs get_audio_job, and get_session vs get_set_state. Descriptions explain the distinctions well, yet an agent must still navigate many adjacent concepts and generic LOM escape hatches.
The set is mostly snake_case, but conventions are mixed: verb_noun tools like get_track and set_tempo coexist with bare verbs like arrange, play, stop, and describe, noun-only tools like instrument_preset and wavetable_matrix, and prefixed generic tools like lom_get and lom_batch. The names are readable, but the pattern is not uniformly predictable.
With 63 tools, this is far beyond a well-scoped toolset even for a complex DAW controller. Many tools are deeply specialized and individually justified, but the total surface area is extreme and forces agents to choose among dozens of related operations.
The surface covers an unusually broad lifecycle: session and arrangement editing, clips, notes, automation, devices, mixer control, tempo maps, warping, audio analysis and comparison, sample loading, drum pads, and project-file read/write. Generic LOM tools also provide escape hatches for less common operations, leaving few obvious dead ends.
Maintenance
Related MCP Connectors
Compose, mix, master and export in Logic Pro, REAPER or Ableton Live by talking to an AI engineer.
Make AI Tracks, loops and sound effects, split stems, build drum kits and master songs.
Score video, make music as an agent: 100+ AI instruments play your MIDI, audio, stems, Logic/Ableton
Veena is an AI DAW with a personal music producer built in. Make songs in your studio from chat.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceAI copilot for Ableton Live 12 โ 104 MCP tools for music production, sound design, and mixing. Talk to your DAW. Create tracks, program MIDI, load instruments, tweak parameters, arrange songs, and mix โ all through natural language. LivePilot connects any MCP-compatible AI client (Claude, Cursor, VS Code Copilot) to Ableton Live and gives it full control over your session.971 npm104Business Source 1.1
- AlicenseNot gradedqualityBmaintenanceEnables AI-assisted electronic music production in Ableton Live, with built-in genre theory for indie dance, tech house, melodic techno, and house music.8GPL 3.0
- AlicenseBqualityDmaintenanceEnables AI-powered music production in Ableton Live through natural language, with tools for composition, arrangement, mixing, and sound design.52MIT
- AlicenseAqualityBmaintenanceAn AI composition partner that remote-controls Steinberg Dorico through the Model Context Protocol, enabling composers to create, edit, play back, and refine musical scores using natural language.409AGPL 3.0