Next: Time administration, Previous: Grace notes, Up: Special rhythmic concerns
In an orchestral context, cadenzas present a special problem: when constructing a score that includes a cadenza, all other instruments should skip just as many notes as the length of the cadenza, otherwise they will start too soon or too late.
A solution to this problem is to use the functions
mmrest-of-length
and skip-of-length
. These Scheme
functions take a piece of music as argument, and generate a multi-rest
or \skip
, exactly as long as the piece. The use of
mmrest-of-length
is demonstrated in the following example.
cadenza = \relative c' { c4 d8 << { e f g } \\ { d4. } >> g4 f2 g4 g } \new GrandStaff << \new Staff { \cadenza c'4 } \new Staff { #(ly:export (mmrest-of-length cadenza)) c'4 } >>
Snippets: Rhythms
Next: Time administration, Previous: Grace notes, Up: Special rhythmic concerns
Diese Seite ist für LilyPond-2.11.40 (Entwicklungszweig).
Fehler bitte an http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs melden.
Ihre Vorschläge für die Dokumentation sind willkommen.