Keeping a constant audio level - Is it possible?

I'm new to micro controlers, and I'm wondering if the following concept is possible.

Would it be possible to put an audio input into the arduino, then boost any soft sounds to the same level as load sounds, therefore makeing every sound effectivly the same audio level and output that from the ardunio.

Regards
Nick

Not with any quality to the sound. The A/D is only 10 bits so there is not much dynamic range for what you want, think telephone quality.

Hi,

You could have Arduino be the Controller for a variable-gain amplifier, and detect the outgoing signal level to adjust the gain.

But there are chips that do all that already.

Unless you wanted to analyze what was happening, and save the amplifier gain values, it doesn't seem worthwhile...

Take a look at the ON SEMI SA571 compandor. If you google "on semi AGC, you'll find an application note that should help you out!