This seems like there should be a simple way to query if, one is in a within an active saved loop.
I would like a pad color (on a launchpad controller) to change when within the saved loop.
Logic of :
Do not know how to query if one is within the active saved loop.
I would like a pad color (on a launchpad controller) to change when within the saved loop.
Logic of :
(query in saved loop 1) ? color "green" : loop_color X
Do not know how to query if one is within the active saved loop.
Posté Mon 08 May 23 @ 7:25 am
I assume there is no easy way to query, that one is currently in a saved loop.
Thanks for your help !
As I am always learning new ways that I am not aware of... from the awesome forum help !
PS:
and there probably is a hard way.. to get beginning and end times for loop and check if current position is bounded by them. (not important enough of an issue) as I would only like to change an LED, as indicator, since can never get enough feedback.
Thanks for your help !
As I am always learning new ways that I am not aware of... from the awesome forum help !
PS:
and there probably is a hard way.. to get beginning and end times for loop and check if current position is bounded by them. (not important enough of an issue) as I would only like to change an LED, as indicator, since can never get enough feedback.
Posté Mon 08 May 23 @ 9:18 pm
I just discovered the easy way (with a caveat):
```
loop_load_prepare X ? color "green" : loop_color X
```
The caveat is that loops automatically engaged with saved_loop_autotrigger are not considered active by this query (I think that's a bug in Virtual DJ).
Related to the hard way, this is an example of something like that (for anyone interested):
https://www.virtualdj.com/forums/254612/VirtualDJ_Technical_Support/Activating_the_next_inactive_loop_with_a_single_button.html
```
loop_load_prepare X ? color "green" : loop_color X
```
The caveat is that loops automatically engaged with saved_loop_autotrigger are not considered active by this query (I think that's a bug in Virtual DJ).
Related to the hard way, this is an example of something like that (for anyone interested):
https://www.virtualdj.com/forums/254612/VirtualDJ_Technical_Support/Activating_the_next_inactive_loop_with_a_single_button.html
Posté Tue 23 Apr 24 @ 1:08 am