wondering if anyone has an idea to perform a function based on a change in x.
i am wanting to perform one function if the fader value is increasing and a different function if the fader value is decreasing.
thanks!
compare values of fader.x
Re: compare values of fader.x
Add lastX expression to fader
Code: Select all
if(x>lastX) functionA;
if(x<lastX) functionB;
lastX = x;
Re: compare values of fader.x
Or . . .
Under your Fader makes 2 scripts executing on x - Call one 'up' and set to '+' (increasing) and the other 'down' and set to '-' (decreasing) for execution timing . . .
You now have 2 separate scripts that you can program how you like . .
Cheers
MM
Under your Fader makes 2 scripts executing on x - Call one 'up' and set to '+' (increasing) and the other 'down' and set to '-' (decreasing) for execution timing . . .
You now have 2 separate scripts that you can program how you like . .
Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]