Synch pulsing light to heartbeat

Is there a way to make some sort of equalizer?
I have a very simple sound effect, a heartbeat, and I want a light to adapt automatically to changes in it’s tempo.
Is something like that possible?
I’m really still a novice at this, so something simple would be greatly appriciated!

This code is written to scale a transform, but just change line 27 to alter the intensity of a light instead: Editing height relative to audio levels. - Unity Answers

A few years too late, but this asset let’s you do exactly that: