Slider or dial which returns to center (fa. like pitchbend)

plem's icon

Hard to believe this doesn't exist but O really couldn't find it:
Is there a slider or a dial that behaves like a pitchblende-control, so settles back in the center after being moved by the user?
Otherwise I'll have to go for the mousefilter workaround.

Thanks
Peter

Jean-Francois Charles's icon

Do you mean a UI slider in Max, that would return to the center with a certain response (linear, or exponential, etc.)? You'll have to make a "usual" slider/dial do it.
Graphically, you could use a [dial] with the "pan" drawing style, which shows the center.

plem's icon

What I actually meant is a slider (or dial) that after the user operated it automatically returns to its center position (and sends out that center value). So, the behavior of a pitchbend slider, but then in Max

Max Gardener's icon

That's precisely the kind of tool that Max users make for themselves - in part because there are going to be a lot of "preferences" involved in the way one approaches the problem.

Jean-Francois Charles's icon

For instance, I just put together this quick & dirty version. Note that there would be a number of possible variations: coming back linearly to the center point instead of exponentially, for instance.

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

Roman Thilenius's icon


or immediately. :D

Max Gardener's icon

QED (given those last two responses). Max users like to roll their own.

plem's icon

All right. So let’s get to work (-;

Roman Thilenius's icon


line, gate, timer, pipe/delay, +, -, *, t i i.

i personally would avoid mousefilter, because that thing is gobal and might also do stuff when you dont want it - the alternative is to use a GUI external which can report mouse itself.

the easiest one among them is probably lcd.