Just looking for transients is not good enough because it results in a lot of false positives. A better approach would be machine learning
- Discard background noise. Sample the noise while the spectrum is not in flux.
- Train a neural network to recognize clap sounds but reject other types of sounds with a transient.