質問

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

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top