Activate Loop Switch to Next Marker

Dmitry e1Deus's icon

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

Dmitry e1Deus's icon

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's icon

..........................................

Max Patch
Copy patch and select New From Clipboard in Max.