I have a rather complex midi patch that sometimes gets stuck notes. Not a big deal - I've got an "all notes off" routine. But... once one of the instances gets a stuck note, from that point on, the notes out that midi channel/port are all reversed: noteon with the key coming up, noteoff with the key going down. Checking the velocities going into my midiformat, I can confirm that the velocities are correct (vel > 0 when I press the key, 0 when I release). What's even more messed up is that this behaviour will then persist, even if I close/re-open the patch. I even tried messing around with the abstraction that holds the actual midiformat and midiout objects, and the same thing happens there. Then, as if by magic (though never without a relaunch of max - it's just that a relaunch won't always cure it), it goes back to normal. Checking the actual instrument that I'm playing with this patch, I can confirm that it is playing correctly (checked using midi patchbay direct to the synth).
It seems to me this has happened to me before, but am I the only one? And does anyone know how to fix it? I'll try trashing prefs and stuff, to see if that helps, but it doesn't seem to make a lot of sense right now. I should stress that, even when the 'reversed' behaviour starts, monitoring the note data at the absolute *last* stage before my midiformat object shows that everything's as it should be - noteons are on, noteoffs are off... but it still gets reversed.