Sign In:     


Forum: General Discussion

Topic: Script help needed please

This topic is old and might contain outdated or incorrect information.

hey there, i´m sitting here in front of my bcd3000 and i am starting to get frustated. This whole VDJScript thing is a little bit to much for me. Right now my LED´s are´nt working and my effect knobs dont work also. But a new definition file and mapper is in the making by Atomix. So theres no need to worry for me. But beeing bored i thought i would try out the new mapping and it came along quite well, untill i started to dig deeper. Thats where i got lost, so i would ask anybody who know a bit more than me for help.

I found out that a few buttons on the bcd are on the bcd twice but vdj makes no difference between them, like for example extern in a and extern in b.VDJ calls both SOURCE. I managed to divede them, so i have 2 buttons that can trigger actions, and vdj recognizes them.

I set the first one as a $shift, and now that im done giving 2nd actions to almost every key i wanted to try jog browsing.

So, thats the code i ended up with for the SOURCE key


action_deck 1 ? deck 1 toggle $shift while_pressed : deck 1 browser_scroll -1 while_pressed & deck 1 wheel_mode "browser" while_pressed & deck 2 wheel_mode "browser" while_pressed


this way, SOURCE 1 is toggle shift and SOURCE 2 makes my jog wheel browse through the songs. I added browser_focus to another key+shift to jump between songs and browser.

My problem now is that somehow SOURCE 2 isnt "while_pressed" but stays pressed. i have to press it again in order to make my jogs act like normal again.

deck 1 browser_scroll -1 while_pressed & deck 1 wheel_mode "browser" while_pressed & deck 2 wheel_mode "browser" while_pressed

I am afraid that i somehow made a mistake, but every little change in the code makes it useless, so i am not sure if there is something wrong.

I tried to assign the browser code as a shift action for the jogwheel, but that didnt work so good, it was like jumping every 3 songs even when scrolled slowly, and the way it is now is working perfect, except the fact that the jog wheel browsing is no shift action like the others.

So please, if i could please get some help on this, maybe somebody has a code that does the same and is more efficiant.

Or even more important, but maybe that is asked to much...

If it is possible to assign my jogbrowsing as a shift action i would have the second half of the SOURCE key free, so i could have a second shift key, that makes another scene to use, like 30 buttons+ :D damn that would be so rad. shift 1 + shift 2 could be Scene 3, could´nt it? or is my theory wrong?

Question: what would the code be to A: assign jog wheel browsing as a shift action (with my previous used code) and B: assign a second shift function the the second SOURCE button. But is has to be the split-key-code thats divided by a [:] because VDJ makes no difference between them natively.

Of course my problems (LED`s,FX´s) could be adressed or will be done in the next update as stated previous, but i´m kind of the impatient type :D

Thanks to y´all in advance,peace

ps. sorry if my post is confusing, its 3 in the morning....this whole script thingy is robbing my sleep :D lol
 

Posted Wed 10 Jun 09 @ 7:56 pm
bump :)
 

greatmesk wrote :
hey there, i´m sitting here in front of my bcd3000 and i am starting to get frustated. This whole VDJScript thing is a little bit to much for me. Right now my LED´s are´nt working and my effect knobs dont work also. But a new definition file and mapper is in the making by Atomix. So theres no need to worry for me. But beeing bored i thought i would try out the new mapping and it came along quite well, untill i started to dig deeper. Thats where i got lost, so i would ask anybody who know a bit more than me for help.

I found out that a few buttons on the bcd are on the bcd twice but vdj makes no difference between them, like for example extern in a and extern in b.VDJ calls both SOURCE. I managed to divede them, so i have 2 buttons that can trigger actions, and vdj recognizes them.

I set the first one as a $shift, and now that im done giving 2nd actions to almost every key i wanted to try jog browsing.

So, thats the code i ended up with for the SOURCE key


action_deck 1 ? deck 1 toggle $shift while_pressed : deck 1 browser_scroll -1 while_pressed & deck 1 wheel_mode "browser" while_pressed & deck 2 wheel_mode "browser" while_pressed


this way, SOURCE 1 is toggle shift and SOURCE 2 makes my jog wheel browse through the songs. I added browser_focus to another key+shift to jump between songs and browser.

My problem now is that somehow SOURCE 2 isnt "while_pressed" but stays pressed. i have to press it again in order to make my jogs act like normal again.

deck 1 browser_scroll -1 while_pressed & deck 1 wheel_mode "browser" while_pressed & deck 2 wheel_mode "browser" while_pressed

I am afraid that i somehow made a mistake, but every little change in the code makes it useless, so i am not sure if there is something wrong.

I tried to assign the browser code as a shift action for the jogwheel, but that didnt work so good, it was like jumping every 3 songs even when scrolled slowly, and the way it is now is working perfect, except the fact that the jog wheel browsing is no shift action like the others.

So please, if i could please get some help on this, maybe somebody has a code that does the same and is more efficiant.

Or even more important, but maybe that is asked to much...

If it is possible to assign my jogbrowsing as a shift action i would have the second half of the SOURCE key free, so i could have a second shift key, that makes another scene to use, like 30 buttons+ :D damn that would be so rad. shift 1 + shift 2 could be Scene 3, could´nt it? or is my theory wrong?

Question: what would the code be to A: assign jog wheel browsing as a shift action (with my previous used code) and B: assign a second shift function the the second SOURCE button. But is has to be the split-key-code thats divided by a [:] because VDJ makes no difference between them natively.

Of course my problems (LED`s,FX´s) could be adressed or will be done in the next update as stated previous, but i´m kind of the impatient type :D

