Possible Duplicate:
Detecting a clap in IOS
I've googled this problem a lot, and the thing people come up with is "use AVAudioRecorder". The problem with this class, however, is that the metering is bad, i.e. the maximum update frequency is about 0.9 seconds, it detects peaks but not when these peaks end. I'm trying to find a way to detect audio clicks (e.g. hand clap/snap). Is there a better way than AVAudioRecorder?