This is a simple VGM player. It plays VGM and VGZ files which can be downloaded at vgmrips.net. Currently, the following chips are supported:
- GA20
- RF5C68
- YM2151
- YM2203
- YM2612
The Yamaha sound chips are emulated via ymfm.
For the YM2203, there is also an alternative implementation which can be enabled via -s
.
It is not trying to be super accurate, but it sounds not too bad IMO and the code is very simple.
I gave each voice a different panning to make it sound more interesting.
Check out the code here.
There are some really great soundtracks out there for the YM2203, e.g. EVE Burst Error, Xenon: Mugen no Shitai, Sorcerian, Ys, and Ys II.