¿ªÔÆÌåÓý

Re: Audio AVC


 

You wouldn't even need to do that; you can just drop the gain by say 1/4 or so immediately in software and get ready for another interrupt. If the gain is still above the analog comparator level you'll soon get another interrupt and soon drop the gain another 1/4. The microcontroller side response would be effectively instantaneous assuming no-one disables interrupts. Analog comparator interrupts are good for hacks like that.

Once it's not triggering the comparator anymore you can take your time bringing the AGC back up.


-adrian


On Wed, 24 Apr 2019 at 11:32, Hasan Murtaza <hasmanean@...> wrote:
Oh for a fast attack, you probably want to use an analog comparator (some microcontrollers have them) that triggers an interrrupt, which switches a mosfet on to either shunt in a low values resistor or something until the AGC loop filter has time to decide how much gain is needed.?

Hasan

Join [email protected] to automatically receive all group messages.