Turn on LED when Waveshield plays a .wav

Please post the whole program so the problem can be seen in context