1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Mic Blow detecting

Discussion in 'iPhone/iPad Programming' started by evana, Oct 20, 2009.

  1. macrumors newbie

    I want to blow out a candle.can anyone pls suggest me how could i do this in a easy way?or any sample of this?thanks in advance.
  2. macrumors 6502a


    You do it by detecting the volume of the sound coming in the mic. The rest should be easy if you want an image that moves and disappears or very complicated if you want realistic physics.
  3. macrumors 603

    You have to decide what is not blowing.

    Is singing blowing? Shouting? Loud music?
  4. macrumors newbie

    Thanks for you reply.actually i want to move an image using blow like Bal-Loon but i cant can you help me out to give some sample code.
  5. macrumors 68000

    Check the sample app Speak Here. It shows how to detect and register volume coming through the mic.
  6. macrumors newbie

    i have check this but it is critical i need something simple and easy:)
  7. macrumors 6502a


    Programming, especially for games, isn't "Simple & Easy". If you're really interested in making this product, do what people said. Check samples and learn how to do it.

    Noone in their right mind will tell you exactly how to make it. Or else, We would make it and sell it ourself.

    Libraries like Cocos2d can help you make it more simple graphic wise, but you still need to come up with the logic behind your idea.

    Here are a couple excellent books to get you started:

    -Programming in Objective-C 2.0
    -Beginning iPhone development

    I'd read them in that order.

    Good luck.
  8. macrumors member

Share This Page