Thanks for trying!!
Unfortunately its not making any difference with the clicking. for what I see the changes you made are in the "recording part" of the patch. and thats not the problem. The clicking appears when you retrigger (play) the sample before it finish ... I will try to translate your changes to the "playing part" on the patch. just to see what happens
EDIT: I just apply it to "play part" of the patch and its not working for what Im needing. Cause if I stop the note when releasing the toggle I "loose" the envelope so no tail,JUST a drastic cut and that means a clicking.
what im trying its to close envelope every time I retrigger it... even if the tail of the envelope still not finished.
Or maybe I need another way to solve the problem...another approach.