Quick Sign In:  

Forum: Old versions

Topic: Alter order of effects

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

I've had a dig around but can't seem to find an aswser to this, hopefully someone can help. With all the great examples on here I've got my controller mapped up perfectly and am at the point where I can do everything without touching the mouse. Yey. For my effects i use 3 butons on the controller basically one turns the fx on and off and the others move + or - 1 effect to scroll thru them.

One thing I have wanted to do it change the order of the effects. I went into the virtal dj folders and renamed the effects so that they start 1 to 9 for my mainly used fx and then the rest are just in the order they already where. In the drop down menu they now appear with the files starting 1 to 9 in the first 9 places, however when I scroll with my controller buttons they are not in order. What have I missed? Can it be changed?

 

geposted Wed 20 Apr 11 @ 9:16 am
djdadPRO InfinityDevelopment ManagerMember since 2005
I am afraid you cant. It depends on the internal effect name each author decided to name them.

An alternative way (which i havent tried yet) would be to place each one of them to separate sub folders. Each subfolder should contain 1 effect. Then the effect + 1 would work as you wish. But again this is something you have to try and test.
 

geposted Wed 20 Apr 11 @ 9:39 am
Tried it earlier with just the laptop plugged in and got all excited when the drop down for effects then had the folders listed.

Plugged the controller in and everything is fine until I use the button to turn the effect on or the + or - button and the cpu shoots up to 100% and everything locks up. :-/

The code I have on the buttons is:

var "shift" 0 ? effect select +1 : holding ? delete_cue 1 : hot_cue 1
var "shift" 0 ? effect active : holding ? delete_cue 2 : hot_cue 2
var "shift" 0 ? effect select -1 : holding ? delete_cue 3 : hot_cue 3



For the moment I have moved the lesser used fx out of the folder so less scrolling to get thru the ones I use. Shame as the others do get used on occasion. I like to throw quick mixes in to keep things snappy and dont want the mouse involved, shame there is no second bank for lesser used fx.
 

geposted Wed 20 Apr 11 @ 4:44 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Further on that, it would be nice to have an action like this..
effect select (effectname1, effectname2, ..etc) +1 or -1
to be able to create several lists with our favorite effects each time and be able to choose from.

You can ask for such a feature to the Wishes Forum
 

geposted Wed 20 Apr 11 @ 10:38 pm
try this for now, its button to cycle effects, and a button to activate the effect, you must cycle in a predetermined order not dependent on the effect name and you cannot scroll backwards, I have also made it so when the cycle button is pressed it will disengage the previous effect, so you can only use one effect at a time, you can of course bypass this by only making the button "cycle 'effects' 5" and leave out the rest of the code for the cycle button, but it seems cleaner for your mix this way.

Your job is to change 'effect_name_1' etc.. to the actual effect name. Finally this can have as many effects as you like in the sequence you just need to cycle more than 5 and add the rest of the code. This is untested so i am unsure if you will have any visual feedback as to what effect is selected until you engage it, so that may be annoying, but you could probably program a button the skin to display what part of the cycle you are in, unfortunately i know nothing about that. If you have any problems just write back, I'll try to figure it out.


effect cycle button & previous effect off

cycle 'effects' 5 & var_equal 'effects' 1 ? deck default effect 'effect_name_5' active off : var_equal 'effects' 2 ? deck default effect 'effect_name_1' active off : var_equal 'effects' 3 ? deck default effect 'effect_name_2' active off : var_equal 'effects' 4 ? deck default effect 'effect_name_3' active off : var_equal 'effects' 5 ? deck default effect 'effect_name_4' active off


effect active on/off

var_equal 'effects' 1 ? deck default effect 'effect_name_1' active : var_equal 'effects' 2 ? deck default effect 'effect_name_2' active : var_equal 'effects' 3 ? deck default effect 'effect_name_3' active : var_equal 'effects' 4 ? deck default effect 'effect_name_4' active : var_equal 'effects' 5 ? deck default effect 'effect_name_5' active



 

geposted Thu 21 Apr 11 @ 3:34 am
Just had an idea about this code...

@djdad using the above example is it possible to code something like?

"cycle 'effects' +1"
"cycle 'effects' -1"

or maybe for an endless encoder

var_greater 50% ? cycle 'effects' +1 : cycle 'effects' -1

Also this change to the code should show you what effect you have currently selected on screen! A teamer posted in another forum that you can use "sampler # select", so why not use "effect 'effect_name' select". It would be used on the effect cycle button

