New take on MLR. Loop the currently selected clip automatically! DL the patch.

samuel burke's icon

Hello there! I have started making a m4l device for looping audio clips. The device is similar to MLR and Live Clip Chopper (LCC), but I am hopping to add new features, and eventually make it compatible with MIRA and my Livid OhmRGB monome etc. Here's my patch, I put it in a live set too which will make it quicker to see what I am talking about. check it out!

My twist on the idea, is that m4l detects whatever clip is triggered on a track and will loop it via API to loop position commands. This feature alone, would make it different than LCC in the fact it would be flexible for looping lots of clips throughout a night and you wouldn't have to pre set which clips you want to MLRize.

One Main Problem

First, hit the Pink Reset button to rest the chooser a clip. For some reason the loadbang doesn't always work right.

Hit Clip 1. See the actual clip message box should say beat 8. Try hitting the fire buttons, loop buttons. Hit Loop Reset to reset the loop length

Hit CLip 2. See the actual clip message box should say same 16. Eveything should work.

Hit Clip 4. Nothing happens.

Right now The Current playing slot index bangs the m4l chooser, so when you trigger clip slot 4 in my set, it cant find the Clip!!!. The only problem is that I have an empty clip slot on say the third clip position, so the order gets offset. Does anyone know a way I can fix this without putting muted "fake dummy" clips on all slots?

Solution?

I am current observing clip name. I am naming my clips like "beat 8" and "verse 16". With zl iter and fromsymbol@separator I am able to take the current clip name "\"beat 8\"" that the chooser spits out, remove the symbols to make it just beat 8, then remove the word beat. So i get 8. I can then use this number to be the correct loop length. So when I do microlooping, and then want to reset the Loop Length, it works.

So my only lead on the front of choosing the right clip right now, is by using the clip name, to choose the right clip for me. Can that work somehow? The m4l chooser seems to only want a #, not a name to get set.    

Ideally I would't have to name my clips "properly" all the time to get the thing to work right, Ideally

I would even settle for just hacking the LCC to get "autodetect" function I am looking for if thats easier than adding a bunch of stuff to mine.

Any advice would be greatly appreciated.
Thanks alot!

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

Patch in text form below