Tried the Deafalarm iPhone app for fire safety when sleeping, but it vibrates for no reason sometimes when you're sleeping so I would not recommend it for its intended purpose. But it does flash when it hears anything loud, which is sometimes useful.
There are some iPhone apps for general sound...