When playing on synthesizers, usually when playing a second time the same note, even if the release phase is very long or the sustain pedal is pressed, the first note is shut down. Put in another way, sending:
NoteOn(1,40,100)
NoteOn(1,40,10)
usually results (for the synth point of view) in:
NoteOn(1,40,100)
NoteOff(1,40)
NoteOn(1,40,10)
Is there a reason for that? I mean, I understand that for a piano, the same strings cannot be played twice, but it is possible on some instruments to get the same note twice (on different strings on a guitar for instance). Moreover, on the piano, all the sympathy sound from surrounding strings is not shut down when the sustain pedal is pressed, even if the same note is replayed…