replace selected midi notes help please

steve_savage's icon

Hi,

I'm trying to use the replace_selected_notes to basically delete a midi clip but am unsure of the correct way to achive this.

At the moment this is kind of working for me, where via a button on my controller i'm sending info to select all clips, then replace them with 1 note with 0/1 velocity.

Could anybody inform me as the correct way to achive this?

Max Patch
Copy patch and select New From Clipboard in Max.

Thanks in advance :)

steve_savage's icon

Ok now i think i've got it!!

Max Patch
Copy patch and select New From Clipboard in Max.

this replaces all notes in a clip with no notes what so ever (it seams), so effectively deleting that clips contents.