I convert the note-on into a setcell message for a jit.matrix, bang out the output, and then immediately clear the matrix.
At the same time I have a metro running at 20 ms which is also banging the output of the matrix. This facilitates the jit.slide object that comes further down the patch.
The problem is this: occasionally, a note on message will fail to create the visual effect.
One theory was that my MIDI keyboard may have been missing a note, so I hooked up the notein to a noteout to audibly monitor whether a note was being produced, and indeed it was.
So here's another theory:
So perhaps the bang between my 'setcell' and 'clear' messages is being ignored because it has come too soon after one of the bangs outputted from the metro. This is problematic because that ignored bang is highly important - it is the most important bang, because it triggers the frame that includes the colour. This is what I mean by 'important' frame.
How then could I ensure that this important frame is always outputted?