Is there any way to define that voice was retriggered (i.e. note was released) in void ProcessSamplesAccumulating()? I just would like to have a different process in such a case.
Just to note also that in IPlugIntrument example it seems that the Synthvoice is not killed (at least until MAX_ENV_TIME_MS) - so it creates some additional CPU overhead when handling polyphony. If so, then how to kill Synthvoice exactly right after the end of the note release?
Thanks for any clue.