Easy enough to do once you have figured out all the logic and stuff… had this figured out for a while now.

Tricky part (in some ways) is dealing with the limited midi specifications of the devices.