快速登录:  

Forum: VirtualDJ Plugins

话题: Script help

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

freppaPRO InfinityMember since 2002
I got the DDJ SX2 that doesnt have any jump buttons like forward or backwards..the only thing to "small jumps" in the songs is too turn the "fx mode" button either way.

I want this button to jump 4 beats forward and backwards (in sync), I have tried to change the original script but it doesnt work ?

The original one:
var_equal '$fx1' 1 ? param_greater 0 ? deck 1 goto +1 : deck 1 goto -1 : var_equal '$fx1' 2 ? param_greater 0 ? deck 2 goto +1 : deck 2 goto -1 : var_equal '$fx1' 3 ? param_greater 0 ? deck 3 goto +1 : deck 3 goto -1 : var_equal '$fx1' 4 ? param_greater 0 ? deck 4 goto +1 : deck 4 goto -1 : param_greater 0 ? deck left goto +1 : deck left goto -1
 

发表时间 Thu 11 Feb 16 @ 3:38 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Just replace -1/+1 with -4/+4
 

发表时间 Thu 11 Feb 16 @ 4:19 pm
freppaPRO InfinityMember since 2002
Thats what I tried :-(
 

发表时间 Thu 11 Feb 16 @ 4:31 pm
"FX1_ENC_BEATS" for "goto +1/-1" and "SHIFT_FX1_ENC_BEATS" for goto +4/-4" by default
 

发表时间 Thu 11 Feb 16 @ 5:06 pm
freppa wrote :
Thats what I tried :-(


Most likely you erased a space by mistake and that made the entire action do not function properly.
Try to copy/paste this:

var_equal '$fx1' 1 ? param_greater 0 ? deck 1 goto +4 : deck 1 goto -4 : var_equal '$fx1' 2 ? param_greater 0 ? deck 2 goto +4 : deck 2 goto -4 : var_equal '$fx1' 3 ? param_greater 0 ? deck 3 goto +4 : deck 3 goto -4 : var_equal '$fx1' 4 ? param_greater 0 ? deck 4 goto +4 : deck 4 goto -4 : param_greater 0 ? deck left goto +4 : deck left goto -4

Mind you that this code works only on LEFT side of the controller. For the right side you need to change the FX2_ENC_BEATS with this code:

var_equal '$fx2' 1 ? param_greater 0 ? deck 1 goto +4 : deck 1 goto -4 : var_equal '$fx2' 2 ? param_greater 0 ? deck 2 goto +4 : deck 2 goto -4 : var_equal '$fx2' 3 ? param_greater 0 ? deck 3 goto +4 : deck 3 goto -4 : var_equal '$fx2' 4 ? param_greater 0 ? deck 4 goto +4 : deck 4 goto -4 : param_greater 0 ? deck right goto +4 : deck right goto -4
 

发表时间 Fri 12 Feb 16 @ 8:50 am
freppaPRO InfinityMember since 2002
Thanks Ph

Will try when I get the time :-)
 

发表时间 Fri 12 Feb 16 @ 6:17 pm
freppaPRO InfinityMember since 2002
Worked Perfect...

Thank you again
 

发表时间 Sat 13 Feb 16 @ 4:28 pm
freppaPRO InfinityMember since 2002
I must bring this topic to attention again, the new version 8.2 is blocked to copy/paste this script on this button.

Im using the Pioneer DDJ-SX2.

Is this because its not a final release ?

Please, I would like to have some kind of answer from a team member asap.

/ Fredrik

 

发表时间 Sat 18 Jun 16 @ 4:28 pm
Blocked ?

No, nothing is blocked... You can edit any button/encider/slider as always.
However: Version 8.2 brings some changes to default mapper and definition of some devices in order to support some new functions.
Therefore you may have to redo your own modifications to the new factory default mapper once 8.2 goes out to public release.
 

发表时间 Tue 21 Jun 16 @ 9:30 pm
freppaPRO InfinityMember since 2002
Have tried to modify the factory mapping with version 8.2 b3272.
And this copy/paste is not working.
 

发表时间 Wed 22 Jun 16 @ 2:57 pm
SBDJPRO Infinity Member since 2006
Copy/paste working fine here, could you be more specific?
 

发表时间 Wed 22 Jun 16 @ 4:22 pm
freppaPRO InfinityMember since 2002
When Im in the settings for the controler ddjsx2 I cant copy the script from phantom and paste it into the window.
This worked fine before, now I can not copy anything and put it into that window.
 

发表时间 Thu 23 Jun 16 @ 6:16 pm
SBDJPRO Infinity Member since 2006
It's working OK here, I can use the right click context menu or Ctrl+C/Ctrl+X/Ctrl+V.

 

发表时间 Thu 23 Jun 16 @ 9:13 pm
freppaPRO InfinityMember since 2002
Right click wont work.

But using ctrl/v works..thank you !
 

发表时间 Fri 24 Jun 16 @ 5:35 am


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