Thursday, March 3, 2011

Putting the "MML" in MMLTracker

You might be wondering where the MML part of this whole equation comes in. I anticipate it working like this: nothing about the object structure I described previously is specific to MML, or to any particular platform. This is by design. One of the things MMLTracker will do is output MML for the target platform, probably by passing the Song to an MMLWriter that will go through the Sequence one Pattern at a time, outputting the MML for that Pattern. I'm really interested, however, in making this thing output not only MML, but native code (.VGM, .NSF, etc) for the target platform as well. I'm anticipating doing this simply (hah) by writing a new Writer (VGMWriter, NSFWriter) that will be passed the Song and will output a file of the appropriate format.

On the topic of whether MMLTracker will take MML as input, that's still up in the air. Taking MML as input requires me writing an MML parser, and writing parsers sucks.

No comments:

Post a Comment