Question

I am planning to develop an gyroscope based project like TipSkip, handle event knock to device from behind or detect a clap ,I searched google but I didn't find anything except core motion guide and event handling guide. Thanks for any help

Was it helpful?

Solution

Detecting a clap requires audio recognition i.e. frequency analysis. There is no better source than Apple's own AurioTouch example for FFT. There is fairly good material about FFT and auriotouch online as well, like this.

As for the knocks, accelerometer is the way to go and you just need value recognition for the kind of movements your knock generate.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top