I’m planning to develop an iPhone app that makes the iPhone do an action when it hears a specific sound. Can this be done programmatically with an installed application? And also can this be done if the iPhone is in lock-screen mode?