A circuit with a non-inverting op-amp and comparator for amplifying the output of a piezo transducer. Am I missing anything?
fatal flaw ---- when tapped hard, your piezo likely will output 20 or 40 or 100 volts, which will destroy the opamp, unless you have a current-limiting resistor in series with VIN+ of OA1.