Improved clap detection