开发者

Sound Pattern Recognition in Objective C / C (Mac)

开发者 https://www.devze.com 2023-02-14 16:53 出处:网络
Is there any C or Objective-C library that I can use to detect sound patterns on the Mac (e.g. clap of开发者_StackOverflow hands)?Well, if you use CoreAudio, it has a few libraries hidden inside that

Is there any C or Objective-C library that I can use to detect sound patterns on the Mac (e.g. clap of开发者_StackOverflow hands)?


Well, if you use CoreAudio, it has a few libraries hidden inside that do some pattern recognition.

But in any case, if you have no previous samples to go by, I would recommend something where you sample a clap, and then compare the questionable samples with your samples, allowing some deviation in both the x and y, and then add any successful detections to your sample list and decrease the allowable deviation.

This is a very slow method, but, in my experience, one of the most reliable for recognizing any sound, especially with a large number of starting samples.

0

精彩评论

暂无评论...
验证码 换一张
取 消