modulii

modulii

Spinner icon

Spinner

An endless encoder


Settings

SettingDescription
Default ValueThe 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 TransitionsWhen 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 DefaultWhen 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:

VariableDescription
ValueThe value of the spinner, from 0 to 1
SpinsThe total number of spins made by the spinner. If "Smooth Transitions" is not active, this will reset with every touch.
DeltaThe change in total spins since the last update
VelocityThe velocity of the spinner (how quickly the value is changing)

OSC Messages

This control responds to the following OSC messages:

MessageDescription
<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)