I have a mini-server (Ubuntu 12.04) at home which is always on. I also have a dog who is active most of the time too. He's alone for 8h a day when I'm at work and I was wondering if I could record any actions he's taking (audio only).

So long story short - I'm looking for an app or script which will monitor sound status at home. When it hears something (i.e. my dog barking) it will start recording and stop recording when noise is gone. In the end of the day I expect to have few .wav files with the summary of "what happened at home".

Thanks in advance!