I found the file I was referring to in MAME: fmopl.c (http://www.mame.net, it is in the src/sound (AFAIR) directory of the source).
It is a OPL2 (YM3812) software emulator, and it is not hard to strip out the unnecessary bits to get it usable for other projects. I made a quick music converter and the results sound pretty decent.
Possibly I'll see about integrating it into WolfGL.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Perhaps use Adplug's OPL2 engine or mame's ym3812 (OPL3)
emulator to play the music and synth effects back? It would
keep it about as close to the original as possible.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe add a YM3812 emulator (I know MAME has one), since the sounds and music are pretty much raw OPL2 register data?
Yeah. Thats a point! Somehow i miss the good olde wolf-music.
solutions?
I found the file I was referring to in MAME: fmopl.c (http://www.mame.net, it is in the src/sound (AFAIR) directory of the source).
It is a OPL2 (YM3812) software emulator, and it is not hard to strip out the unnecessary bits to get it usable for other projects. I made a quick music converter and the results sound pretty decent.
Possibly I'll see about integrating it into WolfGL.
Logged In: NO
Perhaps use Adplug's OPL2 engine or mame's ym3812 (OPL3)
emulator to play the music and synth effects back? It would
keep it about as close to the original as possible.