Live API mapping
Every path from a cmdAbl command to Live, oriented on the
Live Object Model. cmdAbl names things as the LOM does, so that a
later switch from the Remote Script to an SDK call touches an adapter (src/extension.ts) and the entry in
the tables below, not the modules.
cmdAbl path ↔ LOM path
A cmdAbl path names an object by its names (/2-808 Core Kit/808 Core Kit/Snare Drum); every object also has a LOM
path, built from its scope and position (lomPath). The scope selects the LOM list:
| Scope | LOM list |
|---|---|
regular |
tracks |
return |
return_tracks |
master |
master_track |
| Kind | Scope | cmdAbl path | LOM path |
|---|---|---|---|
| track | regular | /Bass |
live_set tracks 2 |
| return track | return | /A-Reverb |
live_set return_tracks 0 |
| main track | master | /Main |
live_set master_track |
| device | regular | /Bass/Operator |
live_set tracks 2 devices 0 |
| rack chain | regular | /Bass/Drum Rack/Kick Chain |
live_set tracks 2 devices 1 chains 0 |
| device in a chain | regular | /Bass/Drum Rack/Kick Chain/Simpler |
live_set tracks 2 devices 1 chains 0 devices 0 |
Port methods ↔ SDK call or script operation ↔ LOM
What a module's port method does in Live. sdk calls need no Remote Script; script ones need it.
| Port method | Via | SDK call / operation | LOM | Note |
|---|---|---|---|---|
bridge.available |
script | operation hello (cached answer) |
– | The handshake: is the script installed, running and the right protocol version. |
bridge.ping |
script | operation hello (fresh) |
– | Used for status and timing. |
bridge.request |
script | any operation listed in remote-script.md | – | The LOM properties each operation reads or writes are listed per operation in the Remote Script table below. |
bridge.state |
platform | the client's last known state | – | |
bridge.close |
platform | closes the local socket | – | |
liveSet.nodes |
sdk | application.song.tracks, returnTracks, mainTrack; track.name; track.devices[i].name |
Song.tracks, Song.return_tracks, Song.master_track, Track.name, Track.devices, Device.name |
Tracks and devices come from the SDK; chain and drum pad nodes come from the script operation chains (the SDK has no chain names yet) — see the script table. |
tracks.transaction |
sdk | context.withinTransaction(fn) |
– | One undo step for everything written inside. Comparable to the Python API's begin_undo_step / end_undo_step, which the script's chain_set uses; not in the LOM reference. How the SDK builds it is not documented. |
tracks.track |
sdk | application.song.tracks[i] / returnTracks[i] / [mainTrack] by the node's scope and route |
Song.tracks, Song.return_tracks, Song.master_track |
Position-based: after a Set change the index may hold another track. |
tracks.track().mute |
sdk | track.mute |
Track.mute |
|
tracks.track().solo |
sdk | track.solo |
Track.solo |
|
tracks.volume |
sdk | track.mixer.volume.getValue() |
MixerDevice.volume |
0..1 (0.85 is 0 dB), regular, return, group and main tracks. Live's display text for a value comes from the script (operation param_display). |
tracks.setVolume |
sdk | track.mixer.volume.setValue(v) |
MixerDevice.volume |
Clamped to 0..1; inside tracks.transaction it joins the undo step. |
tracks.track().arm |
sdk | track.arm |
Track.arm |
Live refuses some tracks silently; can_be_armed and the verification come from the script (operation track_facts). |
set.id |
script | operation set_id (reads cmdabl.set-id; with create, stores a new random id first) |
Song.get_data, Song.set_data |
Stored in the Set with Song.set_data (survives save, reload, Save As and Collect All and Save; Live-tested 2026-10-22). Null without the script. |
set.transport |
script | operation transport (read: playing, session playback, position, bar start and length, song length, launch quantization in beats, arrangement loop; beats) |
Song.is_playing, Song.current_song_time, Song.loop, Song.loop_start, Song.loop_length, Song.song_length, Song.signature_numerator, Song.signature_denominator, Song.get_current_beats_song_time, Song.clip_trigger_quantization, Track.playing_slot_index |
Null without the script or with an old one. |
set.setLoop |
script | operation loop_set (writes the arrangement loop on/start/length in beats; answers the loop as Live has it) |
Song.loop, Song.loop_start, Song.loop_length |
A writing op (token). Code 5 without the script or with an old one, code 1 when Live refuses the value. |
set.jump |
script | operation jump (moves the playhead to a position in beats; answers the position as Live has it) |
Song.current_song_time, Song.is_playing |
A writing op (token). Code 5 without the script or with an old one, code 1 when Live refuses or does not answer. |
files.read |
platform | reads <Extensions Data>/<extension id>/modules/<module>/<name> (UTF-8) |
– | Plain file names only; a module sees its own folder. |
files.write |
platform | writes a temporary file and renames it to <Extensions Data>/<extension id>/modules/<module>/<name> |
– | The folder is created on the first write; at most 1 MB. |
dialog |
sdk | the SDK's modal dialog (context.ui, a data: URL page) through the dialog queue |
– | |
log |
platform | an info line in the log, tagged with the module (cmdabl log) | – | |
pick |
platform | the platform's pick list | – | |
confirm |
platform | the platform's pick list (Cancel / Confirm rows) | – | |
pickTags |
platform | the platform's pick list of tags (state buttons) | – | |
pickRows |
platform | the platform's pick list of plain rows (single-select, cursor, disabled rows) | – | |
tags.refresh |
script | operation tags_all (fills the tag cache) |
Track.get_data |
Tags are stored per track under the key cmdabl.tags and saved with the Set. |
tags.of |
platform | the tag cache (filled by tags_all) |
– | |
tags.write |
script | operation tags_set (stores the list, then marks the Set as modified) |
Track.set_data |
Not undoable in Live; the script changes and restores the track colour so Live asks to save. |
onPick |
platform | listener on the pick list | – | |
showFeedback |
platform | the platform's message dialog | – | |
registerProvider |
platform | palette item provider | – | |
onCommandRun |
platform | listener after a command finished | – | |
logger.debug |
platform | log line (debug), tagged with the module | – | |
logger.info |
platform | log line (info), tagged with the module | – | |
logger.warn |
platform | log line (warn), tagged with the module | – | |
logger.error |
platform | log line (error), tagged with the module | – | |
commands.roots |
platform | reads the declared command tree | – | |
commands.usage |
platform | renders the short --help text for a command path | – | |
commands.defaults |
platform | reads the usable default commands (command → line) | – | |
commands.run |
platform | runs a command line through the normal path, limited by the calling command's runs (plan 0028) |
– | |
commands.help |
platform | renders --help text for a command path | – | |
onSetChange |
script | operation set_id, polled every few seconds while a module listens |
– | The id lives in the Set (Song.set_data); the listener hears it when the script first answers and when it differs. |
ui.livePage |
platform | a dialog on http://localhost:27184/live/<page> with read-only routes under a one-time token | – | The exception to the dialog rule (plan 0018): the page polls the module's route functions while open, and may run only the command lines (options.run paths) its module allows via POST /run; nothing else writes. |
files.readResult |
platform | reads <data folder>/modules/<module>/<name> | – | Tells a missing file from a failed read. |
midi.setBindings |
script | operation midi_listen (the bound controls) + core's binding table |
– | The script forwards exactly the bound controls (and what listen adds); pushed events run the bound lines through the headless runner. |
midi.listen |
script | operation midi_listen (all, none or a list; optional monitor window) |
– | Forwarded controls no longer reach track input or Cmd+M for as long as they are forwarded. |
midi.last |
script | operation midi_last |
– | The newest messages the script kept (a ring of 50). |
midi.onEvent |
script | the pushed event midi (also the monitor-marked copies during a monitor window) |
– | |
midi.blocked |
script | the blocked list of midi_listen and the pushed event midi_blocked |
– | Controls Live keeps for itself (a Cmd+M mapping, another script): they are never forwarded to cmdAbl. |
midi.onBlocked |
script | the pushed event midi_blocked after a map build |
– | |
midi.statusBar |
platform | reads midi.statusBar in settings.json |
– | |
midi.enabled |
platform | reads map.enabled in settings.json |
– | |
midi.setEnabled |
platform | writes map.enabled in settings.json |
– | |
settings.declare |
platform | declares the module's settings group (the Settings page is generated from it) | – | |
settings.gearAvailable |
platform | whether a module page's gear works in this run (a palette line of a command with settings) | – | |
settings.get |
platform | reads one declared key of settings.json (the default when missing or wrong) | – | |
commands.completer |
platform | registers a source of completion candidates under a key | – | |
commands.add |
platform | declares a node on the command tree | – |
Remote Script operations ↔ LOM
What each operation reads (get), writes (set) or calls. A member the LOM reference does not document is
marked; it exists in the Python API the script uses.
| Operation | LOM members | SDK alternative |
|---|---|---|
hello |
– | none (this is the bridge's own handshake) |
select |
Song.view (get; Song.View)Song.View.selected_track (set; Track; getsetobserve)Song.View.selected_track (get; Track; read back with != (wrappers, never is))Song.View.select_device (call; function(device); the track is not shown automatically; the device becomes the appointed device only if its track is selected)Track.view (get; Track.View)Track.View.selected_device (get; Device; get, observe: read back after select_device)Device.view (get; Device.View; RackDevice.View for racks)RackDevice.View.selected_chain (set; Chain; getsetobserve; selects the chain in the rack, also Drum Rack pads' chains)RackDevice.View.selected_chain (get; Chain)Track.name (get; symbol; the identity check against expectName (Device.name / Chain.name likewise))Device.name (get; symbol)Chain.name (get; unicode)Track.group_track (get; Track; None when the track is not grouped (the Max reference says id 0))Track.is_foldable (get; bool; reference: Instrument and Drum Racks return 0 even though they can open and close; group tracks are 1)Track.fold_state (get; int; only available if is_foldable = 1)Track.fold_state (set; int; 0 unfolds a collapsed parent group so the object is visible)Track.can_show_chains (get; bool)Track.is_showing_chains (get; bool)Track.is_showing_chains (set; bool; set to true only, never folds; to confirm in Live for Drum Rack tracks)+ walks the route (below) |
none yet (the SDK has no selection or view access) |
track_facts |
Track.can_be_armed (get; bool; reference: 0 for return and master tracks; verified in Live: also true for a MIDI track whose input device is unavailable)Track.arm (get; bool; not in return/master tracks; read only when can_be_armed; the SDK's read of arm was wrong in Live)Track.is_foldable (get; bool; reference: Instrument and Drum Racks return 0; group tracks are 1)Track.is_grouped (get; bool)Track.name (get; symbol; returned only when no expectName was given)+ walks the route (below) |
partly: the SDK has Track.arm (its read was wrong in Live) and groupTrack (gives isGrouped only); nothing for is_foldable or can_be_armed |
chains |
Chain.name (get; unicode; the SDK's Chain has no name)Chain.mute (get; bool; 1 = muted (Chain Activator off))Chain.solo (get; bool; 1 = soloed)DrumChain.in_note (get; int; available since Live 12.3; -1 = All Notes; unverified in Live)Device.can_have_drum_pads (get; bool; 1 for Drum Racks; always readable)RackDevice.has_drum_pads (get; bool; only available for Drum Racks (raises elsewhere): read after can_have_drum_pads)+ walks the route (below) |
none yet (SDK Chain has no name; DrumChain.receivingNote may cover in_note) |
chain_set |
Chain.name (get; unicode; the identity check against expectName)Chain.mute (get; bool; read back after the write)Chain.mute (set; bool; 1 = muted (Chain Activator off))Chain.solo (get; bool; read back after the write)Chain.solo (set; bool; does not turn Solo off in other chains)Song.begin_undo_step (call; function(); not in the LOM reference; not in the reference's Song page (it lists undo/redo only); guarded, one undo step per command)Song.end_undo_step (call; function(); not in the LOM reference; not in the reference's Song page; guarded)+ walks the route (below) |
none yet (the SDK's Chain has no mute or solo) |
param_display |
Track.mixer_device (get; MixerDevice)MixerDevice.volume (get; DeviceParameter)DeviceParameter.min (get; float; values outside min..max are refused)DeviceParameter.max (get; float)DeviceParameter.str_for_value (call; function(value); returns the display text for a value; does not change the parameter)+ walks the route (below) |
none (the SDK's mixer.volume is a number 0..1 with no display text) |
midi_listen |
– | none: the SDK has no MIDI input |
midi_last |
– | none: the SDK has no MIDI input |
transport |
Song.is_playing (get; bool)Song.current_song_time (get; float)Song.get_current_beats_song_time (call; function(); not in the LOM reference; returns a SongTime object; the script sends its text)Song.signature_numerator (get; int)Song.signature_denominator (get; int)Song.loop (get; bool)Song.loop_start (get; float)Song.loop_length (get; float)Song.song_length (get; float; Live counts the loop end in it; a loop_start beyond it is refused)Song.clip_trigger_quantization (get; int; the enum index: 0 None, 1 8 Bars ... 13 1/32; -1 when Live does not say)Song.return_tracks (get; list of Track)Track.playing_slot_index (get; int; session = any track with a value >= 0) |
none yet (check the SDK transport for the play state) |
jump |
Song.current_song_time (set; float; read back, plus a note on a mismatch; no strict check: the playhead may have moved on or Live may apply it next tick)Song.is_playing (get; bool; only to word the mismatch note) |
none yet |
loop_set |
Song.loop (set; bool)Song.loop_start (set; float)Song.loop_length (set; float) |
none yet |
set_id |
Song.get_data (call; function(key, default); not in the LOM reference; Python API only: not in the Cycling '74 reference; key "cmdabl.set-id", a 32-character hex string; anything else counts as no id)Song.set_data (call; function(key, value); not in the LOM reference; only with create and no id yet; read back after the write; survives save, reload, Save As and Collect All and Save (Live-tested 2026-10-22))Track.color_index (get; int; the colour toggle that marks the Set as modified (as in tags_set))Track.color_index (set; int; changed to a neighbour and put back inside one undo step)Song.begin_undo_step (call; function(); not in the LOM reference; groups the colour toggle into one step; not in the reference's Song page)Song.end_undo_step (call; function(); not in the LOM reference; see begin_undo_step) |
none (the SDK has no Set data store) |
tags_all |
Track.get_data (call; function(key, default); not in the LOM reference; Python API only: not in the Cycling '74 reference (Song and Track have it, Chain/DrumPad/Device do not); key "cmdabl.tags", a JSON list of strings; anything else counts as no tags)Track.name (get; symbol; the identity check on the extension side: tags belong to a track only while its name matches) |
none (the SDK has no track data store) |
tags_set |
Track.set_data (call; function(key, value); not in the LOM reference; saved with the Set and copied by a duplicated track (Live-verified), but it neither marks the Set modified nor adds an undo step)Track.get_data (call; function(key, default); not in the LOM reference; read back after the write)Track.color_index (get; int; the colour toggle: read first)Track.color_index (set; int; changed to a neighbour and put back inside one undo step: the only way found to make Live ask to save (Live-verified))Song.begin_undo_step (call; function(); not in the LOM reference; groups the colour toggle into one step (shows as "Custom Action"); not in the reference's Song page)Song.end_undo_step (call; function(); not in the LOM reference; see begin_undo_step)+ walks the route (below) |
none |
Walking the route
Every operation that takes {scope, route} finds its object through these members:
| LOM member |
|---|
Song.tracks (get; list of Track) |
Song.return_tracks (get; list of Track) |
Song.master_track (get; Track) |
Track.devices (get; list of Device; includes the mixer device per the reference) |
Chain.devices (get; list of Device) |
RackDevice.chains (get; list of Chain) |
Runs through the script today
The checklist for an SDK update: each item below is done by the Remote Script because the SDK did not offer
it when this page was generated. When the SDK grows the call, switch the adapter, re-run
npm run docs:reference and move the item to the sdk rows above.
select— none yet (the SDK has no selection or view access)track_facts— partly: the SDK has Track.arm (its read was wrong in Live) and groupTrack (gives isGrouped only); nothing for is_foldable or can_be_armedchains— none yet (SDK Chain has no name; DrumChain.receivingNote may cover in_note)chain_set— none yet (the SDK's Chain has no mute or solo)param_display— none (the SDK's mixer.volume is a number 0..1 with no display text)midi_listen— none: the SDK has no MIDI inputmidi_last— none: the SDK has no MIDI inputtransport— none yet (check the SDK transport for the play state)jump— none yetloop_set— none yetset_id— none (the SDK has no Set data store)tags_all— none (the SDK has no track data store)tags_set— none