Sound real-time spectral analysis frequency peaks
If you are familiar with python, i suggest you have a look to the scipy.fft module. 

To use the scipy module inside blender you need to install python3.x on your computer and then pip3 install scipy. Then in a terminal, lunch python and type import scipy; scipy. If everything went well, you have the path to the scipy module. 

Then in blender, type:

import bpy
import sys
sys.path.append(PATH_TOSCIPY')
import scipy
from scipy.fftpack


Then you'll need to compute the fft and do you stuff (see more details for this here https://stackoverflow.com/questions/23377665/python-scipy-fft-wav-files)

Cheers