dragging midi data from device to clip

nedrush's icon

wondering if anyone could give me a head start in implementing a way to drag midi data i've created in a device to a new midi clip in live?

similar to how live native looper allows you to drag what you recorded to a new audio clip..

i am generally using the seq~ object to record midi data.

cheers.

broc's icon

Dragging data from device to clip is not supported in M4L.

But you can write notes into a clip using the function 'replace_selected_notes'.

For details see LOM documentation