Given that there's no way to know actual adsr settings or the sample length from the plugin, you would need to set up
something generic that should cover all cases by setting a longer time. It might also be possible to set up something
with RMS so that if it falls under a certain threshold the gate is turned off/the voice is flagged as terminated.
Yes, thank you! After adding an ADSR sound is good, without artifacts. But, after playing 20-30 notes some notes starts to be silent - why? (I tested it with different VSTi)