Color reference¶
zcx allows you to define the color of a control in multiple formats.
MIDI value¶
Pass a MIDI value in the range 0-127 to light the control with a color corresponding to that value.
Name¶
There are several colors that you can reference by name
RGB controls¶
Controls with full color feedback.
whitegreydark_greyredorangeyellowgreenplay_greenlimeblueskycyanpurplemagentaindigopink
Basic controls¶
Controls with single-color feedback.
onoffhalfhalf_blink_slowhalf_blink_fastfull_blink_slowfull_blink_fast
BiLed controls¶
Controls with red, green, and yellow feedback.
greengreen_halfgreen_blink_slowgreen_blink_fastredred_halfred_blink_slowred_blink_fastyellowyellow_halfyellow_blink_slowyellow_blink_fastamberamber_halfamber_blink_slowamber_blink_fast
Animated colors¶
If your hardware supports it, you may define one of two available animations for your control.
To sync these animations with Live's tempo, you must enable Sync on the MIDI out port of your hardware in Live's MIDI preferences.
The available animations are pulse and blink.
pulse blends between the two colors, while blink quickly alternates between them.
For each animation type, you must define an a and b color, and optionally a speed between 1-5 (slowest to fastest).
You may omit the speed option to accept the default of 1.
Shorthand¶
You may use a shorter syntax to set only the a color, leaving the b color as 0 and speed as 1.