I just want to fill a 2-beat midiclip with 8 unique random numbers from urn.
Can this be done easily?
that’s not too hard, just try and get the notes from a midi clip and study the syntax.
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.
[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
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.
@pid thanks, but thats to difficult
@pm yeah, I have to stick with that
Have you checked out my MIDI Editor? http://bit.ly/MFLpack
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.
C74 RSS Feed | © Copyright Cycling '74