cycle 'effects' 5 & var_equal 'effects' 1 ? effect 'effect_name_1' select & deck default effect 'effect_name_5' active off : var_equal 'effects' 2 ? effect 'effect_name_2' select & deck default effect 'effect_name_1' active off : var_equal 'effects' 3 ? effect 'effect_name_3' select & deck default effect 'effect_name_2' active off : var_equal 'effects' 4 ? effect 'effect_name_4' select & deck default effect 'effect_name_3' active off : var_equal 'effects' 5 ? effect 'effect_name_5' select & deck default effect 'effect_name_4' active off

sorry I'm not at home so I can't test it out

synthet1c
 

geposted Thu 21 Apr 11 @ 12:26 pm
I'm on a roll... you actually should be able to cycle backwards using another button, this also shuts off the previous effect and displays the currently selected effect before you switch it on. It should work both backward and forward.

cycle backwards button

var_equal 'effects' 1 ? var_equal 'effects' 5 & effect 'effect_name_5' select & effect 'effect_name_1' active off : var_equal 'effects' 5 ? var_equal 'effects' 4 & effect 'effect_name_4' select & effect 'effect_name_5' active off : var_equal 'effects' 4 ? var_equal 'effects' 3 & effect 'effect_name_3' select & effect 'effect_name_4' active off : var_equal 'effects' 3 ? var_equal 'effects' 2 & effect 'effect_name_2' select & effect 'effect_name_3' active off : var_equal 'effects' 2 ? var_equal 'effects' 1 & effect 'effect_name_1' select & effect 'effect_name_2' active off : set 'effects' 1

cycle forwards button

cycle 'effects' 5 & var_equal 'effects' 1 ? effect 'effect_name_1' select & deck default effect 'effect_name_5' active off : var_equal 'effects' 2 ? effect 'effect_name_2' select & deck default effect 'effect_name_1' active off : var_equal 'effects' 3 ? effect 'effect_name_3' select & deck default effect 'effect_name_2' active off : var_equal 'effects' 4 ? effect 'effect_name_4' select & deck default effect 'effect_name_3' active off : var_equal 'effects' 5 ? effect 'effect_name_5' select & deck default effect 'effect_name_4' active off : nothing

still use this for the effect on/off button

var_equal 'effects' 1 ? deck default effect 'effect_name_1' active : var_equal 'effects' 2 ? deck default effect 'effect_name_2' active : var_equal 'effects' 3 ? deck default effect 'effect_name_3' active : var_equal 'effects' 4 ? deck default effect 'effect_name_4' active : var_equal 'effects' 5 ? deck default effect 'effect_name_5' active

if you want to get really tricky you could maybe use this for an endless encoder like this

param_greater 50% ? cycle 'effects' 5 & var_equal 'effects' 1 ? effect 'effect_name_1' select & deck default effect 'effect_name_5' active off : var_equal 'effects' 2 ? effect 'effect_name_2' select & deck default effect 'effect_name_1' active off : var_equal 'effects' 3 ? effect 'effect_name_3' select & deck default effect 'effect_name_2' active off : var_equal 'effects' 4 ? effect 'effect_name_4' select & deck default effect 'effect_name_3' active off : var_equal 'effects' 5 ? effect 'effect_name_5' select & deck default effect 'effect_name_4' active off : var_equal 'effects' 1 ? var_equal 'effects' 5 & effect 'effect_name_5' select & effect 'effect_name_1' active off : var_equal 'effects' 5 ? var_equal 'effects' 4 & effect 'effect_name_4' select & effect 'effect_name_5' active off : var_equal 'effects' 4 ? var_equal 'effects' 3 & effect 'effect_name_3' select & effect 'effect_name_4' active off : var_equal 'effects' 3 ? var_equal 'effects' 2 & effect 'effect_name_2' select & effect 'effect_name_3' active off : var_equal 'effects' 2 ? var_equal 'effects' 1 & effect 'effect_name_1' select & effect 'effect_name_2' active off

LOL It seems like it will work in my head its just, but i think you would need to cycle forward to initiate the 'cycle' before you could go backwards

param_greater 50% ? cycle forward button : cycle backward button

If you actually want to use it the easiest way to change the 'effect_name' would be to use "find and rename" in notepad
 

geposted Thu 21 Apr 11 @ 12:56 pm
I wish they kept these things editable for longer...

I made a mistake on the backwards button it should be

