Grumpy_Mike:
It seems like an easy thing to do to me, is it?!
No.
Because a microphone gives you the whole audio waveform. It is only the size of the peaks that determin the loudness.
So you have to do one of a few things
Just filter out the peak readings.
Take an RMS value from a number of readings.
Have an envelope detector between your amplifier and the arduino's input.
thanks both of you!!!
Is this working for that purpose?