unable to select_all_notes

Jan 5, 2014 at 9:12am

unable to select_all_notes

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

Nothing worked!

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.

Jan 5, 2014 at 9:25am

Hi !
make sure u have selected valid clip . because your calls are fine i guess .
or post a patch

EDIT : or try do deselect_all_notes before all , just try
EDIT2 : additionaly i think that you dont need to call “call note 0″ . your “call notes 0″ is enough (plural)

Jan 5, 2014 at 10:36am

ok, thanks,
I’ll post a patch if I dont get it working soon. But I found something what seems to be the root:

the id I used to fire the clip is the clip-slot’s id. But I need to get the clips id… I’m on it.


You must be logged in to reply to this topic.