modulii

modulii

Knob icon

Knob

A basic control that works nicely with continuous data.


Settings

SettingDescription
Default ValueThe value the knob starts at when the interface is opened. When "Resets to Default" is enabled, the knob will return to this value after you stop touching it.
ModeFor display purposes only. Whether the knob should be "filled in" from low to high, high to low, from the center, or just be a simple rotary knob.
Smooth TransitionsWhen set to "On", the knob will smoothly transition to a new value regardless of where you touch it. When set to "Auto", the knob will smoothly transition to a new value only if you touch near the handle. When set to "Off", the knob will immediately jump to the value corresponding to where you touch it.
Resets to DefaultWhen enabled, the knob will reset to the default value after you stop touching it.

Variables

The following variables can be used when configuring outputs for this control:

VariableDescription
ValueThe current value of the knob, from 0 to 1

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> resetsToDefault <0|1>0 = no reset non-zero = resets to default when touch is released
<address> smoothTransitions <off|on|auto>Enable or disable smooth transitions
<address> mode <fromLowToHigh|fromHighToLow|fromMiddle|point>Sets the display mode of the knob
<address> defaultValue <decimal>Sets the default value of the knob (0 to 1)
<address> value <decimal>Sets the value of the knob (0 to 1)
<address> <decimal>Sets the value of the knob (0 to 1)