Piezo input

I would try changing the resistor. 1M ohm seems high. Experiment with different resistors like 10k or 1k and see what kind a a response you get.