Re: Microphone input monitor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 19 Nov 2007, Andy Brown wrote:

> Hi All,
> Bit of an odd one, so please bear with me here!
> What I'm trying to do is write a bash script that can read the current 
> volume level coming from the microphone and then deal with certain 
> values (silence or noise detection).
> Does anyone know of a way of 'grabbing' the current microphone level via 
> the shell?
> I'm playing around with ecasignalview as that samples my alsa sound 
> device and siaplys a peak/average peak, however this is a 
> user-interactive program, can anyone suggest how I can query something 
> similar?
> 
> Thanks in advance, and apologies if this is not quite the right place to 
> post this query!

Hi, you may try to play with output of arecord utility. Example is here:

arecord -vvv -d 2 /dev/shm/a.wav

					Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux