Bug fixed: when just one key was pressed, after all keys had been released, the attack phase was started anyway, which of course has little use, since the Channel Pressure should be zero at the beginning of the note (it is the first key pressed!). This produced very long attack times when using linear transitions, so that one had to wait a few seconds (the length of the attack) before poly-AT messages were actually sent according to the pressure on the key. Now the first note played, after all keys have been released, does not go through an attack phase anymore.
midipressure_to_polyAT_4.zip (406.8 KB)