I am build a multi drum pad.
I want to have one button to change the note that is sent by each pad based on which pad was hit last.
Somehow I was hopping the variable name on the left side was variable, for example;
I have:
int noteA = 35;
int noteB = 38;
char hitnote = 'A';
note(hitnote)++;
note(hitnote) I want to become noteA
The new value of noteA would be 36
Then I can change hitnote to 'B' and increase noteB value.