Let’s Code MS DOS 0x39: Samples on the PC Speaker

The PC speaker is known for loud, harsh beeping noises. However with a little bit of trickery we can coerce it into producing almost arbitrary sounds. By manipulating it with the built in time chip, we can simulate a pulse width modulation, that allows us to play pulse code modulated digitized sounds, such as voice recordings.

Leave a Reply

Your email address will not be published.