What's up guys -
I'm trying to write a script for a button using "down ?" and an effect like djosdelay.
What I would like to do is see the effect fade out when the button is released, instead of abruptly shutting off. I thought I saw something about a "wait" command, but maybe I was wrong. Any ideas on how to pull this off?
CM
I'm trying to write a script for a button using "down ?" and an effect like djosdelay.
What I would like to do is see the effect fade out when the button is released, instead of abruptly shutting off. I thought I saw something about a "wait" command, but maybe I was wrong. Any ideas on how to pull this off?
CM
Posted Mon 04 Jul 11 @ 11:43 pm
You should be asking this in the tech or hardware forum...
this really isn't a good effect for this but here is how it works, on first press when button is down, the effect is activated and led is on, when you lift up the echo does a freeze fade and led will blink, finally when you press the button again you switch off the effect and the led and restore the plugins settings.
you should mess with the 50% value until you find something that sounds good...
toggle 'delay' & var_equal 'delay' 1 ? down ? deck 1 effect "djosdelay2" active on & deck 1 effect "djosdelay2" slider 1 50% : set 'blink_1' 1 & deck 1 effect "djosdelay2" button 1 : var_equal 'delay' 0 ? set 'blink_1' 0 & deck 1 effect "djosdelay2" active off & deck 1 effect "djosdelay2" button 1 & deck 1 effect "djosdelay2" slider 1 0%
If you have a led for the button use something like
var_equal 'blink_1' 1 ? blink 250ms : deck 1 effect "djosdelay2" active on ? on : off
enjoy...
this really isn't a good effect for this but here is how it works, on first press when button is down, the effect is activated and led is on, when you lift up the echo does a freeze fade and led will blink, finally when you press the button again you switch off the effect and the led and restore the plugins settings.
you should mess with the 50% value until you find something that sounds good...
toggle 'delay' & var_equal 'delay' 1 ? down ? deck 1 effect "djosdelay2" active on & deck 1 effect "djosdelay2" slider 1 50% : set 'blink_1' 1 & deck 1 effect "djosdelay2" button 1 : var_equal 'delay' 0 ? set 'blink_1' 0 & deck 1 effect "djosdelay2" active off & deck 1 effect "djosdelay2" button 1 & deck 1 effect "djosdelay2" slider 1 0%
If you have a led for the button use something like
var_equal 'blink_1' 1 ? blink 250ms : deck 1 effect "djosdelay2" active on ? on : off
enjoy...
Posted Tue 05 Jul 11 @ 12:47 am