Forums > Max For Live

Create clip – Possible?

January 10, 2010 | 12:43 pm


is there a way to create a (MIDI) clip using M4L (I’m using Javascript)? The API documentation does not seem to list a direct method to do that.

What I’d like to achive is to trigger, by MIDI, duplicating an existing clip to a new slot. I can indirectly achive that by arming the track, firing an empty clip slot, wait for the has_clip message and then use a new Task object to perform the copy operation.

This seems like a pretty convoluted way to do this, and it has the downside that the copying operation is defered until after the clip has started recording. Thus, notes that are right at the beginning of the clip are not played in the first iteration of looping the copied clip. It also requires passing a lot of state around when all I really want is create a clip.

Any help would be appreciated! Thanks!

January 10, 2010 | 4:22 pm

At the moment, clip creation isn’t supported by the Live Object Model. It’s not the first time it’s been requested, but your interest is noted.

March 25, 2010 | 3:21 pm

Sorry for th noise, but this would be really great..
Also deleting clips would be awsome. Moreover is there a possibility to query if a clip is "empty"(edit: which would represent a workaround while creation and deleting is not available)?

March 25, 2010 | 10:20 pm

Basicly you can’t change the contents of clipslots using MFL. Perhaps there are some clever workarounds translating midi to qwerty keyboard macros.

I haven’t tried it out yet, but I guess one could create a Live Looper and send audio material to it using MFL automation. When loading audio output the track can be muted.

Lately all kinds of Live menu action is sugested in this forum for automation by MFL. There is no first class solution for that builtin in MFL. Is it possible to enhance this behaviour by implementing a SDK Keyboard/Mouse macro device aka the Bome MIDI Translator? ( ) or Novation Automap Pro?

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Max For Live