Slider with an output minimum has weird input behaviour

kleurbleur's icon

So, this is unexpected. These two sliders are exactly the same expect that the output minimum on the right is changed to 50. The left one behaves as expected when clicking the messages on top; the slider moves itself to those numbers and outputs those. The right on does not. When I click 50 it jumps to 100 and outputs that as wel, 0 becomes 50 and 127 becomes 177.

How can I set a slider with a set minimum output to a certain value?
And sorry for a screenshot, I'm running the demo mode of Max atm.

Source Audio's icon

That is expected behaviour of the slider.
Setting minimum value means setting the offset.
In Your case min = 50, max value left at 128.
That makes slider go from 50 - 177 .
Incoming values are added to minimum value .
So input 100 = 50 + 100 = 150
input 0 = 0 + 50 = 50

Roman Thilenius's icon


hm? the minimum should clip the input.

oh, that is slider, not multislider!

slider is a silly object, it actually uses the command "min" to set an offset.

to set its clipping range you have to use "setminmax", which is (for a reason i dont understand) not included in the inspector.

Roman Thilenius's icon


no wait, that doesnt work either, setminmax only sets min and range, too. ^^

i give up.

use multislider!

they (for a reason i dont understand) look the same anyway.

kleurbleur's icon

Aha! That doesn't really make sense, especially for a beginner (of which I'm not even one).

Thanks both, this clears things up for me.