Note Priority

Hi Something like this should work.

We define ga as the lowest note pressed (on project open, it is set to 127)

Any note coming in will compare itself to ga and if lower will send note-off on existing playing note ga then note on for new lower note coming in. If the note-on is the same or higher all actions are skipped.

For note-off, the note-off is sent always then ga is set back to 127 if the incoming note-off message is the lowest note. Otherwise it is left at the last lowest note setting.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist