Entra:     


Forum: General Discussion

Topic: Need VDJ-Script Help

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

Hallo Everybody

I want to control the Tempo with a weel.
But wich of the 14 Decks has the mastertempo?
The Weel needs to know, wich deck this is.
Because I don´t want to change all Decks-Tempos (the script string would be too long)

I don´t know how to use the "GET ACTIVEDECK" Syntax

I want to make a shortcut, which selects the mastertempo deck and changes the tempo.

Please help, my next Gig is on Saturday!!!

Thank You
 

Inviato Thu 22 Sep 11 @ 2:54 am
There is a HUGE difference between MASTER DECK and "Master Tempo"

I assume that you want to control the MASTER DECK you should use:

deck active pitch_slider


The active refers to masterdeck ;)
 

Need a little more background for what you are trying to achieve. You say you are using 14 decks. Are you wanting to have the decks synced and increase the bpm for all the decks with a knob?

is the knob an endless encoder, or absolute?

secondly any thing with "get" in it will only work for leds and lcd screens, you cant use it as a variable for mapping.

if you want the ability to choose the master deck the bpm will follow you could use

deck 1 masterdeck
deck 9 masterdeck etc...

for an endless knob you could use this, it will hopefully set the master deck as the default deck (one in pfl), change the pitch, sync all the other decks to it. you can change the value of the bold bit for different sensitivity. untested

param_smaller 50% ? deck default pitch -0.01 & sync & deck 1 select ? deck 1 masterdeck : deck 2 select ? deck 3 masterdeck : deck 4 select ? deck 4 masterdeck : deck 5 select ? deck 5 masterdeck : deck 6 select ? deck 6 masterdeck : deck 7 select ? deck 7 masterdeck : deck 8 select ? deck 8 masterdeck : deck 9 select ? deck 9 masterdeck : deck 10 select ? deck 10 masterdeck : deck 11 select ? deck 11 masterdeck : deck 12 select ? deck 12 masterdeck : deck 13 select ? deck 13 masterdeck : deck 14 select ? deck 14 masterdeck : nothing : deck default pitch +0.01 & sync & deck 1 select ? deck 1 masterdeck : deck 2 select ? deck 3 masterdeck : deck 4 select ? deck 4 masterdeck : deck 5 select ? deck 5 masterdeck : deck 6 select ? deck 6 masterdeck : deck 7 select ? deck 7 masterdeck : deck 8 select ? deck 8 masterdeck : deck 9 select ? deck 9 masterdeck : deck 10 select ? deck 10 masterdeck : deck 11 select ? deck 11 masterdeck : deck 12 select ? deck 12 masterdeck : deck 13 select ? deck 13 masterdeck : deck 14 select ? deck 14 masterdeck
 

Ok....

A little background info:

When you enable beatlock, pitchlock, sync decks e.t.c. every action goes against the "Masterdeck"
If you want to control 10 decks tempo at once with one slider or wheel or anyhting they all have to be synced (same initial tempo) and pitchlocked with master deck. Once you "lock" all players to one master deck then you have to control the pitch/tempo only of this deck and the other decks will follow.
For your slider or wheel you will have to use the "deck active do_anything" script.

More info:
You can use the deck X masterdeck ? script to see if a particular deck is the masterdeck if you need to know it
You can use the get activedeck script to print a text on your skin with the current masterdeck number
You can use the deck active do_something to control the masterdeck no matter which deck has the focus (PFL)

There is a huge difference between sliders and endless encoders (wheels) when it comes on their way to script them...
A slider will get mapped very simply as "pitch_slider" to control the pitch.
An endless encoder most likely will have to be mapped as "param_greater 0 ? pitch +0.01 : pitch -0.01" and it will change the pitch in steps
 

Hallo PhantomDeejay: "active deck... doesn´t control the masterdeck but the active deck"

My Problem:

Decks 1 - 6 are full with Songs. This is my Songset.
Decks 7 - 13 are full with loops.

First I start a song (maybe on Deck 5).
This is now the Masterdeck and all Loops (decks 7-13) are synced.
But it could be deck 3 or deck 1 ...

When I start a Loop (maybe on Deck 8) this is the ACTIVE DECK

The slider (or Key...) shall control the MASTERDECK Tempo.
But which is the MASTERDECK ? It depends from the Song I choosed (Deck 1-6)
So my Controller needs an Information Which is the actuall MASTERDECK

Thats All

I´m very thankfull for Your Time
 

It doesn't work exactly this way... However you can always assign masterdeck to a deck manually. In other words you can always use the following command: deck 1 masterdeck & pitch_slider

Otherwise you will have to go to recurse all 18 decks:

deck 1 masterdeck ? deck 1 pitch_slider : deck 2 masterdeck ? deck 2 pitch_slider : deck 3 masterdeck ? deck 3 pitch_slider : deck 4 masterdeck ? deck 4 pitch_slider : deck 5 masterdeck ? deck 5 pitch_slider : deck 6 masterdeck ? deck 6 pitch_slider : deck 7 masterdeck ? deck 7 pitch_slider : deck 8 masterdeck ? deck 8 pitch_slider : deck 9 masterdeck ? deck 9 pitch_slider : deck 10 masterdeck ? deck 10 pitch_slider : ...

PS:
Try to use the default 4 deck skin to see that when you assign MASTER (the letters above a play buttons) on a deck all the "active" commands affect this deck despite the focus... That's important because if the skin you're using includes "automatic" masterdeck assignment to the decks this would be a potential issue for what you want to achieve...
 

Thank You for the detailed answers.
I had to do some gigs and made them with my old 2 Deck Setting.
I need more time to practise with the 6 Deck thing, it´s a bit confusing now but I hope to make it soon.
I will write my experiences here.

Till then and thanks again
Svenino
 



(Vecchi argomenti e forum sono automaticamente chiusi)