Quick Sign In:  

Forum: VirtualDJ Technical Support

when setting the length of loop with custom button with the script loop_length is there a way to keep that loop length for the next loop created... as is done when loop is changed by loop_half OR loop_double scripts (or by changing the loop length with the VDJ interface or controller)

loop_length from the wiki:

For example if one wanted a custom button to reset the loop_length from 1/8 beat to 4 beats with one press it can be done with loop_length 4 ( and THAT loop is changed to 4 beats)

BUT the next loop created will be 1/8 beat loop.. . NOT 4, which is wanted.

The only way to have the next loop created to default to a 4 beat loop when created, in this case is to click the interface/controller, 5 times or use the script loop_double 5 times(not the instantaneous return which is desired), instead of using the single click loop_length scripted custom button.

OR to remember to click the loop double on the VDJ interface or controller after the loop has ended, 5 times, to set the newly created loop to be created at 4 beats.

How can set the default loop length to 4 for current loop and also the NEXT loop with a single click?

Note: changing the setting: loopDefault to 4 in options made no difference.

and adding this to the custom button:
loop_length 4 & setting "loopDefault" 4

Does not work either for allowing the next loop created to be 4 beats


maybe its just my install of VDJ ? could someone reproduce this?

1) create custom button: loop_length 4
2) start a loop and change it to 1/8 beat
3) click custom button to set THAT loop to 4 beats
4) turn off loop
5) start another loop ..

is it 1/8th beat OR 4 beats ?

Posted Thu 10 Jun 21 @ 4:51 am
locodogPRO InfinityModeratorMember since 2013
LOOP LENGTH is temporary, loop will revert to default size when switched off

Posted Thu 10 Jun 21 @ 5:31 am
Thank you Locodog for letting me know it NOT just my VDJ install.

The documentation neglected to mention that it's Temporary.

And I assume there is not an easy way to set the Loop Length permanently?


Posted Thu 10 Jun 21 @ 5:38 am
locodogPRO InfinityModeratorMember since 2013
of course there is,

loop 4

Posted Thu 10 Jun 21 @ 5:48 am
thanks again

too simple, smiles

(had eliminated loop 4 since it could turn off the loop.. will just check first, before applying it)

Posted Thu 10 Jun 21 @ 6:04 am
locodogPRO InfinityModeratorMember since 2013
loop_select 4

Posted Thu 10 Jun 21 @ 6:09 am
wow that is perfect !

Big thanks

Posted Thu 10 Jun 21 @ 6:13 am