Use an LM386N-1 in DIP-8, notch at the top of the drawing. The TI LM386 datasheet gives its pinout, supply limits and application circuits. Pins 1 and 8 stay open for the default voltage gain of 20. This is a small speaker project, not a specified high-power amplifier; clipping, supply quality and temperature limit the usable output.
Follow the signal. J1 is a mono audio input with a shared ground. C5 blocks source DC before the 10 kΩ volume pot. Connect the pot's outer terminals to AUDIO and GND, and its wiper W to pin 3. Pin 2 is grounded. Check the actual pot terminals with a meter; a panel-mounted pot connects by short insulated leads to the three drawn pads. Start with the wiper near ground. Do not join left and right source outputs directly; use one channel or a separate resistor mixer.
Follow the output. Pin 5 goes to C2's positive terminal; the capacitor's negative terminal goes to J2 speaker positive. The other speaker lead goes to GND. The capacitor keeps the output's DC bias away from the speaker. Never replace C2 with a wire. R1 and C4 form a separate series stabilization branch from OUT to GND, not a resistor in series with the speaker. The board uses 47 nF, the common nearby value to the datasheet's 0.05 µF application capacitor.
Power and assembly. J3 is the 9 V input. C1 is local ceramic supply bypass, C6 is bulk supply capacitance and C3 bypasses pin 7. Electrolytic positive terminals face the supply, bypass pin or chip output as shown. Use parts rated above the supply voltage. Keep supply bypass and output stabilization leads short, and keep input wiring away from the speaker return. Long wire loops on perfboard can hum or oscillate despite a correct netlist.
Use isolated-pad perfboard. The long top and bottom wires are explicit supply and ground connections; pads are not connected by hidden copper strips. Insulate crossing jumpers. The diagram is viewed from the component side, so identify the mirrored positions before soldering underneath. A passing check establishes connectivity only: it does not test audio gain, capacitor quality, oscillation, noise or component heating.