Trying to decrease value of Fader using the ADSR of a Pad...
Posted: 05 Dec 2012 01:35
So I have the pictured fader accepting values from the pad in the bottom right corner. Holding the pad down will increase the faders value according to the Attack of the fader, letting go will cause the fader to decrease in value according to the Release value of the pad (I am not utilizing decay or sustain at the moment). The second smaller Pad (above the bottom right Pad) will set the hold value of the main pad to 1 when held. Touching the fader will override the main pad that controls its value, and instead lock the fader in the position you drag it to.
I am happy with this functionality but would also like a pad/button to decrease the faders value down to 0 according to the Release value of the pad when the fader has been locked... As of now, quickly tapping the Pad in the bottom right corner will slightly increase the value of the fader and then decease it as desired. This is almost what I want...
So, the easiest solution (if possible) would be to somehow script a button that would fool the pad into thinking it was very breifly activated, thus it will do the rest. Note that simply changing the x value of the pad will lock it in this new position, not cause its brightness to fade as desired. Is this method possible and if so how?
Another solution would be to mimic whatever code causes the pads value to decrease and feed it the release value from the pad... Could someone help with this if the first idea is not viable?
Or perhaps someone has a better idea? Thanks.
I am happy with this functionality but would also like a pad/button to decrease the faders value down to 0 according to the Release value of the pad when the fader has been locked... As of now, quickly tapping the Pad in the bottom right corner will slightly increase the value of the fader and then decease it as desired. This is almost what I want...
So, the easiest solution (if possible) would be to somehow script a button that would fool the pad into thinking it was very breifly activated, thus it will do the rest. Note that simply changing the x value of the pad will lock it in this new position, not cause its brightness to fade as desired. Is this method possible and if so how?
Another solution would be to mimic whatever code causes the pads value to decrease and feed it the release value from the pad... Could someone help with this if the first idea is not viable?
Or perhaps someone has a better idea? Thanks.