Ingreso rápido:  

Forum: Old versions

Tema: A total 'NEWBIE' scripting question

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

Hi All... I really want to learn this stuff, so here is what I want to accomplish...

I am using VirtualDJ Broadcaster edition, and I use it mostly for recording my own compilation CD's for friends and family and myself.

I usually use simple drop mixes like they do in radio... (the current track begins to fade out and I start the next track a full volume)
so obviously I have no need for the crossfader. Because I don't use it however, I am unable to use the 'Auto-split into tracks' function in the recording configuration because it uses the crossfader to detect where to split the tracks.

So I would like to find, or learn to write, a script that will automatically split the tracks when the play button of idle deck is clicked so that the track is split exactly where the next track begins to play.

Currently I have mapped the record_cut function the the X key on my keyboard, but this means I must press X, then the play button immediately after, resulting is a slit track with a small portion of the previous track at the beginning.

I hope You guys can understand what I'm trying to do here, and any help, ideas, or suggestions would be greatly appreciated.

Thanks Everyone.
 

Mensajes Mon 12 Sep 11 @ 11:49 pm
how about for the play buttons

deck 1 play
deck 1 play & deck 1 cross_assign 'thru' & deck 1 crossfader 0%

deck 2 play
deck 2 play & deck 2 cross_assign 'thru' & deck 2 crossfader 100%
 

Mensajes Mon 12 Sep 11 @ 11:59 pm
actually I made a mistake...

deck 1 play
deck 1 play & deck 1 cross_assign 'thru' & crossfader 0%

deck 2 play
deck 2 play & deck 2 cross_assign 'thru' & crossfader 100%
 

Mensajes Tue 13 Sep 11 @ 9:31 pm
OK... I will try that... but can you help me a little more? I'm really new to Vdj... Where and how do I install the script? Do I include the items you show in Bold type?

Thanks so much for you help...
 

Mensajes Wed 14 Sep 11 @ 9:16 pm
you need pro to be able to map anything, so you will need to upgrade from broadcaster...

It depends on how you use the play button, if it is on a controller or your keyboard you can put it in the mapper in the action box, or you could put it in the skin xml as well in the part that says 'action "paste it in the brackets"'
 

Mensajes Thu 15 Sep 11 @ 12:04 am
Thank you... You have been a great help... I suppose I will have to upgrade... I'll post again if I run into any troubles.
 

Mensajes Thu 15 Sep 11 @ 12:12 am
 

Mensajes Thu 15 Sep 11 @ 4:22 am
I went through the wiki articles and tried to figure out the way scripting works, but I just can't seem to get my head around it.

I thought that may just mapping two buttons with a couple of commands would do the trick so here is what I have...

The "1" key on my keyboard will control deck one and here is the script I have in the mapping

deck 1 record_cut & play

The "2" key on my keyboard will control deck two and here is the script I have in the mapping

deck 2 record_cut & play


The mapping does not report any syntax error, but when I press either 1 or 2 on the keyboard, it only performs the record_cut command. It does not start the deck after splitting to the new track.

What am I doing wrong?
 

Mensajes Fri 16 Sep 11 @ 4:56 am
You will need to add deck (N) in front of each verb, otherwise it will be applied to the current selected deck.

I.e:

deck 1 record_cut & deck 1 play

deck 2 record_cut & deck 2 play

 

Mensajes Fri 16 Sep 11 @ 5:31 am
That did the trick!! Thanks so much for educating me...

You really helped me.
 

Mensajes Fri 16 Sep 11 @ 5:49 am


(Los tópicos y foros antiguos son automáticamente cerrados)