HISE Docs

Slider

The knob / slider element can be used to set values with dragging.

Special Properties

Property ID Default Value Description
mode Linear Select between, Linear, Frequency, Decibel, Time... to adjust the sliders value display to its connected modules domain type.
style Knob Display the Slider as a knob, vertical or horizontal slider.
stepSize 0.01 Select the resolution of the value display
middlePosition -1.0 Set the value of the sliders middle position. If this value is skewed, the scale of the values will adapt accordingly.
suffix "" Set a custom suffix
filmstripImage Use default skin Select a filmstrip to replace the default slider skin. See more below
numStrips 0 Set the amount your filmstrips strips.
isVertical true Set to false if not vertical (depreciated)
scaleFactor 1.0 if you use a filmstrip, this scalefactor will be used to resize the image. You can use this to support Retina displays.
mouseSensitivity 1.0 Adjust this value to finetune how quick/slow you can drag the slider.
dragDirection Diagonal Select a drag direction
showValuePopup No Displays a Value Popup that shows the sliders value
showTextBox true If in horizontal or vertical mode: show slider value or not.
scrollWheel true o description.
enableMidiLearn true o description.
sendValueOnDrag true o description.

Filmstripping

Scripting API

ScriptSlider