So I'm having a little problem with hanging notes on the patch I made.
I've made it so you can play a scale on a midi 16 pad, and when chords are triggered in the patch the key of the scale is changed. The problem is that when the scale changes and their is a note on message it hangs as their is now a new note in place of the last same midi key.
For example, lets say the scale is C, play the 48 and it's a C, I change the scale and now say 48 is now a D, but if the 48 was held down when the scale changes it hangs as there's no associated note off. I've tried doing with midiflush and trigger it when a scale changes, but sometimes I want to hold a note down while the scale changes and not have to flush the note.
So i was wondering is there a way to pair the note on and off messages?
Here's where I'm at: