PC speaker sounds

Doom was equiped with a PC driver to play sound effects through the PC speaker. Due to limitations in the PC speaker, which could only handle sound on/off + different frequencies, each sound had to be constructed in a 2D array containing first the frequency, and the length of the beep.

This is only speculations of how the sound format was constructed and hasn't been verified.