audio monitoring program

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

audio monitoring program

Postby permitivity » Thu Jun 13, 2013 1:32 pm

Motion is great as a video monitor. Is there an equivalent for an audio monitor?

I'd like a program to send me an email or something when it detects audio greater than X decibels. Like if the water alarm goes off or something.

The USB webcam I'm using already has a microphone.
permitivity
 
Posts: 141
Joined: Mon Feb 18, 2013 3:08 am

Re: audio monitoring program

Postby permitivity » Thu Jun 20, 2013 1:43 am

Bump! Still looking for a way to monitor sound and run a script on audio detection.
permitivity
 
Posts: 141
Joined: Mon Feb 18, 2013 3:08 am

Re: audio monitoring program

Postby permitivity » Thu Jul 04, 2013 11:23 pm

Maybe I'm the only one interested in sound detection.

I found this related "Motion" project. It looks like what I wanted (audio detection), but I'm too much of a Linux newbie to know how to install this:

http://www.lavrsen.dk/foswiki/bin/view/ ... ndDetector

1) How do you install some of the dependencies with development headers? He lists: libvorbis, libogg, portaudio, boost, but I don't know what it means to "install with development headers".

2) g++ will compile the main.cpp code into executable, right?

3) there doesn't appear to be a command I can run when sound is detected. It just records the sound. Can I change the .cpp file before compiling to hard code some kind of action, like run a script that is in my system?

TIA
permitivity
 
Posts: 141
Joined: Mon Feb 18, 2013 3:08 am

Re: audio monitoring program

Postby moonman » Fri Jul 05, 2013 12:04 am

Just install dependencies, headers are included in paxkages in Arch alinux. You can add a syscall to run your script when an action is triggered with system ("./yourscript.sh") (i think..) google around
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: audio monitoring program

Postby permitivity » Mon Jul 08, 2013 5:58 am

I post here a lot with newbie questions, and you're a big help. Thanks.
permitivity
 
Posts: 141
Joined: Mon Feb 18, 2013 3:08 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 14 guests