Lilypad

Lilypad is a RubyGem that improves interaction with the Lilypond music scoring software. This is very much in its early stages.

script/generate lilypad model

Running

ruby script/generate lilypad model

will generate the migrations, models, and controllers for a Lilypad resource. A Lilypad is a Rails ActiveRecord object which can be interpreted by Lilypond to generate sheet music in PDF, PNG, or Midi form. This does require that you have the lilypond command-line utility installed.

WAV and MP3 Generation

If you have timidity and lame installed, you can also generate wav and mp3 files from the generated Midi file. The generated Lilypad has optional methods to support this.

Accessing the Lilypad resouce

The generated resource respond to the following method calls:

to_ly # Lilypond file format
to_png(page)
to_pdf
to_midi
to_wav
to_mp3

Copyright © 2009 Kevin W. Gisi. See LICENSE for details.