M4L patch for launching Ableton clips via random-ish algorithm?

meeble's icon

Hi there,

I have been searching around for a Max For Live patch that can launch Ableton clips via a somewhat random algorithm. (or maybe series of algorithms?) Anyway, I figured I'd ask on here to see if anyone has made anything like that and would be willing to share it with me.

Thanks

quantesizer's icon

why do you want to launch them randomly?

meeble's icon

I want to create an installation that takes on a life of it's own, cyclical or algorithmic may be a better term than random.

quantesizer's icon

Try to be more precise
Which kind of clips do you want to launch (small, long, rhythmic, melodies, songs)????

meeble's icon

Any kind of clips (midi, audio, video - short/long, modulation, notes, etc.). I could then modify the M4L patch to do exactly what I want for the installation. The idea is the same either way: some kind of algorithms/chaos sequencer routed to trigger clips in Live.

Stephane Morisse's icon

Did you try 'follow action' on clips ? It Can be pretty powerful in its own, and without max for Live.

meeble's icon

No, I haven't looked into 'follow action' on clips, but I think I will. ;) thank you.

I guess the more basic issue is this:

How can I route the Max for Live sequencer output to trigger clips in Live's session view? I know you can use Max for Live midi effects to control/automate almost every parameter in Live. One would think that you could route midi notes from a M4L sequencer to launch clips?

Jdudeo's icon

For random clip launching select all the clips you want to use (they have to be on the same track) and choose "any" for the follow action then they'll randomly trigger each other when they finish playing.

As for routing a max sequencer to trigger clips, you'll probably have to think up the translation from note to clip yourself depending on your needs, but it's very simple to trigger clips from a max patch (the live.path input is something like "live_set track $1 clip $2" with "fire" to launch the clip if I recall correctly)

meeble's icon

This is exactly what I am looking for - would be nice to find that M4L patch!