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
Fader snap mode
Re: Fader snap mode
i managed to get it working
now i just need a way the Fader moves smoothly to the value instead of jumping, any ideas ?
now i just need a way the Fader moves smoothly to the value instead of jumping, any ideas ?
- Attachments
-
- snapfader.jzml
- (6.89 KiB) Downloaded 94 times
Re: Fader snap mode
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 ?
Re: Fader snap mode
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.
"Having no silence in music is like having no black or white in a painting" - Brian Eno
https://soundcloud.com/mrcorba
https://soundcloud.com/mrcorba
-
- Regular
- Posts: 315
- Joined: 02 Nov 2013 11:19
Re: Fader snap mode
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.
Play around with the BPM and the delta values to get the speed and smoothness you want.
- Attachments
-
- snapSmooth.jzml
- (8.34 KiB) Downloaded 114 times
-
- Regular
- Posts: 315
- Joined: 02 Nov 2013 11:19
Re: Fader snap mode
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.
-
- Newbie
- Posts: 20
- Joined: 05 Oct 2017 00:35
Re: Fader snap mode
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?