See Attributes Common to Widgets.
Name | Value Type | Default Value | Description | Comment | V. | Exp. |
---|---|---|---|---|---|---|
param_id |
empty |
Identifier of the parameter to display. |
This value is mandatory. Param controls cannot not refer to a an output param since output parameters are read-only. |
1.0 |
No | |
reverse |
false |
Parameter widgets displays the parameter value the other way round. |
For example a reverse vertical slider will have its value raised when moving from top to bottom instead of bottom to top. |
1.0 |
1.2 | |
positions_count |
Positive integer |
Depends on parameter and control |
Number of states of the param control or viewer. |
This number may be used to limit the number of states that the param widget can have. For example a LINEAR_PARAM_METER that displays 5 LEDs will need 6 states. But if the parameter to display is an integer with only 3 possible values, the real number of states will be 3. |
1.0 |
1.2 |
response_curve |
'linear' |
The response curve of the control or viewer: this is the function used to transform the position of the viewer to the parameter value. |
This attribute is very useful when you need different precision of the control (or viewer) in different zones of the parameter value. |
1.0 |
No | |
scale |
'linear' or 'log' |
'linear' |
Parameter pre-scaling |
This attribute is very useful when you need a specific scale for the parameter. The main difference between the scale and response_curve attributes is that the scale is computed on the parameters values, whereas the response_curve is used on the positions (0 to 1) range. |
1.2.5 |
No |
zoom |
real number in the [1;+oo] range. |
1 |
Zoom on the parameter range. |
This attribute enables you to zoom the parameter range to display/control a portion of the parameter range only. The exact range is also controlled by the offset parameter. |
1.2.5 |
1.2.5 |
offset |
real number in the [0;1] range. |
0 |
offset on the parameter range. |
This attribute is active only when the zoom parameter has a value different from 1. You can then control where the parameter range starts (0 means that the parameter range starts with its minimum value, 1 means that it ends with its maximum value, and .5 means that the range is centered) |
1.2.5 |
1.2.5 |
max_zoom |
real number in the [1;+oo] range. |
1 |
Maximum value allowed for the exposed zoom parameter. |
1.3 |
No |