range = 128, so value 127 = maximum, right? not the case with slider in Max 7

n871's icon

My slider is set to a range of 128 (0-127) but initial value 127 doesn't set it to the extreme end when loaded. Setting it's initial value to 128 fixes the problem, is this normal? What am I missing? Maybe value 0 = initial position 1?

Jeremy's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I'm not sure if I follow. This works fine for me:

Can you post a similarly reduced patcher which exhibits the problematic behavior?

Jeremy

achzo's icon
Jeremy's icon

@afwi, you mean the redrawing issue? It's been ticketed, thanks for noticing it. This isn't related to the OP's described problem, though. Would be good to put stuff like that in its own thread (or in a note to support @ cycling74.com , please).

Jeremy

achzo's icon

deleted. excitation called max7!

n871's icon
Max Patch
Copy patch and select New From Clipboard in Max.

in this patch, you can see that slider doesn't output the highest value when loaded. Is this a bug?

Emmanuel Jourdan's icon

@N871 this is a very disturbing example ;-) slider range is set to 128 in floating mode which means it goes from 0. to 128 (both included). This is multiplied by a funny number 0.007031 and has on offset of 0.1. Not sure what you expected here ;-)

n871's icon

I'm sorry for the trouble :) the funny numbers have their reasons in my patch. I forgot about the floating mode...
I'll do some more testing in the future before posting on the forum!

achzo's icon

what a great slider coloring too!

n871's icon

colorcoded patch