Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Giour

macrumors newbie
Original poster
Jul 24, 2009
1
0
Hello people!

I am new to iphone programming so I would like to ask you, how they do it in some apps to blow in to the mic or shake??? how could I add this into my application if I want to?
Sorry again if me question is too silly!!! :)

Thank you for your time reading this!!! xxxx :apple: Alice
 
For shake, there's documentation on the Apple dev site on how to use the accelerometer delegate.

For blowing, I recommend using Audio Unit Remote IO or Audio Queue input, and feeding the PCM sample stream to a voice or music recognition DSP algorithm (there are college textbooks and research papers on the latter) and maybe follow the envelope of some of the unvoiced components.


ymmv.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.