var_equal 'effects' 1 ? set 'effects' 5 & effect 'effect_name_5' select & effect 'effect_name_1' active off : var_equal 'effects' 5 ? set 'effects' 4 & effect 'effect_name_4' select & effect 'effect_name_5' active off : var_equal 'effects' 4 ? set 'effects' 3 & effect 'effect_name_3' select & effect 'effect_name_4' active off : var_equal 'effects' 3 ? set 'effects' 2 & effect 'effect_name_2' select & effect 'effect_name_3' active off : var_equal 'effects' 2 ? set 'effects' 1 & effect 'effect_name_1' select & effect 'effect_name_2' active off : set 'effects' 1

the endless encoder is then

param_greater 50% ? cycle 'effects' 5 & var_equal 'effects' 1 ? effect 'effect_name_1' select & deck default effect 'effect_name_5' active off : var_equal 'effects' 2 ? effect 'effect_name_2' select & deck default effect 'effect_name_1' active off : var_equal 'effects' 3 ? effect 'effect_name_3' select & deck default effect 'effect_name_2' active off : var_equal 'effects' 4 ? effect 'effect_name_4' select & deck default effect 'effect_name_3' active off : var_equal 'effects' 5 ? effect 'effect_name_5' select & deck default effect 'effect_name_4' active off : var_equal 'effects' 1 ? setl 'effects' 5 & effect 'effect_name_5' select & effect 'effect_name_1' active off : var_equal 'effects' 5 ? set 'effects' 4 & effect 'effect_name_4' select & effect 'effect_name_5' active off : var_equal 'effects' 4 ? set 'effects' 3 & effect 'effect_name_3' select & effect 'effect_name_4' active off : var_equal 'effects' 3 ? set 'effects' 2 & effect 'effect_name_2' select & effect 'effect_name_3' active off : var_equal 'effects' 2 ? set 'effects' 1 & effect 'effect_name_1' select & effect 'effect_name_2' active off
 

geposted Thu 21 Apr 11 @ 2:58 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
I understand that this cycle effect mode can work with the above codes, but it would be much easier for a medium user to write a simpler script or be able to choose his own effects, without using Notepad :)

You're becoming a Script expert !
 

geposted Thu 21 Apr 11 @ 8:43 pm
agreed, all it would need is cycle 'my_var' +/-1, to make it a bit easier, i could think of a few other good uses for it though :)

could you use "param_invert cycle 'my_var' #" to go backwards e.g.

param_greater 50% ? cycle 'my_var' # : param_invert & cycle 'my_var' #

ow shucks thanks djdad :D
 

geposted Thu 21 Apr 11 @ 8:55 pm
got my answer... you can cycle backwards

cycle : syntax: 'cycle "my_var" 42'. increment my_var, and goes back to 0 when it reaches 42. 'cycle "my_var" -42' decrements my_var, and goes to 41 after it reached 0.

also found an example of where vdj does something similar to what djdad was suggesting, being able to easily scroll through effects.

wheel_mode : change the mode of the jogwheel between: "jog", "search", "loop_move", "loop_out", "loop_in", "browser", or use +1 and -1 to cycle through all modes. You can select from a subset using a syntax like 'wheel_mode "loop_move,loop_in,loop_out" +1'.
 

geposted Fri 22 Apr 11 @ 6:58 pm
Wow, cheers for all that.

I'll take a proper look after the weekend, too much on at the moment to even try and get my head around all of the above on the amount of sleep I have had this weekend and need to be back up in 5 hours as I have 2 gigs tomorrow so its not the best time to play with the gig machines scripts. :-/

Scarily, it seems to kinda make sense to me, I must have been looking at this script for too long!

Once again, many thanks, if it works (by that I mean if I can get it to work) then I will be a very happy man.
 

geposted Sat 23 Apr 11 @ 9:45 pm
No worries,
I'll make it easier on you and map it to the script you put up with your shift, this one also has space 9 effects like you asked. it is also set out a little easier for you to understand, but when you put it in you need to make each code continuous with the right spacing like the script in the earlier posts to make it work. Finally, copy this into notepad and use find and rename. You need to find 'effect_name_1' and rename 'filter' or whatever you would like it to be, repeat this for the rest of the effects, that is the only part you need to edit, then paste it in vdj and your done... Enjoy


cycle forwards button

