Set max value or size of a live.slider

ZeroValue's icon

Hi,
Is it possible to set the max value of a live.slider like a standard slider using attr size or any other way ?
I could multiply the output of the slider but I wish to display the correct value.
thanks

ZeroValue's icon

any idea ?

schlam's icon

did you look at the live.slider inspector ?

ZeroValue's icon

Maybe my question was not that clear
i wish to you use a flonum or an other slider to set the max value of the slider

double_UG's icon

but I´am not shure if this works with Ableton Live

Max Patch
Copy patch and select New From Clipboard in Max.

schlam's icon

Away from computer so I cannot see the double ug's proposition (but quite sure is elegant ;)

Any attribute of the inspector like "range/enum" here can be dynamically change. Just select this attribute in the inspector and click the "+" at the bottom of the inspector.
A new attr object will be created and linked to your live.slider. just send the message (0 $1), to this object and add another slider before the (0 $1) message.
It s working in Live but if the live.slider is mapped to a controller, the min/max values will not be correctly updated by live. It's only a problem if the slider is mapped. Moving it directly will work.

ZeroValue's icon

Thank you for you help !!
I didn't know for dynamical change, that's an important way for customization.

schlam's icon

Yes it's great but with if you want to map this slider, live will not update the min max values.. I already made a suggestion about that, it can be greater.
.there is several workaround. One is to do not change the range of your slider but dynamically change the max attribute of a scale object after your slider.

ZeroValue's icon

@schlam I come back to this thread, your solution using scale just help me a lot ! :)