It is my understanding that the Envelope Control sets it's "Stage" output to 1 for every new voice and every retrigger for exactly one sample.
This does not work. (tested in 1.1.6)
I've hooked up some counters in my schematic, one that counts all the "stage(0)" executions in code, one that counts the number of times that the Envelope Control sets "stage" output to 1. The "stage(0)" code is executed more times than the "stage" output is set to 1. I don't know about retriggering since I have not yet found a good way of testing this, but for new voices this is definitely the case.
Here's a reproduction:
The bug only seems to appear with REAL Midi devices, not the "PC keyboard".
After some time of playing Midi notes, the two counters become unequal. The bottom one (1's generated by the Envelope Control) will be a bit less than the top one ("stage(0)" counter).
This means poly retriggering doesn't work.

















