Midi Drums with Piezoelectric Sensor

You have to apply a filter. Just compare the value from the sensor to the threshold value -- say 75? -- and reject if below.

How do you make the drum sound when your sketch detects the input from the piezo sensor, please? I know someone who is struggling with that part.

John.