@gorangrooves yes two arrays - in a strict articulation order.

So on Note look thru the trigger array to see if the incoming note is used, if so then use the note at the same position in the source array, if not then remove the event.

For playing notes you will need to keep the event id so you can do the VDrum muting.