Hi Xavier,
well, it kinda works but not as expected. Played notes are held when sustain pedal is on -OK. But when the pedal is released all notes are cut off, even notes whose keys are still pressed. The expected behaviour would be, that only notes whose keys aren't held are cut off but the keys still held keep ringing.