Horizontal Slider

Horizontal Sliders allow for variable parameter control with commands being sent when the value of the slider is changed.

The default range for sliders is dependant on the control method.

  • Sliders with MIDI control methods will output a maximum range of 0 to 127. The upper value is adjusted using velocity parameter.
  • OSC and HTTP control methods will output default value of 0 to 1 with a variable upper value.
  • Horizontal Sliders declare 0 to be the left position and 1 the right position of the slider handle.

Action Map

The action map below details the point at which commands are sent

Touch ReadyTouch BeginTouch Move (Slider)Touch ReleaseTouch End

Control Methods

TypeOn ModeExample
MIDIMIDI Channel, Note, VelocityChannel: 1 Note: 60 Velocity: 0 to 127
OSCOSC Message [Double], Patch/ctrl/slider (Value auto added)
HTTPHTTP Address [Double] use $1, Patch/ctrl.php?value=$1 (Value $1)
TCPTCP String [Double] use $1, Patch/ctrl/tcp/$1 (Value $1)
UDPUDP String [Double] use $1, Patch/ctrl/udp/$1 (Value $1)

API Methods

Use external applications to operate this control with the API via OSC

Send the string /ctrl/control/[uid]/[command] with the control's UID and selected command

The default port for Ctrl for iPads OSC API is 53000. This can be modified by navigating to the settings menu and modifying the global OSC input port

OSC Commands

/enabled [Int]Enable or disable the control (0 - Disabled, 1 - Enabled)
/position [Double]Change the position of the slider handle (0 to 1)
/theme [Int]Change the theme of the control (Int 1 to 14)
/theme [Int] [String]Change the theme of the control using custom palette name (Int 1 to 14)