You will have to play this one by ear and keyframe the effect.
Or have a look at Red Giants' Sound Keys.
You want to look into After Effects and Trapcode Sound Keys (can be done with only AE, but then you need to do some audio work, ie. make filtered audio versions for each of the sound ranges (treble, bass. etc) you want key-frames from).
And, maybe you would like to look at: