Weighting Functions
These octave functions create a look up table with the desired sample rate and fft bins for A or C weighting, using UNE-EN ISO 61672.
The output in octave looks like this:

And they generate a csv file that you can use for implementation or other things.