get_track
Retrieve a track's complete mixer state, device chain, sends, and clip slots in one call. Ideal for inspecting a track before modifying its mix or devices.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which collection the track index counts in: 'track' for song.tracks, 'return' for song.return_tracks, 'master' for the master track, where the track index is ignored. | track |
| track | Yes | Track index in song.tracks, counted from 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||