Proportional Scale Of Sliders Using A master Slide

salvo's icon

I have two sliders with different min\max values and a master slider (0-127), I need to set the two slider independently and from a master slider change proportionally their values from 0 to max value. I am having issue to keep the values of the sliders when I move the Master slider because both of them change to the values of it.

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

riccardo dapelo's icon

Don't understand what you mean. If you use scale as you did, you will always see the two sliders in the same position, because if you send let say 64 from the master slider it will be the half on both sliders (even if the value on the first is 1000 and on the second 500)

riccardo dapelo's icon

Is this what you mean?

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

salvo's icon

Sorry is a bit hard to explain. So these faders controls two lights Intensity. if I set the two faders ex f1 to 100 and f2 to 75 when I move the master fader to 0 both of the fader goes to 0 , if the master goes to full both of the faders goes to full respecting always the proportion of the intensity. I made a video of what I mean.

salvo's icon

Hi Riccardo, is almost there, however, when I move thefaders needs to remember the position when the master fader changes. On master fader full both of the faders go to full

Holland Hopson's icon

Here's a solution that gates the output of the secondary faders when they're controlled by the primary fader.

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

Roman Thilenius's icon


aha - video - that is something different what we originally thought.

but your question was still right; you can reach something like that by scaling a range of numbers from 0-1 to 0-1, while distorting it using exp(), log(), or even a simple pow() or sqrt().