Slider
A basic control that works nicely with continuous data. Resize the slider to change its orientation from horizontal to vertical.
Settings
| Setting | Description |
|---|---|
| Default Value | The value the slider starts at when the interface is opened. When "Resets to Default" is enabled, the slider will return to this value after you stop touching it. |
| Mode | For display purposes only. Whether the slider should be "filled in" from low to high, high to low, from the center, or only render the handle. |
| Smooth Transitions | When set to "On", the slider will smoothly transition to a new value regardless of where you touch it. When set to "Auto", the slider will smoothly transition to a new value only if you touch near the handle. When set to "Off", the slider will immediately jump to the value corresponding to where you touch it. |
| Resets to Default | When enabled, the slider will reset to the default value after you stop touching it. |
Variables
The following variables can be used when configuring outputs for this control:
| Variable | Description |
|---|---|
| Value | The current value, from 0 to 1 |
OSC Messages
This control responds to the following OSC messages:
| Message | Description |
|---|---|
<address> position <x> <y> <width> <height> | Sets the control's position. Coordinates are specified in pixels. |
<address> color <blue|red|green|orange|purple|brown|grey> | Sets the control's color. |
<address> smoothTransitions <off|on|auto> | Enable to disable smooth transitions |
<address> resetsToDefault <0|1> | 0 = no reset non-zero = resets to default when touch is released |
<address> mode <fromLowToHigh|fromHighToLow|fromMiddle|point> | Sets the display mode of the slider |
<address> defaultValue <decimal> | Sets the default value of the slider (0 to 1) |
<address> value <decimal> | Sets the value of the slider (0 to 1) |
<address> <decimal> | Sets the value of the slider (0 to 1) |