General
Fader snap mode
Started by drain on .
Sign in or create an account to join the conversation.
Hello,
i want to be able to push a button to "snap lock" faders to their current value.
so they snap back to it after i release the fader.
This is such an amazing feature i experienced in Touchable:
https://youtu.be/ynFoGxKWV38?t=171
i want to be able to push a button to "snap lock" faders to their current value.
so they snap back to it after i release the fader.
This is such an amazing feature i experienced in Touchable:
https://youtu.be/ynFoGxKWV38?t=171
i managed to get it working
now i just need a way the Fader moves smoothly to the value instead of jumping, any ideas ?
snapfader.jzml
now i just need a way the Fader moves smoothly to the value instead of jumping, any ideas ?
snapfader.jzml
now i found another Problem
the Fader is not jumping back to the same value each time, its not precise.
looks like the touch variable on z is not accurate, or is there a better way ?
the Fader is not jumping back to the same value each time, its not precise.
looks like the touch variable on z is not accurate, or is there a better way ?
At the moment I can't think of a nice way to let the fader "slide" to it's last position, but your value problem is luckily much easier:D
The z way you're currently using isn't reliable because there is a bit of a delay and this causes the x to change even the slightiest.
Just change the setLast script to execute on lockbutton.x rises. This way, the moment you press the lock button, the x value is stored in last. And is never changed again until you depress it and press it again.
The z way you're currently using isn't reliable because there is a bit of a delay and this causes the x to change even the slightiest.
Just change the setLast script to execute on lockbutton.x rises. This way, the moment you press the lock button, the x value is stored in last. And is never changed again until you depress it and press it again.
Here's something that does what you want (I think).
Play around with the BPM and the delta values to get the speed and smoothness you want.
snapSmooth.jzml
Play around with the BPM and the delta values to get the speed and smoothness you want.
snapSmooth.jzml
OP - did you ever download and try this? Just curious if it was what you were looking for.
It's also a generally useful way to do slow modulations/movement (like LFOs, etc). Faster/smoother animations would likely require an 'on frame' script, which is overkill for this and a number of on frames could impact overall responsiveness, so I try to avoid them when possible.
It's also a generally useful way to do slow modulations/movement (like LFOs, etc). Faster/smoother animations would likely require an 'on frame' script, which is overkill for this and a number of on frames could impact overall responsiveness, so I try to avoid them when possible.
Works great. Thanks!oldgearguy wrote:OP - did you ever download and try this? Just curious if it was what you were looking for.
It's also a generally useful way to do slow modulations/movement (like LFOs, etc). Faster/smoother animations would likely require an 'on frame' script, which is overkill for this and a number of on frames could impact overall responsiveness, so I try to avoid them when possible.
Is it at all possible for you to tell me how to reset the faders to send value 100?