audio_histogram is a program that generates histogram data of samples and RMS values. libsndfile is required to build it.