In this circuit a 12 V lamp or LED blinks with the music signal applied to the input. R depends on the power of the audio amplifier and typical values range to 22 ohm to 470 ohm for amplifier ranging from 5 to 100 W. The transistor must be mounted on a heatsink.
Rhytmic Lamp AC and 12 V