gisikw / lilypad

A RubyGem used to create Lilypond-accessible Rails objects

This URL has Read+Write access

name age message
file .document Sat Aug 08 00:04:19 -0700 2009 Initial commit to lilypad. [gisikw]
file .gitignore Sat Aug 08 00:04:19 -0700 2009 Initial commit to lilypad. [gisikw]
file LICENSE Sat Aug 08 00:04:19 -0700 2009 Initial commit to lilypad. [gisikw]
file README.rdoc Sun Aug 09 05:16:23 -0700 2009 Version bump to 0.1.0 [gisikw]
file Rakefile Sat Aug 08 00:09:26 -0700 2009 Initial commit [gisikw]
file VERSION Mon Aug 10 22:36:42 -0700 2009 Small bugfix and rails 2.3 fix [gisikw]
directory generators/ Mon Aug 10 22:35:40 -0700 2009 Fixed small bug [gisikw]
directory lib/ Sat Aug 08 00:04:19 -0700 2009 Initial commit to lilypad. [gisikw]
file lilypad.gemspec Mon Aug 10 22:36:42 -0700 2009 Small bugfix and rails 2.3 fix [gisikw]
directory test/ Sat Aug 08 00:04:19 -0700 2009 Initial commit to lilypad. [gisikw]
README.rdoc

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

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