Graphic equalizer

Is it possible to get current playing song equalizer? I would like to make LEDs blinking according to sound on Raspberry Pi.