modulii

modulii

XY Pad icon

XY Pad

Like a slider, but works with data in two dimensions.


Settings

SettingDescription
Default ValueThe x and y values the control starts at when the interface is opened. When "Resets After Update" is enabled, the control will return to this value after you stop touching it.
Smooth TransitionsWhen set to "On", the pad will smoothly transition to a new value regardless of where you touch it. When set to "Auto", the pad will smoothly transition to a new value only if you touch near the handle. When set to "Off", the pad will immediately jump to the value corresponding to where you touch it.
Resets After UpdateWhen enabled, the pad 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
XThe X value, from 0 to 1
YThe Y value, 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> 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 <x> <y>Sets the default value of the XY pad (0 to 1)
<address> value <x> <y>Sets the value of the XY pad (0 to 1)
<address> <x> <y>Sets the value of the XY pad (0 to 1)