MusicGen is a project mainly written in C++ and C, it's free.
A system for vertical and horizontal rearrangement of music on the fly, for games.
404: Not Found