This works perfectly on the Mac (press a note and increases it's value in the array), But when running on linux device it is holding on to last note value so increasing the wrong value on 1st press. Seems to happen on value 1. I'm a bit confused.
Do I need to force the process order more or is there a schoolboy error in this small bit of code?
Thanks for any help or pointers!