I'm trying to find a way to monitor microphone input to catch a particular "event". In other words, something principally similar to a motion detector - to execute a command upon an event.
Currently I'm using a simple ffmpeg command to record the sound card input into a file:
However, it's not a convenient way, I'd prefer to analyze it in real time.
Any ideas?
Currently I'm using a simple ffmpeg command to record the sound card input into a file:
ffmpeg -f oss -i /dev/dsp1.0 -vn -c libvorbis -f ogg $FILE
However, it's not a convenient way, I'd prefer to analyze it in real time.
Any ideas?