Page 1 of 1
Fader active only when touched/reset to zero aftertouch
Posted: 05 Nov 2013 10:42
by Teej
Hello,
So I would really like to make two types of Fader to control parameters in Ableton.
1. A fader that can send an on/off midi signal when being touched/or not touched. The desired functionality would be for this Fader to be set to control the a parameter of an effect in Ableton, but the effect is only on when the fader is being touched (effect turns off when finger is released). For this I have tried to place a pad over a fader, setting the pad as the on/off control and the fader as the effect modulation and it doesn't seem to work.
2. A fader that resets to 0 when finger is released. For example I would like to be able to control the A/B send and return signal up and when my finger is released the fader would fall back to 0.
These both seem very doable, but I just can't figure it out. Any help would be appreciated. Thanks!
Teej
Re: Fader active only when touched/reset to zero aftertouch
Posted: 05 Nov 2013 12:35
by Macciza
Hi
Have you had a bit of look through the manual? Tried any of the projects in there? It holds lots of answers . ..
Have a look in the Editor as well at what the Fader provides - x and z values, x is where in the range the Fader is, z is . .
Well at least have a guess or look it in the manual, or do as I described in another response recently and put a Monitor on the window and out Fader.z in and see what you get . . .
You can then set up the Midi mapping for it however you like for x and z separately to do what you want.
Also check out the 'behaviours' of a Fader - 'CapOnly' and 'Capture' give different responses that you should investigate . ..
Resettable Fader - try that as a Forum search (and Reset Fader), and you will get a bunch of options with various interesting features to check out . . .
But also think about it - once you've work out that earlier bit of whether it is being touched and what 'z' is all about you will be able to do it basically yourself as well . .
Cheers
Re: Fader active only when touched/reset to zero aftertouch
Posted: 08 Nov 2013 12:54
by Softcore
1. Fader's "z" expression is what you want to map - this is 1 (on) when the object is touched, 0 (off) when it is not touched
2. Taking advantage of the "z" attribute, create a script inside your fader....
Set it to execute on expression z, when z drops to 0 (select the down arrow in the script settings)
Inside the script type:
x = 0;
You are done!
And of course, as Macciza notes, dont always expect to get ready made answers, especially for stuff that is clearly covered in the manual - read the manual first, ask questions after!
Re: Fader active only when touched/reset to zero aftertouch
Posted: 27 Apr 2014 12:01
by Teej
I have looked in to this more.
Looking at other forum posts I see there are some solutions.
But my programming knowledge is minimal.
All I would like to do now, is have a fader reset to zero when it is not touched - with a switch to toggle this functionality on and off.
I have looked in to the templates posted in other forums using "def" in the script and attempted to use that switch to toggle def=0 and if off it changes to def=x to then just remain at the value the fader was last set but with no luck.
Any help in to how to do this would be appreciated. I have learnt a lot from looking in to it. But just don't have the detailed knowledge to achieve the desired result.
Thanks.
Re: Fader active only when touched/reset to zero aftertouch
Posted: 27 Apr 2014 13:06
by Macciza
Hi
Heres one way of doing it . . .
Check out the logic and see if it makes sense to you . . .
Cheers
MM