Blow or Shake

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

  1. Giour macrumors newbie

    Joined:
    Jul 24, 2009
    #1
    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

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    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.
     

Share This Page