Ableton Studio MCP
v2.6.1Compose, arrange, design sounds, mix, master and analyse music in Ableton Live 11 & 12 with AI.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_session_info
Overview of the Live set: tempo, time signature, track and return counts, main track, transport state, song length and loop.
get_remote_script_info
Version and command list of the AbletonStudioMCP control surface running in Live, compared with this server. Use it when tools say Live is too old or not responding (`ableton-studio-mcp doctor` checks the whole setup).
get_session_snapshot
Everything in the set at once: every track with its mixer, devices, Session and Arrangement clips, plus scenes, returns, the main track and locators. Handy to compare the set before and after a series of edits. Parameters: - include_notes: Include the MIDI notes of every clip (default true) - include_params: Include every device parameter value (default true)
| Parameter | Type | Description |
|---|---|---|
include_notes | boolean | |
include_params | boolean |
set_tempo
Change the song tempo. Parameters: - tempo: Beats per minute (Live accepts 20–999)
| Parameter | Type | Description |
|---|---|---|
tempo * | number |
start_playback
Start the transport (plays from the playhead).
stop_playback
Stop the transport.
back_to_arrangement
Press Live's "Back to Arrangement": once a track has played a Session clip, it ignores its Arrangement clips (greyed out) until this is done, even after the transport stops. Session clips still playing stop. Use it before playing or listening to the Arrangement after auditioning scenes; listen_to_arrangement does it by default.
switch_to_arrangement_view
Bring Live's Arrangement view to the front.
set_arrangement_time
Move the playhead. Parameters: - time: Song position in beats (0 = start; in 4/4, bar N starts at 4 × (N − 1))
| Parameter | Type | Description |
|---|---|---|
time * | number |
create_locator
Put a named locator in the Arrangement. A locator already at that beat is renamed rather than removed. Playback must be stopped. Parameters: - name: Label shown in Live ("Intro", "Drop", "Break"...) - time: Song position in beats
| Parameter | Type | Description |
|---|---|---|
name * | string | |
time * | number |
delete_locator
Remove a locator, found by position (exact) or by name. When several locators share the name nothing is removed and their positions are listed. Playback must be stopped. Parameters: - name: Label of the locator - time: Its song position in beats (wins over name)
| Parameter | Type | Description |
|---|---|---|
name | string | |
time |
get_scenes
List the Session scenes with their index, name and tempo.
create_scene
Add an empty scene. Parameters: - index: Where to insert it (-1 = after the last scene)
| Parameter | Type | Description |
|---|---|---|
index | integer |
delete_scene
Remove a scene together with every clip in its row. Ask the user first. Parameters: - scene_index: The scene to remove
| Parameter | Type | Description |
|---|---|---|
scene_index * | integer |
duplicate_scene
Copy a scene and its clips; the copy goes right below it. Parameters: - scene_index: The scene to copy
| Parameter | Type | Description |
|---|---|---|
scene_index * | integer |
fire_scene
Launch every clip in a scene's row. Parameters: - scene_index: The scene to launch
| Parameter | Type | Description |
|---|---|---|
scene_index * | integer |
set_scene_name
Rename a scene. Parameters: - scene_index: The scene to rename - name: Its new name
| Parameter | Type | Description |
|---|---|---|
name * | string | |
scene_index * | integer |
undo
Undo the last change(s) in Live, like Cmd/Ctrl+Z. Each tool call that changed the set is one step; tools that make many changes at once (drum patterns, progressions, arrangements, MIDI imports…) are one step too, as is everything between start_undo_group and end_undo_group. It is Live's own Undo: if the user edited the set meanwhile, their change comes first. Parameters: - steps: How many steps to undo (1–50)
| Parameter | Type | Description |
|---|---|---|
steps | integer |
redo
Redo what undo just took back (as long as nothing else changed since). Parameters: - steps: How many steps to redo (1–50)
| Parameter | Type | Description |
|---|---|---|
steps | integer |
start_undo_group
Start grouping: every change until end_undo_group becomes a single undo step, so a whole request ("8 bars of techno with a bassline") can be taken back at once. Always call end_undo_group afterwards; a group left open is closed automatically after two minutes. Parameters: - name: What the group is for (shown in Live's log)
| Parameter | Type | Description |
|---|---|---|
name | string |
end_undo_group
Close the undo group opened with start_undo_group.
get_track_info
One track in detail: name, mixer state, clip slots and device chain. Works for return tracks and the main track too. Parameters: - track_index: The track (for "return", its position among returns; ignored for "master") - track_type: "track" (default), "return" or "master"
| Parameter | Type | Description |
|---|---|---|
track_index * | integer | |
track_type | string |
create_midi_track
Add a MIDI track (for instruments and drum racks). Parameters: - index: Where to insert it (-1 = after the last track)
| Parameter | Type | Description |
|---|---|---|
index | integer |
create_audio_track
Add an audio track (for samples, stems, recordings). Parameters: - index: Where to insert it (-1 = after the last track)
| Parameter | Type | Description |
|---|---|---|
index | integer |
set_track_name
Rename a track. Parameters: - track_index: The track to rename - name: Its new name
| Parameter | Type | Description |
|---|---|---|
name * | string | |
track_index * | integer |
delete_track
Remove a track and everything on it. Ask the user first. Tracks after it move up one index. Parameters: - track_index: The track to remove
| Parameter | Type | Description |
|---|---|---|
track_index * | integer |
duplicate_track
Copy a track with its clips and devices; the copy goes right after it. Parameters: - track_index: The track to copy
| Parameter | Type | Description |
|---|---|---|
track_index * | integer |
set_track_volume
Move a track's fader. Parameters: - track_index: The track (ignored for "master") - volume: Fader position 0.0–1.0 (0.85 is 0 dB, 0.0 is silence) - track_type: "track" (default), "return" or "master"
| Parameter | Type | Description |
|---|---|---|
track_index * | integer | |
volume * | number | |
track_type | string |
set_track_panning
Pan a track. Parameters: - track_index: The track (ignored for "master") - panning: -1.0 hard left, 0.0 centre, 1.0 hard right - track_type: "track" (default), "return" or "master"
| Parameter | Type | Description |
|---|---|---|
panning * | number | |
track_index * | integer | |
track_type | string |
set_track_send
Set how much of a track goes to a return track. Parameters: - track_index: The sending track - send_index: Which send (0 = A, the first return track) - value: Send amount 0.0–1.0 - track_type: "track" (default) or "return"
| Parameter | Type | Description |
|---|---|---|
send_index * | integer | |
track_index * | integer | |
value * | number | |
track_type | string |
set_track_mute
Mute or unmute a track. Parameters: - track_index: The track - mute: true mutes, false unmutes - track_type: "track" (default) or "return"
| Parameter | Type | Description |
|---|---|---|
mute * | boolean | |
track_index * | integer | |
track_type | string |
set_track_solo
Solo or unsolo a track. Parameters: - track_index: The track - solo: true solos, false unsolos - track_type: "track" (default) or "return"
| Parameter | Type | Description |
|---|---|---|
solo * | boolean | |
track_index * | integer | |
track_type | string |
set_track_arm
Arm a track for recording, or disarm it. Parameters: - track_index: The track - arm: true arms, false disarms
| Parameter | Type | Description |
|---|---|---|
arm * | boolean | |
track_index * | integer |
create_clip
Make an empty MIDI clip in a Session slot (the slot must be empty). Parameters: - track_index: A MIDI track - clip_index: The Session slot (scene row) - length: Clip length in beats (default 4 = one bar in 4/4)
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
length | number |
create_audio_clip
Put an audio file into an empty Session slot of an audio track (Live 12.0.5 or newer). Parameters: - track_index: An audio track - clip_index: The Session slot (must be empty) - path: Absolute path of the file (.wav, .aif, .mp3...)
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
path * | string | |
track_index * | integer |
set_clip_name
Rename a Session clip. Parameters: - track_index: The track - clip_index: The Session slot - name: Its new name
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
name * | string | |
track_index * | integer |
set_arrangement_clip_name
Rename a clip in the Arrangement. Parameters: - track_index: The track - clip_index: Position of the clip in get_arrangement_clips (ordered by start time) - name: Its new name
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
name * | string | |
track_index * | integer |
delete_clip
Empty a Session slot (create_clip refuses occupied slots). Parameters: - track_index: The track - clip_index: The Session slot to empty
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer |
delete_arrangement_clip
Remove a clip from the Arrangement. Later clips on the track move down one index. Parameters: - track_index: The track - clip_index: Position of the clip in get_arrangement_clips
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer |
fire_clip
Launch a Session clip. Parameters: - track_index: The track - clip_index: The Session slot
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer |
stop_clip
Stop a playing Session clip. Parameters: - track_index: The track - clip_index: The Session slot
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer |
get_clip_notes
All the MIDI notes of a clip: pitch, start_time, duration, velocity, mute (plus probability and velocity deviation when Live has them). Times are in beats from the clip start. For an Arrangement clip the reply also has arrangement_start / arrangement_end and start_marker: without looping, a note sounds at arrangement_start + (start_time − start_marker). Parameters: - track_index: The track - clip_index: Session slot, or position in get_arrangement_clips - location: "session" (default) or "arrangement"
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
location | string |
add_notes_to_clip
Add notes to a clip; existing notes stay. To replace notes, clear the clip (clear_notes_from_clip) or a range (remove_notes) first. Parameters: - track_index: The track - clip_index: Session slot, or position in get_arrangement_clips - notes: [{"pitch": 60, "start_time": 0.0, "duration": 1.0, "velocity": 100, "mute": false}, ...] with start_time in beats from the clip start - location: "session" (default) or "arrangement"
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
notes * | array | |
track_index * | integer | |
location | string |
clear_notes_from_clip
Remove every note from a clip. Together with get_clip_notes and add_notes_to_clip this gives read → edit → write: read the notes, change the list, clear the clip, add the new list. For part of a clip use remove_notes. Parameters: - track_index: The track - clip_index: Session slot, or position in get_arrangement_clips - location: "session" (default) or "arrangement"
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
location | string |
remove_notes
Remove only the notes starting inside a time window and a pitch range, to rewrite one bar, or one drum lane, then add the new notes. Parameters: - track_index: The track - clip_index: Session slot, or position in get_arrangement_clips - from_time: Window start, in beats from the clip start - time_span: Window length in beats (default: until the clip end) - from_pitch: Lowest pitch of the range (0–127) - pitch_span: How many pitches from from_pitch (128 = all, 1 = just that note) - location: "session" (default) or "arrangement"
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
from_pitch | integer | |
from_time | number | |
location | string | |
pitch_span | integer | |
time_span |
get_arrangement_clips
The clips a track has in the Arrangement, in time order, with their position, length and type. Their order is the clip_index other tools use. Parameters: - track_index: The track
| Parameter | Type | Description |
|---|---|---|
track_index * | integer |
duplicate_to_arrangement
Copy a Session clip into the Arrangement, on the same track. Repeat the call for every place the clip should play, then switch_to_arrangement_view to look at the result. Parameters: - track_index: The track holding the Session clip - clip_index: Its Session slot - destination_time: Song position in beats where the copy starts
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
destination_time * | number | |
track_index * | integer |
get_clip_loop
A clip's loop switch, loop brace and start/end markers, and what actually plays. Beats, except seconds for an unwarped audio clip ("units" says which). Arrangement clips also report their place in the song. Parameters: - track_index: The track - clip_index: Session slot, or position in get_arrangement_clips - location: "session" (default) or "arrangement"
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
location | string |
set_clip_loop
Change a clip's loop and markers; anything left out stays as it is. With looping on, playback starts at start_marker and then repeats the brace (loop_start → loop_end); e.g. keep only the first bar of a 4-bar loop with loop_start=0, loop_length=4. With looping off Live plays loop_start → loop_end once, so markers given for such a clip are written to the brace. The writes are ordered so the start never passes the end; the reply shows what Live applied and lists any value it "adjusted". Switching warping off and on again resets an audio clip's warp markers.…
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
end_marker | ||
location | string | |
loop_end | ||
loop_length | ||
loop_start | ||
looping | ||
start_marker |
get_clip_warp
An audio clip's warp state: warping, warp mode (and the modes on offer), warp markers (beat_time ↔ sample_time in seconds), transposition, gain, clip length and file duration. Parameters: - track_index: The track - clip_index: Session slot, or position in get_arrangement_clips - location: "session" (default) or "arrangement"
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
location | string |
set_clip_warp
Change an audio clip's warp settings; anything left out stays as it is. Give a loop's own tempo as original_bpm (sample names often carry it, "..._131_...") and it follows the song tempo: warping goes on and the warp markers are rebuilt for that tempo. Parameters: - track_index: An audio track - clip_index: Session slot, or position in get_arrangement_clips - location: "session" (default) or "arrangement" - warping: Warp on or off - warp_mode: "beats" (drums), "tones" (monophonic), "texture", "re_pitch" (vinyl-like), "complex" / "complex_pro" (fu…
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
gain | ||
location | string | |
original_bpm | ||
pitch_coarse | ||
pitch_fine | ||
warp_mode | ||
warping |
edit_warp_markers
Edit the warp markers of a warped audio clip (Live 11+), in this order: remove, then move, then add. get_clip_warp shows the current ones. Parameters: - track_index: An audio track - clip_index: Session slot, or position in get_arrangement_clips - location: "session" (default) or "arrangement" - add: [{"beat_time": 8.0, "sample_time": 3.66}] pins a moment of the file (seconds) to a beat - move: [{"beat_time": 8.0, "beat_time_distance": 0.25}] shifts that marker by some beats - remove: [8.0, 16.0] beat times of markers to delete
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
add | ||
location | string | |
move | ||
remove |
set_clip_automation
Draw an automation envelope inside a Session clip; it plays whenever the clip plays. (Live's API does not allow writing envelopes in Arrangement clips or the Arrangement's automation lanes.) Target a device parameter (device_index + parameter_index, see get_device_parameters) or a mixer control (mixer_parameter). Parameters: - track_index: The track holding the clip and the parameter - clip_index: The Session slot - points: [{"time": 0, "value": 0.2}, {"time": 16, "value": 0.9}]: time in beats from the clip start, value in the parameter's own range (…
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
points * | array | |
track_index * | integer | |
clear_first | boolean | |
device_index | integer | |
interpolation | string | |
location | string | |
mixer_parameter | string | |
parameter_index | integer | |
resolution | number |
get_clip_automation
Read a clip's envelope for one parameter, sampled every `resolution` beats; has_envelope=false when that parameter isn't automated in the clip. Parameters: - track_index, clip_index, location: as for set_clip_automation - device_index, parameter_index, mixer_parameter: as for set_clip_automation - resolution: Sampling step in beats (default 1)
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
device_index | integer | |
location | string | |
mixer_parameter | string | |
parameter_index | integer | |
resolution | number |
get_device_parameters
Every parameter of a device with its index, value, range and the value as Live displays it (dB, Hz, %, mode names). Big devices (Operator, Wavetable, Roar...) have dozens or hundreds of parameters: narrow the reply with `names` or `query`, or ask for `brief`. Parameters: - track_index: The track (return index for "return", ignored for "master") - device_index: Position of the device in the chain - track_type: "track" (default), "return" or "master" - names: Only these parameters: exact names or parts of names, as set_device_parameters accepts them ([…
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
track_index * | integer | |
brief | boolean | |
names | array | |
query | string | |
track_type | string |
set_device_parameter
Change one device parameter. Look up indexes and ranges with get_device_parameters; the reply shows the old and new values as Live displays them. Parameters: - track_index: The track (return index for "return", ignored for "master") - device_index: Position of the device in the chain - parameter_index: The parameter's index - value: New value, in the parameter's own range - track_type: "track" (default), "return" or "master"
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
parameter_index * | integer | |
track_index * | integer | |
value * | number | |
track_type | string |
delete_device
Remove a device from a track, a return track or the main track (one undo step). The reply lists the chain left, whose indexes have moved. Parameters: - track_index: The track (return index for "return", ignored for "master") - device_index: Position of the device in the chain (see get_track_info) - track_type: "track" (default), "return" or "master"
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
track_index * | integer | |
track_type | string |
move_device
Move a device to another position in the same chain, e.g. a limiter to the very end of the main track (Live 11+). Order matters: a compressor before or after a saturator, an EQ before a reverb... Parameters: - track_index: The track (return index for "return", ignored for "master") - device_index: The device's current position - new_index: Where it should end up (0 = first; last = number of devices − 1) - track_type: "track" (default), "return" or "master"
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
new_index * | integer | |
track_index * | integer | |
track_type | string |
device_inventory
Everything loaded in the set (every device on every track, return track and the main track, racks with their chains) with what each one is and what it is for (native devices from the Live 12 manual, Max for Live devices, known plug-in families such as Arturia emulations), plus, with installed_plugins=true, the VST/VST3/AU plug-ins installed, by vendor. Parameters: - installed_plugins: Also list the installed plug-ins
| Parameter | Type | Description |
|---|---|---|
installed_plugins | boolean |
device_knowledge
What a device does: a native Live device (from the Live 12 manual: kind, category, purpose, key parameters, electronic/techno uses, sidechain, tip), a bundled Max for Live device, or a known plug-in (e.g. "Acid V", "Comp FET-76", "Cthulhu"). Without `name`, the catalogue of native devices, optionally filtered by kind (instrument, audio_effect, midi_effect, max_for_live). Also says what Live 12's MIDI Tools are and that the API can't drive them. Parameters: - name: Device or plug-in name - kind: Filter for the catalogue
| Parameter | Type | Description |
|---|---|---|
kind | string | |
name | string |
get_device_info
One device's identity (Live's real device name even when a preset renamed it, kind, latency) and its specific API: sidechain routing and options (Compressor), plug-in presets, Simpler sample/slicing state, rack chains and variations. Parameters: - track_index / device_index: The device - track_type: "track", "return" or "master"
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
track_index * | integer | |
track_type | string |
set_device_sidechain
Feed a Compressor's sidechain from another track (e.g. duck the bass or pads with the kick) and switch its sidechain on. `source` is the name of the track as Live lists it (see get_device_info: sidechain.available_types), `channel` e.g. "Post FX" / "Pre FX". Live's API exposes sidechain routing on the Compressor; other devices with a sidechain (Gate, Glue, Auto Filter...) are routed in the interface. Parameters: - track_index / device_index: The Compressor - source: Sidechain source track name (exact, or a unique part of it) - channel: Source tap (opti…
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
source * | string | |
track_index * | integer | |
channel | string | |
enable | boolean | |
track_type | string |
plugin_presets
A VST/AU plug-in's preset list (as the plug-in exposes it to Live), or select one by index or name (exact, else first containing the text). Parameters: - track_index / device_index: The plug-in - preset_index / preset_name: Preset to load (omit both to list) - track_type: "track", "return" or "master"
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
track_index * | integer | |
preset_index | integer | |
preset_name | string | |
track_type | string |
simpler_sample
Load a sample into a Simpler and set it up: playback mode (classic, one_shot, slicing), slicing by transient / beat / region / manual with sensitivity, beat division or region count (e.g. chop a break into 16 slices playable from a Drum Rack-like MIDI layout), voices, warp the sample as N beats, crop, reverse. Parameters: - track_index / device_index: The Simpler - file_path: Absolute path of an audio file to load (optional) - playback_mode: classic | one_shot | slicing - slicing_style: transient | beat | region | manual - slicing_sensitivity: 0-1…
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
track_index * | integer | |
crop | boolean | |
file_path | string | |
playback_mode | string | |
reverse | boolean | |
slicing_beat_division | integer | |
slicing_region_count | integer | |
slicing_sensitivity | number | |
slicing_style | string | |
voices | integer | |
warp_as_beats | integer |
chop_sample
Chop a sample and play the chops: loads it in a Simpler on the track (adds one if needed), slices it, warps it to the song from the tempo in its name ("..._127_..."), transposes it to the song's key from the key in its name ("Fmin", "D#m"), and writes a chop pattern in an empty Session slot. mode: "slices" (16 slices, played in 16ths) or "micro" (64 grains of a few tens of ms, played in 32nds, gate-short: micro-sampling). style: "hook" (the same grain at the same place every bar, off-beat accents, ghost hits with a chance; the most groovy), "rearrange" (th…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
track_index * | integer | |
bars | integer | |
clip_index | integer | |
density | number | |
key | string | |
mode | string | |
seed | integer | |
slices | integer | |
style | string | |
warp_as_beats | integer |
rack_variation
A rack's macro variations (Live 11+): list them with the current macro values, recall one, store the current macros as a new variation, or randomize the macros (great for happy accidents, then store the result). Parameters: - track_index / device_index: The rack - action: list | recall | store | randomize - index: Variation to recall - track_type: "track", "return" or "master"
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
track_index * | integer | |
action | string | |
index | integer | |
track_type | string |
set_drum_choke
Put Drum Rack pads in a choke group so they cut each other. The classic: closed and open hi-hat together (e.g. notes [42, 46], group 1). Group 0 removes the choke. Parameters: - track_index: Track with the Drum Rack - notes: Pad MIDI notes (see get_drum_map) - group: Choke group 1-16, or 0 for none
| Parameter | Type | Description |
|---|---|---|
notes * | array | |
track_index * | integer | |
group | integer |
get_browser_tree
The folders of Live's browser, as an indented outline with the path of each folder (use the paths with get_browser_items_at_path). Parameters: - category_type: "all", or one root: instruments, sounds, drums, audio_effects, midi_effects, plugins, user_library, packs, samples, max_for_live, current_project
| Parameter | Type | Description |
|---|---|---|
category_type | string |
get_browser_items_at_path
What a browser folder contains, with each item's URI and whether it can be loaded (load it with load_instrument_or_effect). Parameters: - path: "root/folder/subfolder", e.g. "drums/Drum Rack" or "plugins/Arturia". Roots: instruments, sounds, drums, audio_effects, midi_effects, plugins, user_library, packs, samples, max_for_live, current_project
| Parameter | Type | Description |
|---|---|---|
path * | string |
load_instrument_or_effect
Load a browser item (instrument, effect, preset, plug-in, User Library file) onto a track, by its URI. Effects can also go on a return track (track_type="return", track_index 0 = A) or on the main track (track_type="master"). Find URIs with get_browser_items_at_path. Parameters: - track_index: The track (return index for "return", ignored for "master") - uri: The item's URI, e.g. "query:Synths#Operator" - track_type: "track" (default), "return" or "master"
| Parameter | Type | Description |
|---|---|---|
track_index * | integer | |
uri * | string | |
track_type | string |
load_drum_kit
Load a Drum Rack, then the first loadable kit found in a browser folder. Parameters: - track_index: A MIDI track - rack_uri: URI of the Drum Rack to load first - kit_path: Browser folder holding the kits, e.g. "drums/Drum Hits"
| Parameter | Type | Description |
|---|---|---|
kit_path * | string | |
rack_uri * | string | |
track_index * | integer |
get_track_routing
Read a track's input/output routing and monitoring, with the options Live offers for each (names as shown in Live's I/O section, in Live's language). Parameters: - track_index: Index of the track (return index for "return", ignored for "master") - track_type: "track" (default), "return" or "master" (these two only have an output)
| Parameter | Type | Description |
|---|---|---|
track_index * | integer | |
track_type | string |
set_track_routing
Set a track's input/output routing and monitoring. Arguments left out are untouched. Names are matched against the options get_track_routing lists: exact (case-insensitive) first, else a unique substring. Examples: - Layer one MIDI part on several instruments: on each extra MIDI track, input_type="<name of the source MIDI track>", monitoring="in". - Record the main output (resampling): on an audio track, input_type="Resampling" (French Live: "Rééchantillonnage"). - Send a track to a return or another track: output_type="<track name>". Parameters…
| Parameter | Type | Description |
|---|---|---|
track_index * | integer | |
input_channel | string | |
input_type | string | |
monitoring | string | |
output_channel | string | |
output_type | string | |
track_type | string |
record_arrangement
Record the armed tracks into the Arrangement between two song positions (in beats): moves the playhead, turns Arrangement Record on, plays, and stops at end_time. Arm tracks first (set_track_arm). Parameters: - start_time: Song position to start at (beats) - end_time: Song position to stop at (beats) - wait: Block until the recording ends (default) or return at once (then poll get_recording_status) - max_wait_seconds: Safety limit when waiting; recording is stopped past it
| Parameter | Type | Description |
|---|---|---|
end_time * | number | |
start_time * | number | |
max_wait_seconds | number | |
wait | boolean |
get_recording_status
State of the current or last record_arrangement run (finished, reason, stop position), plus Arrangement Record, transport and armed tracks.
stop_arrangement_recording
Stop a running record_arrangement now (turns Arrangement Record off and stops playback).
get_audio_clip_file
Path of the audio file behind an audio clip (for example a take just recorded with record_arrangement), with its length and sample rate. Parameters: - track_index: The track holding the clip - clip_index: Arrangement clip index (get_arrangement_clips) or Session slot - location: "arrangement" (default) or "session"
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
location | string |
analyze_audio_file
Measure a WAV or AIFF file: peak and RMS levels (dBFS), clipping, crest factor, loudness over time (one value per segment), leading/trailing silence, stereo correlation and a coarse spectral balance (low < 250 Hz, mid, high > 4 kHz), with warnings. Use it to check a mix or a recorded take. Parameters: - file_path: Absolute path of the audio file - segment_seconds: Length of each loudness segment (default 1 s)
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
segment_seconds | number |
get_track_meters
Live's output meters right now for every track, return track and the main track (0.0-1.0 on Live's meter scale, as in the mixer). Meaningful while the song plays; listen_to_arrangement samples them for you.
analyze_mix
Mastering-engineer report on a WAV/AIFF mix: loudness per ITU-R BS.1770 / EBU R128 (integrated, short-term and momentary max, loudness range), true peak (4x oversampled), PLR, crest factor, long-term 1/3-octave spectrum with tilt and per-region deviation from a balanced -4.5 dB/oct reference (mud, harshness, sibilance, air, sub), narrow resonances (with note names), stereo correlation and width overall and per band (low-end mono), DC. Returns findings ranked problème / attention / ok with concrete fixes against the delivery target, plus a spectrogram image (lo…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
spectrogram | boolean | |
target | string |
listen_to_arrangement
"Listen" to the song like a mastering engineer: record the main output between two song positions (beats) onto a temporary resampling audio track, sample every track's meter during the take, then analyze it. Tracks left playing Session clips are first sent back to the Arrangement, and the report flags any track whose meter disagrees with its Arrangement clips (silent where it has clips, playing where it has none), so a measurement of the wrong material doesn't go unnoticed. report="mix" (default) returns the full analyze_mix report (LUFS, true peak, PLR, t…
| Parameter | Type | Description |
|---|---|---|
end_time * | number | |
start_time * | number | |
back_to_arrangement | boolean | |
keep_audio | boolean | |
keep_track | boolean | |
max_wait_seconds | number | |
report | string | |
segment_seconds | number | |
target | string |
import_midi_file
Import the notes of a Standard MIDI File (.mid) into a clip. Without track_index, only describes the file (tracks, note counts, channels, length) so you can pick midi_track / channel first. Session: an empty slot gets a new clip as long as the notes (rounded up to a 4-beat bar) or clip_length; an existing clip receives the notes (after clearing it when replace=True). Arrangement: the clip must exist (index from get_arrangement_clips). Times are in beats; the file's tempo is ignored. Parameters: - file_path: Absolute path of the .mid file - track_i…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
channel | integer | |
clip_index | integer | |
clip_length | number | |
location | string | |
midi_track | integer | |
replace | boolean | |
track_index | integer | |
transpose | integer |
music_scales
Scales and modes knowledge. Without arguments, lists all ~50 scales (church modes, harmonic/melodic minor families, pentatonics, blues, bebop, symmetric, Japanese, gamelan, flamenco...) with their character and typical styles; `query` filters (e.g. "flamenco", "jazz", "sombre"). With `root` and `scale`, details one scale: notes spelled in the key, degrees, characteristic note, character, styles, diatonic seventh chords with roman numerals and functions, the other modes with the same notes, and Live 12's scale name (for set_song_scale). Parameters: - qu…
| Parameter | Type | Description |
|---|---|---|
query | string | |
root | string | |
scale | string |
music_styles
Style sheets for composing or re-arranging: without `style`, the list; with it, what makes the style: tempo, metre, scales/modes, harmonic language, typical progressions (roman numerals for write_progression), rhythm/groove and swing amount, bass, melody, arrangement, accompaniment patterns, and which Live devices/tools help. Styles: baroque, classical_romantic, jazz, bossa_nova, blues, gospel_neo_soul, funk, pop, rock, house, techno, trance, drum_and_bass, hip_hop_boom_bap, lofi, trap, rnb, reggae, reggaeton, afrobeat, flamenco, film_epic, ambient, synthwave…
| Parameter | Type | Description |
|---|---|---|
style | string |
music_chord_ideas
Reharmonisation ideas for a chord (tritone substitution, ii-V preparation, relative chords, extensions, borrowed chords in the key), with the reason for each, plus the chord's notes. Parameters: - chord: Chord symbol, e.g. "G7", "Fmaj7", "Am", "Bø", "Ebmaj7/G" - key_root: Key tonic, to suggest borrowed chords (optional)
| Parameter | Type | Description |
|---|---|---|
chord * | string | |
key_root | string |
analyze_clip_music
Musical analysis of a MIDI clip: key and mode candidates (with coverage and outside notes; relative modes are told apart by the harmony, e.g. a V7 pointing to its tonic), chords per segment with roman numerals, out-of-scale notes, range, rhythm (density, offbeat share, polyphony) and melodic motion of the top line. Also reports Live's song scale. Parameters: - track_index / clip_index: The clip (Session slot or Arrangement index) - location: "session" (default) or "arrangement" - segment_beats: Chord detection window (2 = two chords per bar by default,…
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
key_root | string | |
key_scale | string | |
location | string | |
segment_beats | number | |
vocabulary | string |
transform_clip
Re-arrange a MIDI clip with a chain of music-theory operations, applied in order. Writes the result back into the clip, or into an empty Session slot `target_clip_index` (keeps the original: safer for trying ideas). Each operation is {"op": name, ...arguments}: - transpose: semitones - transpose_diatonic: steps, root, scale (moves along the scale) - change_mode: root, from_scale, to_scale[, to_root] (C major -> C dorian...) - snap_to_scale: root, scale[, direction nearest|up|down] - invert: axis ("C4" or 60)[, root, scale for a diatonic mirror] - retro…
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
operations * | array | |
track_index * | integer | |
location | string | |
target_clip_index | integer |
write_progression
Write a chord progression into an empty Session slot (clip created to fit) or an existing clip, voiced with smooth voice leading and played with an accompaniment pattern. Give `numerals` (roman numerals in the key: "ii7", "V7", "Imaj7", "bVII", "iv", "V/V", "N6", "viiø7"...) or a `style` (its typical progression number `progression_index`, its scale and pattern are used unless given). Patterns: block, pulse, pulse8, offbeat, arp8, arp16, alberti, bossa, waltz, ballad, stabs. Parameters: - track_index / clip_index: Target MIDI track and Session slot…
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
root * | string | |
track_index * | integer | |
bass | boolean | |
beats_per_chord | number | |
high | string | |
low | string | |
numerals | array | |
pattern | string | |
progression_index | integer | |
repeat | integer | |
scale | string | |
style | string | |
voices | integer |
get_song_scale
Live 12's song scale: root, scale name, intervals and the Scale Mode switch (which highlights the scale in the piano roll and drives devices set to "Use Current Scale", e.g. the Scale, Arpeggiator and Chord devices).
set_song_scale
Set Live 12's song scale so the piano roll shows it and scale-aware devices follow it. `scale` accepts this server's names (dorian, hijaz, harmonic minor...) and maps them to Live's name when Live has the scale. Parameters: - root: Tonic ("C", "Eb", "F#") - scale: Scale name - scale_mode: Turn Live's Scale Mode on/off
| Parameter | Type | Description |
|---|---|---|
root | string | |
scale | string | |
scale_mode | boolean |
drum_patterns
Drum pattern library for electronic music. Without arguments, lists the styles (techno_four, techno_rolling, techno_hypnotic, minimal_techno, dub_techno, hard_techno, acid_techno, detroit_techno, house_classic, deep_house, tech_house, afro_house, uk_garage, breakbeat, electro, drum_and_bass, dubstep, trap, ebm). With `style`, its grids per role, tempo, swing, production notes and the available fills. With `euclid_hits`, returns a Euclidean rhythm grid, e.g. 3/8 = tresillo. Grid language (one string per role, 16 steps = one bar of 16ths): x hit · X accent…
| Parameter | Type | Description |
|---|---|---|
euclid_hits | integer | |
euclid_rotate | integer | |
euclid_steps | integer | |
style | string |
get_drum_map
The Drum Rack on a track: every filled pad (MIDI note, name, devices) and the role each one plays (kick, clap, closed_hat, open_hat, rim, ride, perc...), read from the pad names, as used by write_drum_pattern. Parameters: - track_index: Track holding the Drum Rack
| Parameter | Type | Description |
|---|---|---|
track_index * | integer |
write_drum_pattern
Program drums into a Session slot (clip created to fit) on a track with a Drum Rack. Roles are mapped to the kit's pads by their names (a similar free pad stands in for a missing role; missing ones are reported); without a Drum Rack, General MIDI notes are used. Start from a library `style` and/or give `layers`: {role: grid} or {role: {"euclid": [hits, steps, rotate]}}; layers override or extend the style. Roles: kick, clap, snare, rim, closed_hat, open_hat, pedal_hat, ride, crash, tom_low, tom_mid, tom_high, perc, shaker, tambourine, conga, bongo, clave,…
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
bars | integer | |
fill | string | |
fill_every | integer | |
humanize | number | |
layers | object | |
replace | boolean | |
seed | integer | |
steps_per_bar | integer | |
style | string | |
swing_pct | number | |
variation | number |
quasiperiodic_rhythm
Write a quasi-periodic rhythm into a Session slot: a pattern that seems to loop but never repeats exactly, with hits spread as evenly as possible (the infinite relatives of Euclidean rhythms) and dynamics that never repeat either. Structured humanization rather than random variation. Hits fall where {n * theta + phase} < density (n = step). With the default density (= theta) the pattern is a Sturmian word: gaps of only two sizes. Each hit's velocity follows {n * theta + phase} between velocity_low and velocity_high. With `accent_role`, a second voice (e.g. rim…
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
accent_near_period | integer | |
accent_role | string | |
bars | integer | |
density | number | |
length_steps | integer | |
phase | number | |
replace | boolean | |
role | string | |
rotation | string | |
steps_per_bar | integer | |
velocity_high | integer | |
velocity_low | integer |
get_groove_pool
Live's Groove Pool: the grooves loaded in the set (name, base, timing, random, velocity and quantization amounts) and the global Groove amount. Grooves live in the browser under Packs (e.g. get_browser_items_at_path("packs/Core Library/Grooves")) and in the User Library; apply one with set_clip_groove. A groove only acts when the global amount is above 0 (set_groove_params global_amount).
set_clip_groove
Apply a Groove Pool groove to a clip (Live's own swing/groove engine, non-destructive), or remove it with groove_index omitted. Parameters: - track_index / clip_index: The clip - groove_index: Index from get_groove_pool (omit to remove the groove) - location: "session" (default) or "arrangement"
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
track_index * | integer | |
groove_index | integer | |
location | string |
set_groove_params
Adjust a groove in the Groove Pool (amounts in %, as in Live) and/or the global Groove amount (0-1.3, i.e. 0-130 %). Parameters: - groove_index: Groove to change (from get_groove_pool) - timing_amount / random_amount / velocity_amount / quantization_amount: New amounts - global_amount: Global Groove amount
| Parameter | Type | Description |
|---|---|---|
global_amount | number | |
groove_index | integer | |
quantization_amount | number | |
random_amount | number | |
timing_amount | number | |
velocity_amount | number |
arrangement_templates
Arrangement templates for electronic music and the automation curve shapes. Without `template`: the list (techno_dj, techno_64, minimal, house) and the shapes. With it: its sections (name, bars, energy 0-1, roles that play, production tip). Parameters: - template: Template name (optional)
| Parameter | Type | Description |
|---|---|---|
template | string |
write_clip_evolution
Make a Session clip evolve over many bars: optionally extend it to `bars` (a MIDI loop is tiled, e.g. 4 -> 64 bars), then write one automation envelope per lane with a musical curve. Copied to the Arrangement (e.g. by build_arrangement), the envelopes become the track's automation there. Each lane: {"mixer_parameter": "volume" | "panning" | "send:N"} or {"device_index": d, "parameter_index": p}, plus "start", "end" (in the parameter's units, see get_device_parameters: min/max/display), "shape" (linear, exp, log, s_curve, swell, sine, triangle, steps, random_wa…
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
lanes * | array | |
track_index * | integer | |
bars | integer | |
resolution | number |
automation_gesture
Draw a producer's automation move in a Session clip, aimed at the right parameter automatically: - delay_throw: the delay send jumps up on the last beat(s) of each phrase - reverb_swell: the reverb send rises and falls back over the clip - filter_rise / filter_fall: the track's filter opens (build-up) or closes - drop_cut: silence on the last beat(s), the breath before a drop - stutter: volume gated in 16ths on the last beat(s) - fade_in / fade_out: volume from / to silence The send gestures find the return named like a delay (delay, echo) or a reverb…
| Parameter | Type | Description |
|---|---|---|
clip_index * | integer | |
gesture * | string | |
track_index * | integer | |
low | number | |
peak | number | |
phrase_bars | integer | |
protect | string | |
rest | number | |
tail_beats | number | |
target | string |
build_arrangement
Build the Arrangement from Session clips, section by section, like a producer laying out a track: each section plays the clips of the tracks whose role is active there, tiled to fill it, with a named locator at its start. Clip envelopes (see write_clip_evolution) come along as track automation, so a filter build or a reverb swell plays in the Arrangement. Use a `template` (techno_dj, techno_64, minimal, house; see arrangement_templates) or your own `sections`: [{"name", "bars", "roles": [...]} or {"name", "bars", "play": {"track_index": slot}}]. Track role…
| Parameter | Type | Description |
|---|---|---|
clear | boolean | |
default_slot | integer | |
dry_run | boolean | |
locators | boolean | |
section_slots | object | |
sections | array | |
start_bar | integer | |
template | string | |
track_roles | object |
arrangement_overview
A map of the Arrangement: for every track, one character per block of `block_bars` bars ('#' = a clip plays, '.' = silent), so the structure, the entries and exits of each element and the phrasing are visible at a glance. Parameters: - block_bars: Bars per character (default 8)
| Parameter | Type | Description |
|---|---|---|
block_bars | integer |
find_presets
Search the presets of Live's native instruments, effects and racks: the Core Library, installed packs and the User Library (several thousand files). Every word of the query must appear in the preset's name, device, category or library. Read one with read_preset. Parameters: - query: Words to look for, e.g. "dark bass", "plate", "909" - device: Only this device's presets, e.g. "Drift", "Operator", "Wavetable", "Reverb" - kind: instrument, audio_effect, midi_effect, rack, drum_rack - library: "Core Library", "User Library", or part of a pack name - limit…
| Parameter | Type | Description |
|---|---|---|
device | string | |
kind | string | |
library | string | |
limit | integer | |
query | string |
read_preset
What a native device or rack preset does, read from its file: the device, the parameters that make the sound (compared with the device's default preset, in the device's own units: Hz, seconds, dB, percent or 0–1), samples used, and for racks the named macros and every chain with its devices. Use it to learn from factory sounds before designing new ones. Parameters: - preset: A preset name ("Star Dust Strings") or the path of a .adv / .adg file - detail: "changes" (default: what differs from the default device) or "full"
| Parameter | Type | Description |
|---|---|---|
preset * | string | |
detail | string |
load_preset
Load a native device or rack preset onto a track by its name or file path (find names with find_presets). Effects can go on a return track or the main track. Parameters: - track_index: The track (return index for "return", ignored for "master") - preset: Preset name ("Star Dust Strings") or .adv / .adg path - track_type: "track" (default), "return" or "master"
| Parameter | Type | Description |
|---|---|---|
preset * | string | |
track_index * | integer | |
track_type | string |
set_device_parameters
Set several parameters of a device at once, by name, with musical values: "800 Hz", "2.5 kHz", "5 ms", "1.2 s", "-6 dB", "30 %", "+7 st", a named setting ("Bell", "Alg. 11", "Sine") or a number in the parameter's own range. Names come from get_device_parameters ("LP Freq", "Attack"); a unique part of a name is enough. Every value is checked before anything changes, and the reply shows each parameter as Live displays it. Parameters: - track_index: The track (return index for "return", ignored for "master") - device_index: The device's position in the chain…
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
track_index * | integer | |
values * | object | |
track_type | string |
save_sound
Save the current settings of a native device as a named sound, to load it again later on any track with load_sound. (Live's API can't write real presets; to keep one as a Live preset too, click the device's Save Preset button in Live.) Racks aren't supported yet: save the devices inside them. Parameters: - track_index / device_index: The device to save - name: The sound's name ("Rolling Sub", "Dub Chord Stab") - description: What it is for, how it sounds - overwrite: Replace a sound saved earlier under the same name - track_type: "track" (default), "re…
| Parameter | Type | Description |
|---|---|---|
device_index * | integer | |
name * | string | |
track_index * | integer | |
description | string | |
overwrite | boolean | |
track_type | string |
list_sounds
The sounds saved with save_sound, optionally filtered. Parameters: - query: Words to look for in the name, device or description - device: Only sounds for this device ("Drift", "Operator")
| Parameter | Type | Description |
|---|---|---|
device | string | |
query | string |
load_sound
Put a sound saved with save_sound on a track: loads its device, then restores every parameter. One undo takes it all back. Parameters: - track_index: The track (return index for "return", ignored for "master") - name: The sound's name (see list_sounds) - track_type: "track" (default), "return" or "master"
| Parameter | Type | Description |
|---|---|---|
name * | string | |
track_index * | integer | |
track_type | string |
sound_recipes
Starting points for classic electronic sounds on Live's native synths (sub bass, acid bass, reese, dub chord stab, pluck, warm pad, supersaw, FM bell): device, parameter values, how to play it, what to listen for. Without a name, lists them. Parameters: - name: A recipe ("acid_bass") to see in full
| Parameter | Type | Description |
|---|---|---|
name | string |
design_sound
Build a sound from a recipe on a MIDI track: loads the recipe's synth and sets its parameters, then applies your tweaks (musical values, as for set_device_parameters). One undo step. Then audition_sound it, adjust with set_device_parameters, and save_sound when it's right. Parameters: - track_index: A MIDI track (the synth is added to its chain) - recipe: A recipe name (see sound_recipes) - tweaks: Extra values on top of the recipe, e.g. {"LP Freq": "500 Hz"}
| Parameter | Type | Description |
|---|---|---|
recipe * | string | |
track_index * | integer | |
tweaks |
audition_sound
Listen to a track's sound: plays a short test phrase on it (a bass line, chords or an arpeggio) in an empty stretch after the end of the song, records and analyses it like listen_to_arrangement (loudness, spectrum, spectrogram), then removes everything it added. Use the report to adjust the sound with set_device_parameters, and audition again. Parameters: - track_index: The MIDI track to audition - role: "bass", "chords" or "melody": picks the phrase and its register - root: MIDI note of the phrase's root (default C1 for bass, C3 chords, C4 melody) - b…
| Parameter | Type | Description |
|---|---|---|
track_index * | integer | |
bars | integer | |
report | string | |
role | string | |
root |