How to detect sound frequency for particular sound in iphone?

后端 未结 2 845
你的背包
你的背包 2021-01-15 16:22

I\'m doing an app where I want to detect sound frequency. How to detect frequency for particular sound like dog sound? Does anybody have tutorial or some sample codes?

2条回答
  •  情歌与酒
    2021-01-15 16:46

    Detecting a single frequency, or even computing a single FFT, is not a reliable method for differentiating a dog bark from other common sounds of around the same volume.

    What might work is sound fingerprint analysis using MFCC's, followed by statistical pattern matching against a large enough "dog" sound database. Some pointers to the type of signal processing required might be answered here: Music Recognition and Signal Processing

    This is non-trivial stuff more suited for multiple college textbook chapters than any short tutorial.

提交回复
热议问题