The Dark Art of DOS Audio: PC Speaker Tricks and PWM Madness

Think the old PC speaker was only good for making awful beeps? Yeah, me too—until I started digging into how it actually works.

#MSDOS #BorlandCPP #RetroCoding #DOSDev #chiptune

Watch the video


In this video, I go down the rabbit hole of early PC audio. It starts simple: how sound is made in the first place, then some hands-on fun using Borland C++ to get the PC speaker beeping. From there, I build up to playing a proper little tune.

But things get wild after that.

I take a shot at playing a full WAV file using nothing but PWM trickery — all through the original PC speaker, no sound card required. Then I explore how games like Commander Keen and Duke Nukem handled audio, and show off some absolutely wild DOS demos that somehow managed to squeeze real sampled sound out of a one-bit speaker.

It’s weird, clever, and kind of brilliant — all at the same time.

Subscribe

Support

Related Content

  • Davinci Resolve Proxy Files March 6, 2025

    thumbnail
  • Davinci Resolve Collaboration March 3, 2025

    thumbnail
  • Borland C Dos Programming February 27, 2025

    thumbnail
  • About Me January 3, 2025

    thumbnail
  • Support January 3, 2025

    thumbnail

Recent Content

  • The Dark Art of DOS Audio: PC Speaker Tricks and PWM Madness August 11, 2025

    ...
  • Writing a Roguelike in C Part 1 August 11, 2025

    ...
  • Digital Graffiti - Programming 1990s PC Demoscene Effects August 11, 2025

    ...