Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clap sound detection in C#

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.

like image 276
jamesrom Avatar asked Jun 11 '09 11:06

jamesrom


2 Answers

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.)

like image 188
2 revs Avatar answered Sep 21 '22 11:09

2 revs


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.

like image 42
PaulJWilliams Avatar answered Sep 20 '22 11:09

PaulJWilliams