lom_batch
Combine multiple Ableton Live LOM get, set, and call operations into one round trip to reduce overhead. Use atomic mode to stop on first error.
Instructions
Execute multiple raw LOM operations (get, set, call) in a single round trip.
Args:
ops: List of operation dictionaries ({'op': 'get'|'set'|'call', 'path': ...}).
atomic: When True, stops execution on the first encountered error.
Returns:
Dictionary containing ordered results for each operation.
Note:
A batch runs inside one handler call, so nothing Live recomputes between
operations is visible to a later operation in the same batch. A read that
follows a transport jump in the same batch still reports the position from
before the move. Measured 2026-09-01 against Live 12.4.5: four jumps
interleaved with four reads returned four identical pre-jump values and no
error at all. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| atomic | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||