- It is impossible to detect the external sound when the app is in background.Due to background task time restrictions, iOS Background Task can not be run more than 10 secs.
- app is not possible.
You can make notifications while the app running in background. But I dont think any way to achieve this functionality.