15
Sep

LilyPond & Textmate Make Beautiful Music

   Posted by: Jeff Owens   in Music, Product Review

This weekend I finally got a chance to take the music notation software LilyPond for a spin. I had heard of the open source project and was anxious to try it out. As a former Finale and Sibelius user I must admit to being a bit skeptical about its capabilities. I was pleasantly surprised to find the documentation and examples on the website helpful in getting started. For my first attempt with the software I kept it simple. Since my eight-year-old son is now taking piano lessons, I decided to compose a simple Minuet in the Baroque style. Here is an excerpt of the beginning of the Minuet that LilyPond created:

Minuet in G

To create a piece you simply need a text editor. Being a programmer I chose my favorite editor TextMate. Before beginning to create my masterpiece (ahem) I did a quick check to see if there was a TextMate bundle for LilyPond. Low and behold there was. An hour-and-half later I had completed the piece and was impressed by the results. LilyPond creates a MIDI file for you as well if you tell it to. Getting it to follow the repeats took a little work, but once I found the right command, it worked fine. Below are all of the Minuet files:

Minuet in G (.ly)
Minuet in G (PDF)
Minuet in G (.mp3)
Minuet in G (MIDI)

The .mp3 file was created by importing the MIDI file into GarageBand, selecting two different MIDI instruments, and exporting. Check out the PDF link above to see the final output. Then take a look at the .ly file to see how LilyPond and Textmate make beautiful music together.

Tags: , , , , , , ,

This entry was posted on Saturday, September 15th, 2007 at 3:45 pm and is filed under Music, Product Review. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

5 comments so far

 1 

I haven’t been able to find this bundle on the Interwebs, can you post a link?

March 25th, 2008 at 7:55 pm
admin
 2 

Sure Jacob. You can use the following link to download a bash script that will install the bundle:

http://netcetera.org/cgi-bin/tmbundles.cgi#Lilypond

Or check it out from subversion directly:

svn –username anon –password anon co http://macromates.com/svn/Bundles/trunk/Bundles/Lilypond.tmbundle/

March 26th, 2008 at 6:03 am
Jeff
 3 

The LilyPond Textmate bundle has moved (along with all the other Textmate bundles) to a new server. The URL is now:

http://svn.textmate.org/trunk/Bundles/LilyPond.tmbundle

October 14th, 2009 at 8:36 am
 4 

Cool topic. I generally wish to read as much about this as I can.

November 30th, 2010 at 10:12 am
Andrew Miner
 5 

It seems the repository has moved again: https://github.com/textmate/lilypond.tmbundle.git

Of course, you’ll need to use git to download it now. :-)

December 9th, 2010 at 11:39 am

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment