Re: [LAD] simple silence detection tool

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Knoth <adi@...>
Cc: linux-audio-dev@lists.linuxaudio.org <linux-audio-dev@...>
Date: Sunday, February 10, 2013 - 4:17 pm

I actually got it to work! Thanks for your help. I installed the jack example clients package, which is where the jack_lsp utility is. When I started silentjack like this:

silentjack -c "MPlayer [24538]:out_0" echo "Shit"

as soon as I turned down the levels on the audio source, silentjack did the right thing:

[jeremy@serv ~]$ silentjack -c "MPlayer [24538]:out_0" echo "Shit"
JACK tmpdir identified as [/dev/shm]
JACK client registered as 'silentjack'.
Connecting MPlayer [24538]:out_0 to silentjack:in
**SILENCE**
Shit
**SILENCE**
Shit
**SILENCE**
Shit

When I turned it back up, the echo stopped.

I think all I need for a nagios check is for the command to just exit a non-zero status to trip nagios.

This is great! Just saved me $400 on a hardware based silence monitor. What's cool is that since I'm using icecast, I could even have it react to take over the icecast mount with alternative audio stream.

-jeremy

On Feb 10, 2013, at 7:43 AM, Jeremy Hansen wrote:

>

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] simple silence detection tool, Jeremy Hansen, (Sun Feb 10, 7:39 am)
Re: [LAD] simple silence detection tool, Robin Gareus, (Sun Feb 10, 4:16 pm)
Re: [LAD] simple silence detection tool, Jeremy Hansen, (Sun Feb 10, 5:57 pm)
Re: [LAD] simple silence detection tool, Robin Gareus, (Sat Mar 9, 1:49 am)
Re: [LAD] simple silence detection tool, Jeremy Hansen, (Sun Feb 10, 4:38 pm)
Re: [LAD] simple silence detection tool, Florian Paul Schmidt, (Sun Feb 10, 11:39 am)
Re: [LAD] simple silence detection tool, Adrian Knoth, (Sun Feb 10, 12:11 pm)
Re: [LAD] simple silence detection tool, Jeremy Hansen, (Sun Feb 10, 1:36 pm)
Re: [LAD] simple silence detection tool, Adrian Knoth, (Sun Feb 10, 2:10 pm)
Re: [LAD] simple silence detection tool, Jeremy Hansen, (Sun Feb 10, 3:44 pm)
Re: [LAD] simple silence detection tool, Jeremy Hansen, (Sun Feb 10, 4:17 pm)
Re: [LAD] simple silence detection tool, Adrian Knoth, (Sun Feb 10, 4:15 pm)