This document shows examples from the LilyPond Snippet Repository.
In the web version of this document, you can click on the file name or figure for each example to see the corresponding input file.
Quotations take into account the transposition of both
source and target. In this example, all instruments play sounding
central C, the target is a instrument in F. The target part may be
\transpose
d. In this case, all the pitches (including the
quoted ones) will transposed as well.
With \quote
, fragments of previously entered
music may be quoted. quotedEventTypes
will determines what
things are quoted. In this example, a 16th rests is not quoted, since
rest-event
is not in quotedEventTypes
.
Marks can be printed as numbers.
By setting markFormatter
we may choose a different style of mark
printing. Also, marks can be specified manually, with a markup
argument.
The ag
command marks music expressions with a name. These
tagged expressions can be filtered out later. This mechanism can be
used to make different versions of the same music. In this example, the
top stave displays the music expression with all tags included. The
bottom two staves are filtered: the part has cue notes and fingerings,
but the score has not.
This is a Scheme function which prints a tempo mark such as Fast (♩= 222)
transposing-and-naming-instrument-groups.ly
In an orchestral score (Beethoven's Coriolan overture), there are different instrument groups, and some of the instruments may be transposed. Instruments are indicated either with a long or short name.
This page is for LilyPond-2.11.28 (development-branch).
Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.