This puredata patch is a gem for debuging voice allocation
Thanks again
I attached a beta firmware that should not play anymore the low frequency ghost note.
Explanation : when a voice is playing and when a new midi note is received, the new note does not start right away (which would create an audio "click").
So the preenfm2 use some time (between 0 and 200 samples depending of the current envelope status) to mute progressively the current note before playing the new one.
With a very short new note, the preenfm2 receives noteOff while the previous note fades out and before the new note is acutally started.
This is where the bug was.
The fix i have for the moment should work in most situation: in case it receives noteOff before the note actully starts, the new note is never played.
Which makes weird behaviour with the posted PD patch (increase a little the note duration and it's fine) but that should work in most real life situation.
Xavier