How to implement a sound/decibel meter like in Splinter Cell Chaos Theory?

I would like the meter on the Player HUD to record the loudest decibel within a twenty foot radius, I want it to be dynamic, so if someone fires a gun next to the player, the meter will reach 100%.

Here is a video for reference.

You’ll notice the sound meter changing when the player begins the zip line.