Getting the Sound Volume of a Frame?

Before I begin, I know almost nothing of Python scripting.

I was messing around with the console, and wondering if there was a way to get the sound volume of a specific frame, and in what modules I might find this.

Overall, I want to make a script that adds emission keyframes for an object based off of the volume of a song in the sequencer.