On a current project I needed to get RMS volume of the mids of an audio file in 1-second isolated segments. I wrote a bunch of code to do just that...and was floored when my partner pointed out to me that ffmpeg could give me that exact data on the commandline.