Hi, I'm building an arpeggiator.
And I want to make a list of active notes that are being pressed.
For example,
If I press 3 notes,
[60 127( [62 127( [64 127(
It should output list of pressed notes after pressing last note
print: list 60 62 64
Then if I release one of the note by sending [62 0( , it should output new list with unpressed note removed.
print: list 60 64
I spent many hours to solve it but I couldn't.
Please help me!!