var "shift" 0 ? cycle 'effects' 9 &
var_equal 'effects' 0 ? deck default effect 'effect_name_1' select & deck default effect 'effect_name_9' active off :
var_equal 'effects' 1 ? deck default effect 'effect_name_2' select & deck default effect 'effect_name_1' active off :
var_equal 'effects' 2 ? deck default effect 'effect_name_3' select & deck default effect 'effect_name_2' active off :
var_equal 'effects' 3 ? deck default effect 'effect_name_4' select & deck default effect 'effect_name_3' active off :
var_equal 'effects' 4 ? deck default effect 'effect_name_5' select & deck default effect 'effect_name_4' active off :
var_equal 'effects' 5 ? deck default effect 'effect_name_6' select & deck default effect 'effect_name_5' active off :
var_equal 'effects' 6 ? deck default effect 'effect_name_7' select & deck default effect 'effect_name_6' active off :
var_equal 'effects' 7 ? deck default effect 'effect_name_8' select & deck default effect 'effect_name_7' active off :
var_equal 'effects' 8 ? deck default effect 'effect_name_9' select & deck default effect 'effect_name_8' active off :
holding ? delete_cue 1 : hot_cue 1

effect active button
var "shift" 0 ?
var_equal 'effects' 0 ? deck default effect 'effect_name_1' active :
var_equal 'effects' 1 ? deck default effect 'effect_name_2' active :
var_equal 'effects' 2 ? deck default effect 'effect_name_3' active :
var_equal 'effects' 3 ? deck default effect 'effect_name_4' active :
var_equal 'effects' 4 ? deck default effect 'effect_name_5' active :
var_equal 'effects' 5 ? deck default effect 'effect_name_6' active :
var_equal 'effects' 6 ? deck default effect 'effect_name_7' active :
var_equal 'effects' 7 ? deck default effect 'effect_name_8' active :
var_equal 'effects' 8 ? deck default effect 'effect_name_9' active :
holding ? delete_cue 2 : hot_cue 2

cycle backwards button
var "shift" 0 ?
var_equal 'effects' 0 ? set 'effects' 8 & deck default effect 'effect_name_9' select & deck default effect 'effect_name_1' active off :
var_equal 'effects' 1 ? set 'effects' 0 & deck default effect 'effect_name_1' select & deck default effect 'effect_name_2' active off :
var_equal 'effects' 2 ? set 'effects' 1 & deck default effect 'effect_name_2' select & deck default effect 'effect_name_3' active off :
var_equal 'effects' 3 ? set 'effects' 2 & deck default effect 'effect_name_3' select & deck default effect 'effect_name_4' active off :
var_equal 'effects' 4 ? set 'effects' 3 & deck default effect 'effect_name_4' select & deck default effect 'effect_name_5' active off :
var_equal 'effects' 5 ? set 'effects' 4 & deck default effect 'effect_name_5' select & deck default effect 'effect_name_6' active off :
var_equal 'effects' 6 ? set 'effects' 5 & deck default effect 'effect_name_6' select & deck default effect 'effect_name_7' active off :
var_equal 'effects' 7 ? set 'effects' 6 & deck default effect 'effect_name_7' select & deck default effect 'effect_name_8' active off :
var_equal 'effects' 8 ? set 'effects' 7 & deck default effect 'effect_name_8' select & deck default effect 'effect_name_9' active off :
holding ? delete_cue 3 : hot_cue 3
 

geposted Sun 24 Apr 11 @ 12:21 am
Seeing it like that after a few hours sleep makes a hell of a lot more sense. I should have no problem with that at all.
Might even have a play with that while on some down time at todays gig. Once again many thanks for the help.

I have another question that popped up last night while mixing away, not sure if its been covered already but can't find anything. Is there a way to change the sensitivity on the eq knobs on a controller? Mine seem to cut the bass very quickly compared to say a Pioneer mixer which seems to have a shallower curve around the 12 o'clock position. I have the balance knob mapped to swap the bass from left side to right side but find it quite fiddly to try and just take a little bottom off a track thats maybe a bit bass heavy. Is that something for a separate thread?
 

geposted Sun 24 Apr 11 @ 4:59 am
I think that the curve is built in to the software, I saw a post of sbdj a couple of weeks ago, he says he uses a vst to control his eq's, it's probably possible to adjust the curve in something like that, Its one of the eq frequency threads, just search it, more than likely in the wishes and new features section.
 

geposted Sun 24 Apr 11 @ 5:22 am


(Alte Themen und Foren werden automatisch geschlossen)