Is there a really simple way to fill a Live clip with Max generated midi notes?

    Oct 03 2011 | 11:10 am
    Hi, I just want to fill a 2-beat midiclip with 8 unique random numbers from urn. Can this be done easily?

    • Oct 03 2011 | 12:27 pm
      that's not too hard, just try and get the notes from a midi clip and study the syntax.
    • Oct 03 2011 | 12:55 pm
      In any case, to fill a clip with notes you need a sequence of function calls as described in the LOM. But it may be helpful to organize the task in 2 steps. (1) store generated notes in [coll] and (2) write [coll] data into the clip.
    • Oct 03 2011 | 1:46 pm
      go to
      [your ableton live library]/Lessons/8-MaxForLive Category/10-MIDI Note Operations Lessons/MIDI-Note-Operations.amxd
      and you'll find a bunch of tricks/abstractions to make your life easier
    • Oct 05 2011 | 12:52 pm
      Beside going too deeply in M4L programming, I tend to directly record the output of a M4L track with a second MIDI track. Simply set the output of the MIDI track with your M4L device to the second track and record a clip on that track. Probably not what you are looking for, but it is really easy and efficient. I use this a lot when using the M4L pattern sequencer to control a sampler.
    • Oct 06 2011 | 8:33 pm
      @pid thanks, but thats to difficult
      @pm yeah, I have to stick with that
    • Oct 08 2011 | 1:51 pm
      Have you checked out my MIDI Editor? Might be easy to modify for you. It already changes notes with Random, Urn will work too.
      It generates notes from Clips that were already filled. But I suppose you could feed it some dummy data instead.