M4L collecting midi data from arranger track

ntsb's icon

Is there a way to collect all midinotes from a single live track (preferably with multiple clips)?

I'm aware of the "select_all_notes etc." but that's kind of a clumsy way and very limited to a single clip.

I'm building a video rendering engine, based on sequenced mididata.

(otherwise maybe a good idea for future updates?)

thanks a lot for helping me out!

broc's icon

In Live you can merge multiple clips of a track into a single clip with Edit > Consolidate.

ntsb's icon

but then still, isn't there a direct way to gather all the midi-data from a single track? Or even more interesting, the complete midi-data from a live sequence?

I just want to create a "render" button, without focussing my view on a certain clip.

thanks,

ShelLuser's icon

M4L doesn't provide much support to handle the arrangement view; only the session view is fully covered.

Even the 'select_all_notes' function you mentioned earlier can only be applied on a single clip. Yet that clip is always assumed to be in a clip_slot; hence in the session view.

Right now I don't see this working with M4L in any way.

broc's icon

Just to clarify: The 'select_all_notes' function can be applied to clips in *both* session and arrangement view, with the path 'live_set view detail_clip' referencing the currently selected clip. It can even be used with an observer to trigger some operation on each change of the selection. So you could make an M4L device that collects all notes from all clips just by selecting the individual clips one after the other. Not perfectly automatic but doable.