Thanks. Yes, it has a midi player. It doesn't yet do some of the rarer midi commands because it was unnecessary for a game jam with the time available. I also want to create VST files so that you can make music in a DAW with good approximations of RIVES waveforms. When I have those things done I'll open source the code. The player is a c and include file - then people can either drop it in their own things or modify as they wish. I guess if I google a bit I might be able to work out how to compile it into a library that lua can call too.