Forums > MaxMSP

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

May 26, 2010 | 3:27 pm

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. –

May 26, 2010 | 3:36 pm

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. –

May 26, 2010 | 3:43 pm

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…


Viewing 3 posts - 1 through 3 (of 3 total)