Using the mic as an input device.

Discussion in 'iOS Programming' started by Abunga, Mar 29, 2011.

  1. Abunga macrumors newbie


    Jan 25, 2011
    Hello. I am just in the design process for a small app i am creating. I am trying to find out how to use the Iphone's mic as an input device so that the sound it receives causes an action on screen. (Not dissimilar to when you blow out fire on Zelda on the DSi.) I think that it is simply acting on the signal that would normally amplify the sound.

    Having spent time looking at the AV classes in the documentation, is it the AVCaptureInput that will help me? If not, please point me in the right direction. (i.e. What class should i be thinking about to do this specific job.)

    Probably a simple fix for many, but a first for me.

    Thanks. :eek:
  2. nickculbertson macrumors regular


    Nov 19, 2010
    Nashville, TN
    I'm not sure how to do that but Apple's "speak here" might get you pointed in the right direction.

  3. Abunga, Mar 29, 2011
    Last edited by a moderator: Mar 29, 2011

    Abunga thread starter macrumors newbie


    Jan 25, 2011
    Thanks Nick, will look at it now. :)


    Looking at this code, it looks like it could help. It all depends on whether the input i am after is from the recording process, or a reading system such as the meter data.

Share This Page