1 vote Vote

Add an option to disable Auto-Gain Control

Some Android devices introduce Auto-Gain Control (AGC) into the audio stream, which can lead to poor audio quality. Including an option to disable this would lead to cleaner audio in certain situations.

David , 30.06.2014, 19:35
Response from the site administrator
portable, 26.06.2019
Auto-Gain Control will be enabled by default in Version 2.0 of LANmic if API is available on the device. Will try add an option to disable but it may not work as others have pointed out.
Idea status: under consideration


portable, 30.06.2014, 23:31
We will take a look at this for LANmic.
gonzalo, 26.06.2019, 00:21
This issue is a big problem.
Are you willing to add the disable option?
portable, 26.06.2019, 11:45
Please explain why this is a problem. We will add such option if it make sense.
portable, 26.06.2019, 11:50
Have you tried the older version of LANmic without the AGC explicitly enabled and compare the difference?
gonzalo, 26.06.2019, 23:22
I use Lanmic to monitor mi house while I'm not there.
The thing is that some very soft noises aren't "heard" by the app or partially and the stream starts to cut out, or not streamed at all.

I need to be able to hear the permanent "hiss" of the surroundings like the one you get from an open mic.
Is this possible?
portable, 27.06.2019, 11:01
LANmic should stream whether or not the mic detect any sound. If it cuts out or stop streaming, the cause is probably due to other factors.

The Android documentation only say how AGC can be enabled, does not really say how to disable it. There are workaround discussed but may not work on all devices, see https://stackoverflow.com/questions/14377481/how-avoid-automatic-gain-control-with-audiorecord

Disabling Auto-Gain Control maybe possible on some devices but I don't really know what the outcome will be. I don't see any discussion elsewhere about this. It probably make it harder hear soft sound.

Leave a comment