Skip to content

track control

The track control binds to a particular track in the Live set. An RGB-enabled button will attempt to display animated feedback representing the track's state (playing, recording, etc.).

When the track property is configured, zcx will bind to the specified track on set load. The control's bound track can later be reassigned via the API, and the track property may be omitted to create an unbound control on set load.

yaml schema

Inherits from standard control.

track: string, int
color: string, int, ZColor

track

string | int

The track name or number to bind to. Binding by number is generally only recommended for testing purposes.


color

string, int, ZColor

By default, the track control will attempt to create a palette of colors based on the color of the bound track. You may optionally pass a color property, and that color will be used as a base instead. Note: if an animated color is passed, only the 'a' color of the animation will be considered. See [[color reference]].

properties

Inherits from standard control.

track

Returns the name of the bound track.