Rotary
A rotary switch with up to 360 positions
Settings
| Setting | Description |
|---|---|
| Number of Positions | The number of positions the rotary switch has. |
| Smooth Transitions | When set to "On", the rotary will smoothly transition to a new position regardless of where you touch it. When set to "Auto", the rotary will smoothly transition to a new position only if you touch near the handle. When set to "Off", the rotary will immediately jump to the position corresponding to where you touch it. |
Variables
The following variables can be used when configuring outputs for this control:
| Variable | Description |
|---|---|
| Value | The current value |
| Steps | The total number of steps since the last reset |
| Delta | +1 if moving clockwise, -1 if moving counter-clockwise, 0 when reset |
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> numPositions <count> | Sets the number of discrete positions on the dial (up to 360) |
<address> value <integer> | Sets the current value of the dial |
<address> <integer> | Sets the current value of the dial |