how to sync leds with the beat?
This circuit practically shorts the amp's output through the base-emitter junction (less the junction and diode voltage drops).  If you want to use a bipolar transistor, a resistor could be used to limit the base current and emitter/LED current...

Is your amp DC-coupled?  Can your transistor handle a 40v Vbe?  Those could have contributed to the overheating...