Hi folks,
A few years ago I made a music converter and player for ASM’s Ghosts ’n Goblins port, which I posted about here.
The player format is based on a stream of register writes, which is efficient in terms of CPU processing speed, but less efficient in terms of data size. Nevertheless the resulting data sizes are not bad, and it’s certainly usable for MegaROM games, possibly also disk games.
Since then I’ve been toying with the thought of making a framework to build more converters and players like that, and when Norakomi asked for a similar player for the OPL4, I started working on exactly that.
The resulting project is called Re-Play, and it currently supports OPL4, OPM, OPNA and OPNB. The sources can be found on SourceHut.
If you have general questions, or interest in using it, or are looking at doing something similar in a project but using different sound chips, or need some modifications before it’s usable for you, feel free to reply here.