There used to be a program called QMIDI (Windows), but I don't know if it exists anymore. Plus: There's no way to get programs to the SB without some sort of other method to get programs from .txt files on your SD card that if I mention how, it'll probably get me into trouble. What I mean is even if there was, it'd be a pain to get the generated MML file onto the 3DS