The msgeq7 is a graphic equalizer chip. I wired it according to the website http://nuewire.com/info-archive/msgeq7-by-j-skoba/
I did not put the decoupling .1uf capacitors. I am using my computer for a power supply and the arduino so I guess that won't be a problem. I used the tonegenerator described to generate a tone in a particular frequency as mentioned in the website.
The problem I'm facing is that the nearby bands also go up when one particular frequency is playing. Unless I am playing an extremely low or an extremely high frequency in that case only the 1st or the last band go up.
Using the same code as the website