I try to create a device, that deletes all notes in a specific midi clip. Sounds easy but somehow I cant get it done:
I am able to start a midi clip from within max for live, by sending the clips id into the right inlet of an live.object and a "call fire" message into the left inlet. To delete the included midi notes I thought I'd just have to replace the "call fire" message with the following messages:
- call select_all_notes
- call replace_selected_notes
- call notes 0
- call note 0
- call done
The LOM said that "select all notes" works independently from the current selection, so I tried to append the id to the "call select_all_notes" message. Didnt work either.
I would be realy thankful for a little hint in the right direction.