whoah, rippers have already gone to the trouble of engineering their own file format which incorporates the code and data responsible for a game's music (http://ocremix.org/info/GBS_Format_Specification)
of course there are whole databases of GBS files and even sleek players (http://rmconway.com/ostrich/)
the internet is cool sometimes