Blow or Shake

Discussion in 'iOS Programming' started by Giour, Jul 24, 2009.

  1. Giour macrumors newbie

    Jul 24, 2009
    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
  2. firewood macrumors 604

    Jul 29, 2003
    Silicon Valley
    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.


Share This Page