85
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''#lang music''' is a project that Michael Gunantra and I did for IU's C424 class. It's a music notation language inspired by MML, but instead of manipulating and concatenating strings, it's a structured language with full support for manipulating notes and bars. | '''#lang music''' is a project that Michael Gunantra and I did for IU's C424 class. It's a music notation language inspired by [https://en.wikipedia.org/wiki/Music_Macro_Language MML], but instead of manipulating and concatenating strings, it's a structured language with full support for manipulating notes and bars. | ||
It was done in | It was done in Racket and outputs MIDI data. The playback routine is still a little buggy but it's a fun prototype to play with nonetheless. | ||
= | <b><span style="font-size:180%"> | ||
[https://github.com/SuperDisk/lang-music Github] | |||
</span></b> | |||
= Example = | |||
Here's the intro to ''Sweet Child O' Mine'' that Michael coded up. | |||
<syntaxhighlight lang="Scheme"> | <syntaxhighlight lang="Scheme"> | ||
Line 65: | Line 71: | ||
))) | ))) | ||
</syntaxhighlight> | </syntaxhighlight> | ||