Anmelden:     


Forum: VirtualDJ 8.1 Technical Support

Topic: Loop Slots

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

What is the script to trigger a Loop Slot? Just the saved_loop? Trying to understand all of this, but I feel like I am missing something.

I am trying to map a cue button that will trigger the loop saved in a particular slot.
 

geposted Sat 13 Feb 16 @ 10:21 pm
saved_loop x

Where x is either a numbered slot, or a named slot such as 'beat'

If the saved_loop doesn't exist, then it will automatically be created (like hot_cues are).
 

Can it be mapped to trigger Cue 1 only if no loop is present?
 

Sure, it can act as a query too:

saved_loop 1 ? saved_loop 1 : hot_cue 1
 

Awesome. New to writing those.
 

Actually I have come up with a complete set of commands on how to build a "mixed" PAD MODE with hotcues and saved loops:

PAD1:
saved_loop 1 ? saved_loop 1 : hot_cue 1 ? hot_cue 1 : loop ? saved_loop 1 & loop_color 1 'orange' : hot_cue 1 & cue_color 1 'green'

SHIFT_PAD1:
saved_loop 1 ? loop_delete 1 : hot_cue 1 ? delete_cue 1 : nothing

LED_PAD1:
saved_loop 1 ? loop_load 1 ? blink 333ms ? loop_color 1 : off : off : loop_load 1 ? loop_load_prepare 1 ? param_smaller loop_position 0 ? blink 250ms ? loop_color 1 : off : blink ? loop_color 1 : off : loop_color 1 : hot_cue 1 ? cue_color 1 : off

LED_SHIFT_PAD1:
saved_loop 1 ? loop_load 1 ? blink 333ms ? loop_color 1 : off : off : loop_load 1 ? loop_load_prepare 1 ? param_smaller loop_position 0 ? blink 250ms ? loop_color 1 : off : blink ? loop_color 1 : off : loop_color 1 : hot_cue 1 ? cue_color 1 : off


The above set is for RGB pads, but you can change it to not include colors if your controller does not have colorful pads.
You may want to give this set a try as well.
 

You guys need a LIKE button on here...

Thanks for ruining my next few days while I try this out!
 

Finally having a chance to play with this. Got the Dicers working well and doing what I want.

The LED for HOT CUE 1 on the X1mk2 isn't responding as I had hoped. It lights up white when the cue/saved loop is present, but does not illuminate green when active. This is crucial to me, as I sometimes utilize the X1 as my only controller.

Here is the current LED mapping: var_equal 'padmode' 1 ? get_sample_color 1 : param_equal get_cue 1 ? var '$shift' ? constant 'red' : constant 'green' : hot_cue 1 ? var '$shift' ? constant '40,0,0' : constant 'white' : constant '18,18,18'

Pads 2-4 seem to work as planned with no modification.

Thanks in advance.
 

Scratch that. None of the LEDs work as expected when mapping for loops as well as cues.

It seems that the loop preempts the cue, therefore not triggering the LED.

Thoughts?
 

What do you mean active ?

Also please give us the code of your hot_cue button and describe as best as you can when and how you want your button to illuminate
 



(Alte Themen und Foren werden automatisch geschlossen)