A simple tutorial on creating an audio histogram:
Great!
Alternative approach using feedback on this tutorial.