Sebouh 0 Newbie Poster

Hi all. I'm working on an application which is supposed to identify clap sounds. What I've been able to do till now, is to collect the sound samples of the clap sound and convert them to a frequency domain with FFT. I can see which frequencies have higher magnitudes in the sound wave, but I don't get these same values all the time. To be more precise, the clap doesn't always sound the same, so i some times get a high pitched clap and some times a low pitched one. There are only a few frequency ranges which are close to each other in the two cases.

My question is, is there a know good way of recognizing the frequency patterns made by a sound? I need to compare the frequencies of a test clap to that of an original clap. So how exactly do i do this? I'm not totally clueless, but i feel my methods are too easy and bad.

Thank you.