10

I would like to be able to detect a clapping sound. Being pretty new to any form of sound recognition, is there simple any way to do this? If not, any good resources for C# sound recognition/detection?

My goal is to automate a clients media center with some basic clap-based controls.

jamesrom
  • 866
  • 3
  • 10
  • 19
  • 4
    This seems like an algorithm problem, not a language problem. I suggest you broaden your query and google searches to other languages and *then* see if/how you want to implement that in C#. – annakata Jun 11 '09 at 11:53
  • Thanks, I do agree. I was just leaving it open for any existing libraries/components/frameworks/whatever specific to C#. – jamesrom Jun 11 '09 at 14:13

5 Answers5

7

There was a similar question asked in the past:

Given an audio stream, find when a door slams (sound pressure level calculation?)

Although the question was not specific to C#, it does have some ideas for algorithms to use. (Disclosure: Yes, I did answer that question.)

Community
  • 1
  • 1
coobird
  • 159,216
  • 35
  • 211
  • 226
1

I wouldnt focus on the language as such, but on the algorithm.

What characteristics of a sound allow you to identify it as a clap? Duration? Intensity? Variation of intensity over time?

Once you've got an algorithm, then decide the best way to implement it.

pauljwilliams
  • 19,079
  • 3
  • 51
  • 79
0

Check out Audio Zone Trigger for $25 it looks like it will do exactly what you want.

Raj Rao
  • 8,872
  • 12
  • 69
  • 83
0

Not sure whether this will be of any help, but still: MERL - Sound Recognition. Or better yet, Clap detection, with microphone.

Anton Gogolev
  • 113,561
  • 39
  • 200
  • 288
0

It seems like a problem you can solve using a so called Principal Component Analysis. Try to google it. Also other solutions for the famous Cocktail Party Problem may help. But I am sure there are already some libraries out there.