Quick Sign In:  

Forum: Old versions

Topic: Script Quick Q

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

Hi All, I have this code:

select ? device_side 'left' ? deck 1 leftdeck ? off & deck 3 leftdeck & deck 3 on select : on & deck 1 leftdeck & deck 1 select : deck 2 rightdeck ? off & deck 4 rightdeck & deck 4 select : on & deck 2 rightdeck & deck 2 select : select

On the right deck it swaps between decks 2&4 but on decks 1 & 2 it goes deck 1 something imbetween then press a third time to get on deck 3, anyone got any ideas?
 

geposted Wed 18 Apr 12 @ 2:44 pm
you don't need the bold parts, and this should fix the led aswell

select ? device_side 'left' ? deck 1 leftdeck ? off & deck 3 leftdeck & deck 3 on select : on & deck 1 leftdeck & deck 1 select : deck 2 rightdeck ? off & deck 4 rightdeck & deck 4 select : on & deck 2 rightdeck & deck 2 select : select


device_side 'left' ? deck 1 leftdeck ? off & deck 3 leftdeck & deck 3 select : on & deck 1 leftdeck & deck 1 select : deck 2 rightdeck ? off & deck 4 rightdeck & deck 4 select : on & deck 2 rightdeck & deck 2 select : select
 

geposted Wed 18 Apr 12 @ 6:40 pm
Okay thanks alot for your help, I'll give it ago when I get home :)
 

geposted Thu 19 Apr 12 @ 4:34 am
looking at it again there is still a mistake and I have changed it so the leds are on for deck 3 & 4.

I also figured out why it hade the "select" variable at the start, it is so you have the freedom to change the pfl between the left and right decks without swapping them around.. it's actually a really smart way of doing it, although not very predictable in use.. I will put a holding script last which will be much more intuative to use. How it works is on release of the button if it is pressed for less than half a second it will change the deck in the pfl, if you hold the button for over half a second on release it will change the left or right deck.

device_side 'left' ? deck 1 leftdeck ? on & deck 3 leftdeck & deck 3 select : off & deck 1 leftdeck & deck 1 select : deck 2 rightdeck ? on & deck 4 rightdeck & deck 4 select : off & deck 2 rightdeck & deck 2 select

holding script

holding ? device_side 'left' ? deck 1 leftdeck ? on & deck 3 leftdeck & deck 3 select : off & deck 1 leftdeck & deck 1 select : deck 2 rightdeck ? on & deck 4 rightdeck & deck 4 select : off & deck 2 rightdeck & deck 2 select : select

you should register yourvserial to get access to all the awesome new effects for your RMX
 

geposted Thu 19 Apr 12 @ 5:15 am


(Alte Themen und Foren werden automatisch geschlossen)