M4L launch midi/audio clips via random chaos algorithm

Learn about building and using Max for Live devices.
Post Reply
meeble
Posts: 34
Joined: Wed Sep 29, 2004 6:38 pm
Contact:

M4L launch midi/audio clips via random chaos algorithm

Post by meeble » Wed Sep 04, 2013 6:53 pm

Hi there,

I have been searching around for a Max For Live patch that can launch Ableton clips via a somewhat random algorithm(s). 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 this installation piece. The idea is the same either way: some kind of algorithms/chaos sequencer routed to trigger clips in Live's clip view.

Thanks
. . . . . . . . . . . . . . . . . . . . . . .
Mr. Meeble / Epic Lasers
http://meeble.com
http://epiclasers.com
http://youtube.com/mrmeeble
. . . . . . . . . . . . . . . . . . . . . . .

meeble
Posts: 34
Joined: Wed Sep 29, 2004 6:38 pm
Contact:

Re: M4L launch midi/audio clips via random chaos algorithm

Post by meeble » Thu Sep 05, 2013 3:07 am

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?

Thanks!
. . . . . . . . . . . . . . . . . . . . . . .
Mr. Meeble / Epic Lasers
http://meeble.com
http://epiclasers.com
http://youtube.com/mrmeeble
. . . . . . . . . . . . . . . . . . . . . . .

meeble
Posts: 34
Joined: Wed Sep 29, 2004 6:38 pm
Contact:

Re: M4L launch midi/audio clips via random chaos algorithm

Post by meeble » Thu Sep 05, 2013 4:43 am

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

http://www.youtube.com/watch?v=gILPtQcFfBQ
. . . . . . . . . . . . . . . . . . . . . . .
Mr. Meeble / Epic Lasers
http://meeble.com
http://epiclasers.com
http://youtube.com/mrmeeble
. . . . . . . . . . . . . . . . . . . . . . .

madlab
Posts: 1391
Joined: Fri May 02, 2003 6:38 am
Location: France

Re: M4L launch midi/audio clips via random chaos algorithm

Post by madlab » Thu Sep 05, 2013 6:36 am

Sorry to insist here, but you should really consider 'follow action' to see if it could fit your needs...
Aboard from V. 1
MBP M1 Pro 2021 - 16 Go RAM - Monterey 12.6.3
MBP 2.5 Ghz I7 16 Go SSD OSX 10.14
iPad + Mira+ TouchOsc
RME FF UC Live 11.3.21 M4L Max 8
Band : https://elastocat.org/
Madlab sound unit / objects, guitar, electronics / end_of_transmission

meeble
Posts: 34
Joined: Wed Sep 29, 2004 6:38 pm
Contact:

Re: M4L launch midi/audio clips via random chaos algorithm

Post by meeble » Thu Sep 05, 2013 9:26 am

madlab wrote:Sorry to insist here, but you should really consider 'follow action' to see if it could fit your needs...
I have checked out follow actions - but, I really need to be able to use internal MIDI notes to be able to trigger clips. Follow actions won't work. The video I posted above does EXACTLY what I need - I was just hoping to find his M4L patch online.

thanks...
. . . . . . . . . . . . . . . . . . . . . . .
Mr. Meeble / Epic Lasers
http://meeble.com
http://epiclasers.com
http://youtube.com/mrmeeble
. . . . . . . . . . . . . . . . . . . . . . .

S4racen
Posts: 5851
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: M4L launch midi/audio clips via random chaos algorithm

Post by S4racen » Thu Sep 05, 2013 11:41 am

Is it just one note that would be at a random time that would trigger a random clip in the chosen track??

Cheers
D

meeble
Posts: 34
Joined: Wed Sep 29, 2004 6:38 pm
Contact:

Re: M4L launch midi/audio clips via random chaos algorithm

Post by meeble » Thu Sep 05, 2013 5:27 pm

It wouldn't have to be one note, but it could be. It would more likely be a series of notes, or even full melodies. The note pitch and velocity could be mapped to rows and columns on the grid, for example. Many things are possible...

S4racen wrote:Is it just one note that would be at a random time that would trigger a random clip in the chosen track??
. . . . . . . . . . . . . . . . . . . . . . .
Mr. Meeble / Epic Lasers
http://meeble.com
http://epiclasers.com
http://youtube.com/mrmeeble
. . . . . . . . . . . . . . . . . . . . . . .

S4racen
Posts: 5851
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: M4L launch midi/audio clips via random chaos algorithm

Post by S4racen » Thu Sep 05, 2013 5:52 pm

Then you could easily set the note value to be the track (e.g.. tracks $1) and the velocity to be the clip (e.g. clip $2)

Take the Midi note into a pack object, send it to a message box saying live.path live_set tracks $1 clips $2... pass this to a live path and the resulting path to a t b l object... Take the l to the live.object and the b to a call fire message and connect this to the left input of the live.object....

Now build a template of 127 tracks and 127 clip rows...

Sorted!!

Cheers
D

Post Reply