登录:     


Forum: Old versions

Topic: DDJ SX assign effect to button.

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

Hey,
I'm trying to assign reverb to a button, however, i need the effect select window/browser to jump to the effect so that i can tweak the parameters as soon as I've activated it.
At the moment, I can turn the effect on, but the effect browser will stay on a previously selected effect (See image), and I cannot change the parameters for it.
 

发表时间 Mon 12 Jan 15 @ 7:17 pm
No Image displayed.
Please try to add a Image as *.png
 

Not working.

It's just the effect window to the left of the virtual turntable.
 

Please post the code string that you are currently using.
 

This is the button for the untouched deck (right deck). I've left it untouched in case I stuffed up the left deck and needed a model;

action_deck 1 ? var_equal '$fx2' 1 ? on & set '$fx2' 0 : off & set '$fx2' 1 : action_deck 2 ? var_equal '$fx2' 2 ? on & set '$fx2' 0 : off & set '$fx2' 2 : action_deck 3 ? var_equal '$fx2' 3 ? on & set '$fx2' 0 : off & set '$fx2' 3 : action_deck 4 ? var_equal '$fx2' 4 ? on & set '$fx2' 0 : off & set '$fx2' 4 : off & set '$fx2' 0

The code I'm using to activate the effect for the left deck follows (borrowed from vdj7);

var '$myshift' ? effect 'flanger' active : effect 'reverb' active
 

try this:

var '$myshift' ? effect_select 'flanger' & effect 'flanger' active : effect_select 'reverb' & effect 'reverb' active

 

Basically you need to set the effect slot.
Therefore:
var '$myshift' ? effect_active 1 'flanger' : effect_active 1 'reverb'
 

Both work, thank you gentlemen.
 



(陈旧帖子或论坛版块会自动关闭)