Re: [LAU] automatic gain control

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Tue Aug 11 2009 - 02:27:45 EEST

On Tue, Aug 11, 2009 at 09:18:59AM +1000, James Cameron wrote:

> I've been asked to look into making an autonomous sermon recording
> device that will be attached to a monitor output of a front of house
> public address system.
>
> I'm probably going to write it in Python with either a gstreamer or ALSA
> interface ... but getting to my question ...
>
> ... is anyone aware of an automatic input gain control filter that can
> be applied, that will change the capture levels on the card, to ensure
> that peaking is avoided yet a reasonable amount of signal is captured?

With a decent audio card you should be able to set the HW gain
so that there's no overload ever, and do the rest of the processing
on the digital signal. Many cards have stepped mixer gains anyway,
making it more or less impossible to use the mixer settings for auto
gain control.

For the processing a slowly acting compressor should do the trick.
Best would be one with a 'hold' function, to prevent it raising
the gain if there is a longer pause.

Ciao,

-- 
FA
Io lo dico sempre: l'Italia è troppo stretta e lunga.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Tue Aug 11 04:15:06 2009

This archive was generated by hypermail 2.1.8 : Tue Aug 11 2009 - 04:15:06 EEST