An audio amplifier, for use between a pair of speakers and the line out socket of a computer, is fitted into the case of a PP3 (9V) battery.
The amplifier works on 12 Volts which may be tapped from inside the computer. A socket is fitted for connecting the speakers, and the input is fed in by a cable to be terminated in a stereo EP jack.
Step 1: Tpa1517 Stereo Amplifier
This is a stereo power amplifier of about 6W per channel (according to the manufacturer of the chip, Texas Instruments) which has a remarkably low component count.
The chip, two large electrolytics, and three smaller capacitors will make the amplifier complete. I am adding an output socket too, on board. The input shall be via a stereo cable and there has to be a 12 Volt supply line, as well.
The picture is of the major components arranged on a blank piece of PCB.