So I tested a bit further this morning and it works better now.
I use a Roland Juno Alpha as a midi controller and The Juno sends CC123 (Panic) when all the keys are released. I don’t know exactly why, but I put a filter pipe that filters everything but Notes On/ Notes Off before the sutain pipe and it is working now.
That being said, The behaviour of the sustain pipe is a bit strange.
I expected the same behaviour than a classical synth, for example :
I play a chord (3 notes) on the left hand and just one note on the right hand
I press the sustain pedal
I release the chords keys
I release the sustain pedal but still maintain the note on the right hand
–> The note on the right hand should be maintained but it’s not, 4 Notes Off are sent by the sustain pipe (verified with MidiOx) although the keyboard controller only sent 3 Notes Off.
Another example is when I play 2 chords consecutively with common notes, for example :
I play a 3 notes chord (C;E;G)
I press the sustain pedal
I release the chords keys
I play the second 3 notes chord (E;G;B)
I release the sustain pedal
–> I expect that the second chord is still maintained but it’s not.
Don’t know if it’s clear… sorry for the bad english spoken
Thank you very much for your very important discovery! I had the same problem. I use a Kawai K1 as a master MIDI keyboard, and the sustain pipe also did not work as excepted. But with a general filter pipe (which filters out all data except note on and note off) after MIDI input the sustain pipe works splendid.
Has anyone found any workarounds for the issue of all MIDI notes being turned off when the sustain pedal is released? Maybe there would be some kind of way to use the pedal’s CC data to simply delay MIDI note off messages until the pedal is released so that it actually works like a sustain pedal, but I can’t think of any ways to do that.