Another Piezo Project: Cap & Increased sensitivity?

hi..thanks for the reply..

although the var is still being define at the top of the script/code..

its not even being used..

my code was just edited from that knock script as a quick base..

yes..the piezo is secured.

where do I put a cap in this circuit to keep/hold the peek signal? I thought I had seen that mentioned before when searching?

thanks