Quick Sign In:  

Forum: VirtualDJ 8.0 Technical Support

Topic: loop_roll to LED mapping bug

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

Build 2465 1067

I am trying to map a 'loop_roll' to LED pads. I have had good success with the first 5 pads in a row on my Novation Twitch controller. But when I map pads 6-8 the LED's cross each other using loop roll's 4, 8 and 16. To test this I went back to the default Twitch profile supplied with VDJ8 and all I did was change the pads from 'loop' to 'loop_roll'. Lo and behold the same behaviour occurs.

Pad LED code (for pads 6-8)

var 'mode' 1 ? loop_roll 4 while_pressed ? get constant 1.0 : get constant 0.9
var 'mode' 1 ? loop_roll 8 while_pressed ? get constant 1.0 : get constant 0.9
var 'mode' 1 ? loop_roll 16 while_pressed ? get constant 1.0 : get constant 0.9

Pad code

var 'mode' 1 ? loop_roll 4 while_pressed
var 'mode' 1 ? loop_roll 8 while_pressed
var 'mode' 1 ? loop_roll 16 while_pressed

Nothing amazing there. The pads 'work' correctly in that they loop roll fine. But the LED's don't match the pads. Pads 6-8 trigger each others LED's.

This only appears to happen on the loop_roll command. Other commands work as expected.
 

geposted Mon 05 Oct 15 @ 3:38 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
there is no loop_roll 8, 16 etc. Loop_roll actions can be up to 4 beats, thats why all 3 of your Leds return true

Btw, you dont have to add while_pressed, just.. loop_roll x
 

geposted Mon 05 Oct 15 @ 5:35 pm
Hello. I have the same problem.

When I pressed the the last 3 buttons (roll 6,7,8) they on at the same time. Could you explain a little bit how to fix this?

This is my mapper:

<map value="ROLL_PAD1" action="loop_roll 0.125" />
<map value="ROLL_PAD2" action="loop_roll 0.25" />
<map value="ROLL_PAD3" action="loop_roll 0.5" />
<map value="ROLL_PAD4" action="loop_roll 1" />
<map value="ROLL_PAD5" action="loop_roll 2" />
<map value="ROLL_PAD6" action="loop_roll 4" />
<map value="ROLL_PAD7" action="loop_roll 8" />
<map value="ROLL_PAD8" action="loop_roll 16" />
<map value="LED_ROLL_PAD1" action="loop_roll 0.125 ? get_constant &apos;0,255,140&apos; : off" />
<map value="LED_ROLL_PAD2" action="loop_roll 0.25 ? get_constant &apos;0,255,140&apos; : off" />
<map value="LED_ROLL_PAD3" action="loop_roll 0.5 ? get_constant &apos;0,255,140&apos; : off" />
<map value="LED_ROLL_PAD4" action="loop_roll 1 ? get_constant &apos;0,255,140&apos; : off" />
<map value="LED_ROLL_PAD5" action="loop_roll 2 ? get_constant &apos;0,255,140&apos; : off" />
<map value="LED_ROLL_PAD6" action="loop_roll 4 ? get_constant &apos;0,255,140&apos; : off" />
<map value="LED_ROLL_PAD7" action="loop_roll 8 ? get_constant &apos;0,255,140&apos; : off" />
<map value="LED_ROLL_PAD8" action="loop_roll 16 ? get_constant &apos;0,255,140&apos; : off" />
 

geposted Wed 28 Oct 15 @ 4:26 am
SBDJPRO Infinity Member since 2006
As stated above, loop_roll has a maximum of 4 beats.
 

geposted Wed 28 Oct 15 @ 3:22 pm


(Alte Themen und Foren werden automatisch geschlossen)