I’ve released my PCM player for the YM2413 OPLL MSX-MUSIC.
Not only does it play PCM in high 8-bit quality, but it also shows a nice wave visualisation effect while doing so. It requires MSX2, MSX-DOS2, and several megabytes of memory is recommended.
It works by forcing the phase generator to hold on a specified phase using test register bit 2. This allows it to index into the sine table and produce accurate near 8-bit sample playback with a simple inverse lookup table.
The playback is timed by synchronizing to the VDP line drawing frequency, which provides a good high-frequency timer on MSX2 that is CPU speed independent. Additionally it lets us render the nice visualisation.
Project page:
http://www.grauw.nl/projects/fmpcm/
Login or register to post comments