I've written an audio spectrum visualizer as you can see on the following screenshot. It works pretty well but the peaks are not really normalized. I think this is caused by this fact: Equal-loudness contour.
Does anybody know how to get balanced peaks (like a horizontal line)?
Here is my code: https://github.com/frankred/openFrameworks-music-visualization/blob/master/ofApp.cpp