slider and rslider behaviour when set externally (with bipolar ranges)

May 26, 2010 at 3:27pm

slider and rslider behaviour when set externally (with bipolar ranges)

I find that when using rslider or slider, that an external offset needs to be added to accommodate negative ranges (ie -1. to +1. I’ve attached examples to illustrate this. It seems to me that with the ranges set, the slider should accept the same values it outputs rather than having to compensate with additional objects. Have I missed something that can resolve this internally? If not (or, if so for that matter) can anyone (C74?) provide a reason or explanation for this behaviour. Thanks. S

– Pasted Max Patch, click to expand. –
#50579
May 26, 2010 at 3:36pm

This is for historical reason, the minimum is always applied “just before the inlet”. The input is still expected between 0 and the range (- 1 in case of integer…).

– Pasted Max Patch, click to expand. –
#181462
May 26, 2010 at 3:43pm

Ok, thanks for the quick response Emmanuel. I had hoped to not have to deal with the offsets but I guess I am going to have to anyway. Cheers…

#181463

You must be logged in to reply to this topic.