slider limitations

Dec 21, 2010 at 1:54pm

slider limitations

Hey there,
I don’t know, but it always comes to an end when I want to use a slider in a specific way. I still think the slider object is much too limited.
Now I’m searching for something like a ‘rslider’ in which u can determine the left border and then u can move the right border, but ONLY the right border. So the left border stays fixed.
I found this external ‘ad.rangeslider’ on maxobjects which goes in the right direction. The problem here is that I can’t switch off the possibility to move the whole slider bar and I can’t determine that the right border is not allowed to be smaller than the left border….

Can anybody help? I think it’s a bit tricky. Or is there an external which could help?
Thanx so much.
Merry X-Mas
Peer

#54044
Dec 21, 2010 at 3:30pm

The shift key enables moving whichever boundary (lower or upper) of the rslider range you click on with the mouse.

#194515
Dec 21, 2010 at 3:54pm

thanx….I know, but still I can change the lower boundary or move the upper beneath the lower.
what I would like to do is: fix the lower boundary at a certain value and then move the upper boundary up and down with the restriction that it can’t go lower than the lower boundary….does this sound logical ?

#194516
Dec 21, 2010 at 4:17pm

Ok. Well here’s a quick hack using rslider. EDIT: Unfortunately I discovered this method sets the upper bound too so it doesn’t really work as you want. Oh well, it may help you develop something more robust.

– Pasted Max Patch, click to expand. –
#194517
Dec 21, 2010 at 4:22pm

if that involves custom programming anway, you could also just build your own using [lcd]

#194518
Dec 21, 2010 at 4:47pm

Hey Roman,
could u help a bit please ?…I don’t have any idea how to start…tried a lot, nothing worked…
Would be great.
I’ve no idea how u could do something like a slider with [lcd]…sorry, sorry

Cheers
Peer

#194519
Dec 25, 2010 at 12:19pm

Hey,
I found what I wanted.
A slider with a fixed starting point and a changable end point which can’t go beneath the starting point.
Couldn’t figure out how to do that with [lcd] though.

Cheers
Peer

Attachments:
  1. slider.maxpat.zip
#194520

You must be logged in to reply to this topic.