Thanks to y´all in advance,peace

ps. sorry if my post is confusing, its 3 in the morning....this whole script thingy is robbing my sleep :D lol


OK.. i'm not going to help any (because you are already 10 times more advanced then me..) but i want to see if I understand what your doing for my practice. (sorry)

Quote :
action_deck 1 ? deck 1 toggle $shift while_pressed : deck 1 browser_scroll -1 while_pressed & deck 1 wheel_mode "browser" while_pressed & deck 2 wheel_mode "browser" while_pressed


I would interpret that as:

IF "action_deck1" = 0 THEN "deck1" "toggle $shift" "while_pressed"
IF "action_deck1"= 1 THEN "deck1 browser_scroll -1 while_pressed"
IF "action_deck1"= 1 THEN "deck1 wheel_mode "browser" while_pressed"
IF "action_deck1"= 1 THEN "deck2 wheel_mode "browser" while_pressed"

first question.. when you "toggle $shift" do you need "deck1" present/involved?

 

hey there :)

The main point is: 2 physical keys are recognized by vdj as the same key twice. The buttons "extern in a" and "extern in b" are both SOURCE key in VDJ. So i had to divide it into 2 actions, depending which "half" of the key is pressed.

1 key divided in 2 : action_deck 1 ? deck 1 action : deck 1 action

(i am not so sure if the deck 1 belongs in there, but this way it works for me. maybe i am thinking to much and make it over complicated?)

first key is set as toggle $shift to give other buttons second actions. Second key does the other action. In my case jog wheel browser scrolling.

deck 1 browser_scroll (-1) while_pressed & deck 1 wheel_mode "browser" while_pressed & deck 2 wheel_mode "browser" while_pressed

the -1 is wrong i think as now i can only use the right jog for browsing i believe. need to check this again.

I have load as §shift on PLAY. My work process right now is that i press SOURCE2 to make my jogwheel browse, but it is a switch, not "while_pressed". I press SOURCE2 again to make my jog act normal again. Then i press SOURCE1 ($shift) + play and load the wanted track.

I am lost in putting the codes together more effectfully, like that i only press $shift to make all the other bottons shift and my make my jogwheel browse.

What would be the code be to make jogwheel browsing a $shift action rather than beeing coupled to SOURCE2. I want to set SOURCE2 as a second §shift if this is possible. This way i could make 4 scenes with 2 bottons. 1,2,1+2,normal.

i allready tried adding SOURCE2 action as a $shift for the jogs, but this didnt work out right so i think i made a mistake somehow.

btw, i had no clue about mapping and the actions, but the wiki here is a bomb of a help to a certain type of degree.i am a trained web-designer, so i am used to codes and stuff. But right now i cant help myself anymore and i wont start from scratch.

Oh, and i think your interpretation was right.

IF "action_deck1" = 0 THEN "deck1" "toggle $shift" "while_pressed"
IF "action_deck1"= 1 THEN "deck1 browser_scroll -1 while_pressed"
IF "action_deck1"= 1 THEN "deck1 wheel_mode "browser" while_pressed"
IF "action_deck1"= 1 THEN "deck2 wheel_mode "browser" while_pressed"

