Processor: Not Relevant
Licensed under a Creative Commons Attribution 3.0 Unported License
The code below will generate coefficients for a digital A-weighting filter. What is an A-weighting filter you say? Perhaps this wikipedia article can help? http://en.wikipedia.org/wiki/A-weighting
Basically, this filter is used to approximate how humans perceive the loudness of a signal by emphasizing/deemphasizing key frequencies on the auditory system. Generate the coefficients base on your sampling rate and then filter you audio signal to see how the ear percieves the signal. Something you might think would be lud turn out to be very tiny and other signals may grow in intensity.
A-weighting can be particularly useful if you are trying to gauge the loudness of turn-on transients (pops and clicks). See wiki article for more details.
* I don't have a source for this, but I have heard from colleagues that A-weighting is used when the listening level is 50 - 90dB SPL. For higher listening levels C-weighting is recommended.