I'm not sure how to do this yet, as it generates the music on the fly rather than pre-rendering it. Also, I haven't found any midi libraries for Game Maker yet.