It used to be easy to add melodic sounds to a program. For example, GW Basic supported the PLAY keyword, which took a simple string notation and played it. Wikipedia refers to this notation as Music Macro Language (MML).

Nowadays, one usually needs to use something like Midi. With this Silverlight 3 app, you can generate Midi from MML notation. Just type in your MML, then click the "Save Midi file..." button to save the generated Midi file to your local hard drive.


L4CCGGAAG2 (Save as "abc.mid")
L8C4C4CDE4EDEFG2 (Save as "rowboat.mid")

Try it!

Note: Depending on your browser, you may have to restart the browser after installing the Silverlight plug-in (if you do not already have it installed).

Get Microsoft Silverlight