FYI: In the original DOS era, you needed an add-on sound card (such as the SoundBlaster16) to get sound and digital music in games like DOOM.
But the AC97 replaced the add-on cards, and the old DOS games don't know how to talk to AC97.
SBEMU provides SoundBlaster emulation with OPL3 for AC97, and could be a way to play classic DOS games on newer PC hardware.
You can find it at SBEMU on GitHub: