Basics of LilyPond alternative staffs

If you want to create your own LilyPond music, you should write the music in a form similar to bach-invention-09/bach-invention-09-common.ly. This file is in standard LilyPond format, and the LilyPond website explains how to write LilyPond.

Then copy bach-invention-09/bach-invention-09-template.ly

In the template, change this line to refer to your file:

\include "bach-invention-09-common.ly"

Add this line near the top, replacing 6-6-tetragram with your favorite notation. There is a way to many different notations at once, but that will be explained elsewhere.

#(define notation-style "6-6-tetragram")

Change these lines to determine how many octaves your music covers.

#(define lower-octave -2)
#(define upper-octave 1)

\VoiceOne and \voiceTwoNoClef need to be replaced with something appropriate to your file.

You can add another voice, or another staff, but should read the LilyPond documentation for details on this.

Last modified: Mon Mar 26 11:38:56 PDT 2007