![]() |
GNU LilyPond-- -- |
||||||||||
|
Node:Music expressions, Next:Manipulating music expressions, Previous:Identifiers, Up:Syntactic details Music expressionsMusic in LilyPond is entered as a music expression. Notes, rests, lyric
syllables are music expressions, and you can combine music expressions
to form new ones, for example by enclosing a list of expressions in
\sequential { c4 d4 } The two basic compound music expressions are simultaneous and sequential music. \sequential For both, there is a shorthand:
for sequential and
for simultaneous music. In principle, the way in which you nest sequential and simultaneous to produce music is not relevant. In the following example, three chords are expressed in two different ways: \notes \context Voice { <a c'> <b d'> <c' e'> < { a b c' } { c' d' e' } > } However, using < and > for chords turns up various
syntactical peculiarities. For this reason, a special syntax for
chords was introduced in version 1.7: << >> .
Other compound music expressions include \repeat expr \transpose from to expr \apply func expr \context type = id expr \times fraction expr |
||||||||||
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.7.14 (development-branch) by