Your MML string needs to be in a labeled DATA block that ends with DATA 0. For example: @SONGDATA DATA "mml string here" DATA 0 Then you have to use BGMSETD to load it to a BGM track. Such as: BGMSETD 128,@SONGDATA