When I drive to work in the morning it's dark and cold, so I have the headlights on and heater on also. Problem is, when I also have music blasting the stereo automatically turns off when the car's RPM goes down to idle. I can only solve this if I back off the volume or turn off something else.
Why is this so?

Battery, alternator or wiring?