There is a 2-pin pc Speaker pin interface on your motherboard, which is adjacent to the power pin reset pin and hard disk light pin power pin on the motherboard
Put the speaker Just connect the two wires to a small plug and plug it in directly, or you can just solder it directly.
However, obviously, it is more difficult to reach the level of listening to music...
p>
So, it is recommended that you get a 3.5mm headphone connector to connect to the speaker, and then plug the connector into the audio interface of the motherboard honestly