How get level of microphone with alsa lib?

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
dlopezsk
Posts: 1
Joined: Wed Mar 28, 2012 8:10 am
Operating System: Please select

How get level of microphone with alsa lib?

Post by dlopezsk » Wed Mar 28, 2012 8:43 am

Hi all,

I'm new in this forum .I need get level of microphone but I don't know who do it. Any ideas or any example? I forward to do it in google and web alsa but I don't find.

I find an example that it's getting level in realtime,for example, the micro listens if will be noise or not. If will be noise it gets volume for example 25dB and if won't be noise it gets volume 0dB.

Can you help me, please?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: How get level of microphone with alsa lib?

Post by Gale Andrews » Sat Mar 31, 2012 4:08 am

Are you a programmer or a user?

You can view and change the input level of devices in alsamixer.
http://upload.wikimedia.org/wikipedia/c ... amixer.png



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply