|
|
GNU LilyPond-- -- |
||||||||||
|
First stepsWe start off by showing how very simple music is entered in LilyPond:
you get a note simply by typing its note name, from c d e f g a b
then the result looks like this: We will continue with this format: First we show a snippet of input, then the resulting output. The length of a note is specified by adding a number, a1 a2 a4 a16 a32
If you don't specify a duration, the previous one is used: a4 a a2 a
A sharp (#) is made by adding cis1 ees fisis aeses
Add a dot a2. a4 a8. a16
The meter (or time signature) can be set with the
\time 3/4
\time 6/8
\time 4/4
The clef can be set using the \clef treble
\clef bass
\clef alto
\clef tenor
When you enter these commands in a file, you must to enclose them in
\notes {
\time 3/4
\clef bass
c2 e4 g2.
f4 e d c2.
}
Now the piece of music is almost ready to be printed. The final step is to combine the music with a printing command. The printing command is the so-called \score {
\notes {
\time 3/4
\clef bass
c2 e4 g2.
f4 e d c2.
}
\paper { }
}
|
||||||||||
|
Go back to index of LilyPond.
Please send GNU LilyPond questions and comments to lilypond-user@gnu.org. Please send comments on these web pages to (address unknown) Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
|||||||||||
This page was built from LilyPond-1.6.6 (stable-branch) by