i have a problem I'm hoping you all can help me with. this patch has a popping noise whenever a note is triggered. Ive tried to use line~ but cant seem to make it work right. thanks in advance for help. the code with line~ put in it has a continuously playing note when nothing is triggered.

http://www.pdpatchrepo.info/hurleur/popping_noise.pd