|
|
GNU LilyPond-- -- |
||||||||||
|
Node:Default contexts, Next:Context properties, Previous:Creating contexts, Up:Interpretation context Default contextsMost music expressions don't need an explicit \score { \notes \context Voice = goUp { c'4 d' e' } }
There are some quirks that you must keep in mind when dealing with defaults: First, every top level music is interpreted by the Score context; in other
words, you may think of \score {
\context Score music
}
Second, contexts are created automatically to be able to interpret the music expressions. Consider the following example. \score { \context Score \notes { c'4 ( d' )e' } }
The sequential music is interpreted by the Score context initially
(notice that the This is a convenient mechanism, but do not expect opening chords to work
without \score { \notes <c'4 es'> }
Of course, if the chord is preceded by a normal note in sequential music, the chord will be interpreted by the Thread of the preceding note: \score { \notes { c'4 <c'4 es'> } }
|
||||||||||
|
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