This project has moved. For the latest updates, please go here.

Count Certain Sounds

Feb 18, 2015 at 2:25 AM
Hello,
If you wanted to get an estimated count of the number of times a coin dropping sound was made from a slot machine how would you do that?  Noise from other sources at the time could be just as loud.
(My actual application is to count the kibble dropping in a cat's auto feeder to confirm that the cat got feed.)

From the OnDataAvailable method I have saved sample32.ToString() to a text file, but I couldn't make sense of the numbers.

Jim
Coordinator
Feb 20, 2015 at 6:27 PM
this is not a trivial problem to solve. First you simply should learn to count sounds, by examining the volume of the samples. You'd need to check for one or more samples going above a certain threshold in a set time period, to avoid double-counting the same sound. Once you've done that, then it would be a matter of using filters or FFTs to attempt to differentiate between the sounds you are looking for and other sounds.