Extension:LilyPond

What can this extension do?
You can typeset music with this extension.

Usage
Just enclose some music in LilyPond syntax in ... tags. For example, this code:

f, d f a d f e d cis a cis e a g f e

will yield this image:



If you enclose the music in ... tags, the image will be clickable, and the link will download the MIDI file.

Another option is to use ... tags, which creates a full page of music (i.e. the staff will not be ragged-right).

Installation
Make sure you have LilyPond installed. Then copy LilyPond.php into the extensions/ directory.

Parameters
None.

Changes to LocalSettings.php
require_once("$IP/extensions/LilyPond.php");