Scales, Literals and Units
Glue can not only work with plain linear numeric values and booleans, but also with literals. This for precise control of target parameters as values exactly correspond to the silkscreen print on for example fader tiles.
Scales
The first step is to set a scale on the input tile, e.g. the 60mm Faders or the 100mm faders. This is done by clicking on the gear icon of the respective tile in the Control Devices tab of Glue, and selecting a scale from the dropdown menu in the Controller tab.
Currently, the following scales are available:
- -oo to +6 dB
- -oo to +10 dB (With Detent)
- Numeric 0-10
- Numeric 1-10
Choose one which matches the imprint on your fader tile.
Now, Glue knows how to scale the values coming from the fader tile.
Units
Next, Glue needs to know what target parameters can handle literals. This is done by setting the Unit of the target parameter. In your target definition, edit a parameter group and set the Unit to the respective unit, for example dB (Audio).
If there are now literals coming in, for example from a fader tile with a dB scale, Glue will send them as-is to the target. If the value is outside of the given range, it will be clipped to the range (as opposed to being scaled linearly like if the value was not a literal).
The Step has no effect on literals.
Handling non-literal values
If there's a value coming in which is not a literal, e.g. because there's no scale configured or it is coming from an encoder, you can use the Translation field to choose how the literal should be approximated.
The default value is Linear where the value will be scaled linearly to the range of the target parameter.
With Exponential or Logarithmic, the value will be scaled exponentially or logarithmically to the range of the target parameter. You need to specify the Power for this to work. Therefore you can approximate the behavior of a fader tile with a dB scale for example.