Accesso rapido:  

Forum: Old versions

Topic: VDJ Script questions

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

The wiki isn't very detailed at all. I'm trying to figure a couple things out.

For one, I want to be able to set the volume of a sampler to the volume of the active deck. I can't seem to figure out the proper way to nest things. The get_text command seems to allow `deck 2 get volume` inside the text to return data from another command, but it doesn't seem to work for anything else: sampler 8 volume `deck 2 get volume` (tried with and without single/double quotes).

Addtionally, how can I perform complex multi-command things while_pressed? For instance, sampler 8 play & deck 2 volume 0% while_pressed

I want both things to reset (stop playing and reset volume to whatever it was) on release.
 

Inviato Wed 25 May 11 @ 12:23 pm
You were really close... It should be

sampler 8 play while_pressed & deck 2 volume 0% while_pressed

Every time you use '&' you have to write a whole script again for the action you want.

Unfortunately you can't use "get" to make a query so that won't work, you should also note that the sampler plays at its own volume and for some reason this cant be set at 0db like the decks, so you have to do it manually.
 

Inviato Wed 25 May 11 @ 12:32 pm
When I use that method, only one of them resets (the first one) so the sampler stops playing on release, but the deck doesn't unmute.

I'm fine with the sampler not muting, I just want to make a sort of variable overdub effect using the sampler. My first button starts recording, and the second button stops recording on press and starts looping it as long as I hold it, muting the deck during playback, and then unmuting and stop sampler playback on release. I want the sampler volume to match deck volume so the volume doesn't suddenly shoot up when I'm at 80% on the deck and 100% on the sampler.
 

Inviato Wed 25 May 11 @ 2:19 pm
Actually, I was remembering wrong. When I use this command:

sampler 8 stop_rec & deck 2 volume 0% while_pressed & sampler 8 play while_pressed

The both happen when I press down, but then nothing happens on release. When I tap it again, it stops playing the sampler but doesn't change the volume back. Removing the first section "sampler 8 stop_rec &" doesn't change this result
 

Inviato Wed 25 May 11 @ 6:56 pm
sampler 8 stop_rec & deck 2 volume 0% while_pressed & sampler 8 play while_pressed

this works fine on my computer... Are you using a midi controller? "while_pressed" doesn't work on the keyboard because keys repeat themselves when held down like thissssssssssssssssssssssssss lol
 

Inviato Thu 26 May 11 @ 3:18 am
Tried using 3 different midi controllers :(
 

Inviato Thu 26 May 11 @ 7:11 am
Bump. started a new thread
 

Inviato Fri 27 May 11 @ 12:19 pm
Are self-bumps allowed (as I ironically self-bump :P)? Any other ideas on this?
 

Inviato Tue 31 May 11 @ 11:07 pm
Nup not allowed!... LOL

If you are using your limited Edition they only work with the specific controller that you have bought, so you will need to update to pro to be able to map controllers, If your not using LE you should buy pro but... What controllers did you use? They may not be supported by VDJ. In that case you should be able to use simple midi to map them, otherwise you will need to create a definition file. http://www.virtualdj.com/wiki/Controller_Definition.html
 

Inviato Wed 01 Jun 11 @ 3:06 am
I'm just remapping a regular button on my RMX
 

Inviato Thu 02 Jun 11 @ 11:07 pm
The button is already mapped in the definitions, all I'm doing is changing the VDJ script commands that happen for that MIDI button
 

Inviato Mon 13 Jun 11 @ 7:20 am


(Vecchi argomenti e forum sono automaticamente chiusi)