This code accepts a URL to an MP3 file and a frameRate and outputs an XML list of Average Volume and Peak Volume by video frame as a floating point value between 0 and 1, with 0 being silence and 1 being full loudness.

URL to MP3 File:

Video Frame Rate (Frames Per Second):