Hi,
Here's an updated version in which the behavior of the fader can change for each parameter.
variableFader5.json (30.9 KB)
In short, there are three functional main components here:
- a fader
- five buttons for synth parameters
- five variables where the value of each of these parameter is stored
Pressing a button sets the behavior of the fader for the corresponding parameter (range, # steps, linear or logarithmic behavior, color, name)
Next the fader value (position) is set according to the stored parameter value.
Touching the fader will update the stored synth parameter and the visual parameter readings.
The styling of the buttons is simply a reuse from an earlier project and is not related to the functionality of the variable fader.