action_deck 1 ? deck 1 action : deck 1 action

if action_deck 1 = toggle §shift (Key1 if not Key2->) jogwheel browsing. left jog is not fully functional when browsing, there must be some code mistake.

deck 1 browser_scroll (-1) while_pressed & deck 1 wheel_mode "browser" while_pressed & deck 2 wheel_mode "browser" while_pressed

i think it should be

" deck 1 browser_scroll while_pressed & deck 1 wheel_mode "browser" while pressed & deck 2 wheel_mode "browser" while_pressed"

without the -1 cause that limits the directions, but i think this didnt work correctly if i remember right.

EDIT: i tried to assign jogwheel browsing as $shift to the jogs with

var $shift ? deck 1 browser_scroll -1 while_pressed & deck 1 wheel_mode browser while pressed & deck 2 wheel_mode browser while_pressed : jog_wheel

but this didnt work. same code thats used for SOURCE2, or lets say 2nd action on SOURCE
 

back again.next problem appeared

i want to make seek +4 shift as " load next song in browser" or playlist or sidelist. I only found sidelist_add & sidelist_load_and_remove thinking this would work but it doesnt.

var $shift ? browser_scroll +1 & sidelist_add & sidelist_load_and_remove : seek +4

what did i do wrong?
 

nobody can help? how sad...
 

It always a bit quiet here over weekend. Give it a day or two for the experts to finish their weekend gigging. Pretty safe to say ur more advanced than most of us on here at playing with the scripts so theres probably only a handful of people in the world that can help ;)
 

last bump before i give up! help!
 

The answer!

JOG: (action) jog_wheel
UP: (action) browser_scroll -1 & deck 2 wheel_mode "browser" while_pressed

While you press the UP-Button you can scroll in the list with the right jogwheel.
 

hallo chris. thx for your answer, but sadly this isnt exactly what is where looking for. I have allready seen that rmx users do it this way ;)

But for me and my BCD3000 its a whole different issue. please re-read my previous posts. There is no up button.

There are the extern in´s. a + b. VDJ see´s both as the same, so i had to divide. 1 is $shift, 2 is jogwheel browsing allready, thats not the issue.

SOURCE = action_deck 1 ? deck 1 toggle $shift while_pressed : deck 1 browser_scroll -1 while_pressed & deck 1 wheel_mode "browser" while_pressed & deck 2 wheel_mode "browser" while_pressed

Issues here are 1) that only uses jog2 to browse. your code only makes jog 2 browse too i believe. and 2) i want jog browsing as a $shift, not tied to a button. Except the §shift. Anybody understand this?thx

I will make sure to try out your code, maybe i will be able to somehow adapt it to my theory. i think with only one "while_pressed" it should work.

once again to everyone willing to help, but to be honest i am really disappointed in the customer service here as only users seem to be able to help but noone who actually really understands the new mapping.
 

god damn it, i am disappointed big time. f* this shit, if no-one will help i stick with what i got. no wonder VDJ has such a bad reputation >:(

thx again to the users that tried to help, but what is it that no-one can offer qualified help? Are there only 2 guys from atomix in the forums and the others are programing or what? dont get me wrong, but i am pissed off.

woooosaaa....
 

you can set variable with:

set "my variable name" while pressed

then use conditionals to account for it like:

var "my variable name" ? command1 : command2

which translates: if my variable is present do command 1 if not do command 2

and it looks like you know how to make it global
another way to get ideas is to open more mappers files

"action deck1" implies that the button that calls for action is on the same deck with the action - look at the xponent mapper boost button and you will understand (boost in xponent does transform so you do have two boost buttons, one on each side of the fader, if you pressed the one on the right checks if the fader is on the left and does transform if the fader is on the right does nothing, and vice versa)
 

????

read my post and you´ll see i know about var§shift, i just dont get it to work correctly. but as it seems atomix wont offer help. fuck this shit! Last time i´ll ask, read my post´s and help me!
 

????

read my post and you´ll see i know about var§shift, i just dont get it to work correctly. but as it seems atomix wont offer help.

Serato.
 

The BCD2000 and BCD3000 issue were resolved by new definitions and mappers posted for LICENSED USERS in our download area.


*** Btw, vulgarity, threats and specially crack versions - gets no one anywhere ...
 



(Old topics and forums are automatically closed)