You should use this version instead; it's better.
Note that this uses a bilinear transform and so is not accurate at high frequencies.
Apply an A-weighting filter to a sound stored as a NumPy array.
Use Audiolab or other module to import .wav or .flac files, for example. http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/audiolab/
Translated from MATLAB script (BSD license) at: http://www.mathworks.com/matlabcentral/fileexchange/69
@endolith
Hi!
I've been testing your code and Idon't fully get it: It doesn't weight the signal at high frequencies. here's a fig with:
As you can see, the polynom tends to zero for high frequencies, causing the curve 3 to diverge from the expected result...
![image](https://user-images.githubusercontent.com/92168055/136571850-7752c8c5-5d8b-44d0-8fba-b2ef6f95ba43.png)
I've buid up a polynom that gives exactly the same response as the norm coefficients (note the minus sign on A1000), but still, when i convert it to an analog filter with bilinear, the output is irrelevant :
Any idea to confirm / correct this?
BR