Raffaello/sdl2-hyper-sonic-drivers

OPL/AdLib Doom MUS file does not sound exactly the same

Closed this issue · 3 comments

It looks like the AdLib driver for MUS driver used in DMX/Doom is slightly different and produces slightly different instruments sounds.

At the moment is acceptable, but it might look for a further improvement later on, like it has been done in
https://github.com/Wohlstand/libADLMIDI

as it uses some OPL Banks file for specific instrument sound settings.

also:
https://moddingwiki.shikadi.net/wiki/AdLib_Instrument_Bank_Format

there is a GENMIDI OPL2 file bank in doom wad for that.
how to read it look at this file:
https://github.com/fielder/NWT/blob/master/musplay.c

GitHub
New Wad Tool for DOOM and Heretic WAD manipulation - NWT/musplay.c at master · fielder/NWT

https://github.com/fielder/NWT/blob/master/adlib.c#L198

GitHub
New Wad Tool for DOOM and Heretic WAD manipulation - NWT/adlib.c at master · fielder/NWT