Yep, it's in MML format. Google 'Music Macro Language' - there's even some BASIC code on the wikipedia page for it which should help!