@d-healey actually I thin k I have a solution - just do the same thing in reverse using Synth.addNoteOff
for (n=0; n < ChordPlayer.playingEvents[pos].length; n++)
{
Synth.addNoteOff(1, ChordPlayer.chordPadArray[pos].data.chord[n], ChordPlayer.chordPadArray[pos].data.strumLength * n);
ChordPlayer.playingEvents[pos][n] = -1;
};