Anmelden:     


Forum: General Discussion

Topic: Effect Kill Button

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

Hey guys is there a way to map a button to deactivate multiple effects at once. I tried a couple of things but none of them worked. Thanks in advance.
 

geposted Fri 10 May 13 @ 2:26 pm
strangely it's

deck # effect select +1

(replace the hash with the deck number)
 

Ok thanks, I'll try that
 

Ok that didn't work any orher suggestions
 

Not knowing which effect you need to deactivate, this is not really easy. You could call out the deck # effect "my_effect" active off for each effect. So:

deck 1 effect "brake" active off & deck 1 effect "backspin" active off & etc...

Calling out each effect. This is all in theory, as the script says you can specify "on" says nothing about off. But the last thing you want is to use a toggle command that would turn everything that was off to on, just to deactivate the effects that were on in the first place.

Just start simple with one effect. If that works, add another, making sure it turns each effect off. They try that same button a second time to make sure it does not turn the effect back on. If that all works, make that script repeat each time for every effect that you have. Then a second button for deck two. Some times I write these out in a text document, before adding the scripts in VDJ, like this:

deck 1 effect "brake" active off &
deck 1 effect "backspin" active off &

To stay organized with such a long script. Then when each command is tested, use backspace on your text document to get every command all in one long sentence, like seen in bold above. I know this is allot of work, but it should do what you want.
 

 

By reading that thread (last post) is it safe to assume that effects designed with an older SDK may not respond to that "effect +1" and if there is no update for the effect, that a manual release of each one of the older effects is the only way to go?

Because it looks like that person had the same issue as Rnow3 with "deck # effect select +1". I am just curious how he would solve it if there was not an update for an effect that he is having issues with.
 

you could try a repeat script on a button eg..

repeat 10ms & effect active off & effect select +1

that should scroll through the effects and deactivate them for as long as you hold the button down so if you have 50 effects it would take at least half a second to scroll through

It would be nice to have a repeat stop command then you could do it automatically eg.

var 'effectsOff' 29 ? set 'effectsOff' 0 : set 'effectOff' 1 & var 'effectOff' ? repeat 20ms & effect active off & effect select +1 & cycle 'effectsOff' 30

good thing I tested it... it actually kind of works, my computer is crashing due to a couple of dodgy VST's but it should be safe on normal effects... just replace the numbers with how many effects you have in your list and make sure the first part is one less than the integer number as the count is zero indexed.
 

synthet1c wrote :


var 'effectsOff' 29 ? set 'effectsOff' 0 : set 'effectOff' 1 & var 'effectOff' ? repeat 20ms & effect active off & effect select +1 & cycle 'effectsOff' 30

good thing I tested it... it actually kind of works, my computer is crashing due to a couple of dodgy VST's but it should be safe on normal effects... just replace the numbers with how many effects you have in your list and make sure the first part is one less than the integer number as the count is zero indexed.


Looks like this one works, thank you synthet1c and DHoude for all your help. That's why I love this program you can make it do whatever you want and there is always tons of help if run into a problem. Also synthet1c I was going to post this solution in the other form if you don't mind.
 

go for it bro, glad it worked
 

that script may not be safe... I just tried to see if I could extend it into a beat timed loop, It seems it will never stop repeating. I would advise against it's use. this is what I tested it with

var 'timer' 11 ? set 'timer' 0 : set 'timer' 1 & var 'timer' ? repeat 500ms & deck 1 goto +1 & cycle 'timer' 12

this is what I wanted it to do. It would check to see if the track is on a beat marker every 5 milliseconds, if so it would do the command and cycle the script. It's a shame that would have been great fun to play with

var 'timer' 11 ? set 'timer' 0 : set 'timer' 1 & var 'timer' ? repeat 5ms & get beatgrid ? deck 1 goto +1 & cycle 'timer' 12 : nothing

if only we had a way to assign a repeat with a name eg.

repeat 'timer' 20ms

then later we could stop it with something like

clear 'timer' eg.

var 'timerVar' 11 ? set 'timer' 0 & clear 'timer' : set 'timerVar' 1 & var 'timerVar' ? repeat 'timer' 5ms & get beatgrid ? do something & cycle 'timerVar' 12 : nothing
 

Don't know about all that, but its working fine for what I needed. Thanks again.
 

Don't know about all that, but its working fine for what I needed. Thanks again.
 



(Alte Themen und Foren werden automatisch geschlossen)