Spinner
An endless encoder
Settings
| Setting | Description |
|---|---|
| Default Value | The value the spinner starts at when the interface is opened. When "Resets to Default" is enabled, the spinner will return to this value after you stop touching it. |
| Smooth Transitions | When set to "On", the spinner will smoothly transition to a new value regardless of where you touch it. When set to "Auto", the spinner will smoothly transition to a new value only if you touch near the handle. When set to "Off", the spinner will immediately jump to the value corresponding to where you touch it. |
| Resets to Default | When enabled, the spinner will reset to the default value after you stop touching it. The total spin value will also reset. |
Variables
The following variables can be used when configuring outputs for this control:
| Variable | Description |
|---|---|
| Value | The value of the spinner, from 0 to 1 |
| Spins | The total number of spins made by the spinner. If "Smooth Transitions" is not active, this will reset with every touch. |
| Delta | The change in total spins since the last update |
| Velocity | The velocity of the spinner (how quickly the value is changing) |
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 or disable smooth transitions |
<address> resetsToDefault <0|1> | 0 = no reset non-zero = resets to default when touch is released |
<address> defaultValue <decimal> | Sets the default value of the spinner (0 to 1) |
<address> value <decimal> | Sets the value of the spinner (0 to 1) |
<address> <decimal> | Sets the value of the spinner (0 to 1) |