Activate Loop Switch to Next Marker
Hi! How do I create a simple M4L device that will activate a Cycle Loop (Loop Switch) from the playhead location to the nearest marker? Thanks!
Max version: 9
Live version: 12
Any ideas? By default there is no shortcut for such comand, so I thought a simple max device could help. Thanks a lot.
..........................................
double_UG, thanks a lot for your answer and this patch!
Well, I checked it and it seems, it doesn't work properly
Just imagine playhead is moving between any two arrangement markers
When you push "a button" (assignable for key/midi) the cycle area is set exactly between these two markers
And the loop switch is activated
Thats all
Thanks again for any modifications if you decide to make!
"from the playhead location to the nearest marker"
From the previous marker to next marker. This only works when playhead is between two markers.
Thx, but...
It jumps randomly among different pairs of markers outside of playhead
Sensitive to the zoom level
Is the top button is to be triggered?
If so doesn't work on every button push
And there's a message in the console:
"live.object • Cannot set a negative or zero loop length"
The function should be the same as "Loop to Next Locator" activated with a key/button while playing. Thanks again!
