LSC Lighting CLARITY LX Series v.1 User Manual

Page 134

Advertising
background image

Palettes

Clarity

Operator Manual

Page 124

If you click Reset it will delete any existing scripts and show the page of script instructions.
You can either delete the instructions or leave them as they do not affect the script. Type in

your script using the available commands as listed below.

All expressions in a script must be followed with a semicolon and are in the form:

variable = value;

where “value” is a literal value.

For example:
To assign a new value, the script might say:

phase_shift = 25;

or they can be in the form:
variable = value operator value;

where “value” is the name of an existing variable.

For example:
To assign a value based on an existing variable the script might say:

duty_factor = duty_factor * num_devices / 2;


The dynamic effect parameters that you can override by using a script are:


cycles The rate in bpm.

phase_shift Phase shift (0 to 1)

duty_factor Duty factor

mirror

switch (0 = off, 1 = on)

invert switch (0 = off, 1 = on)

amplitude switch (0 = off, 1 = on)


offset switch (0 = off, 1 = on)


strict_offset switch (0 = off, 1 = on)


These parameters can be set to a specific literal value or to some special values that depend on

the target fixture to which the freeset is being applied.

“Offset” and “Strict Offset”.

Normally the offset is calculated in a special way that suits the 2 values of a scaled freeset so
that the waveform is evenly distributed over the 'from' and 'to' offset values.

For example: the original scaled freeset would have the 'from' value as offset=0 and 'to'

value as offset=0.5. When applied to 2 fixtures the target fixtures get those exact values.

When applied to 3 fixtures they get 0, 0.33, 0.66. When applied to 4 fixtures they get 0, 0.25,
0.5, 0.75 etc.


When strict_offset is enabled (set to 1) then this calculation is skipped.

For the same examples as above: 2 fixtures get 0, 0.5; 3 fixtures get 0, 0.25, 0.5; 4

fixtures get 0, 0.166, 0.33, 0.5 etc.). Strict-offset can be used for the Medium Wave and Long
Wave freesets.


There are several pre-defined variables that you can use. The examples below show the values

for 8 fixtures.

num_devices The number of fixtures that the freeset is being applied to. For

example, 8.

Advertising
This manual is related to the following products: