Next: , Previous: Grace notes, Up: Special rhythmic concerns


1.2.6.2 Aligning to cadenzas

In an orchestral context, cadenzas present a special problem: when constructing a score that includes a measured cadenza or other solo passage, all other instruments should skip just as many notes as the length of the cadenza, otherwise they will start too soon or too late.

One solution to this problem is to use the functions mmrest-of-length and skip-of-length. These Scheme functions take a defined piece of music as an argument and generate a multi-measure rest or \skip exactly as long as the piece.

     
     MyCadenza = \relative c' {
       c4 d8 e f g g4 
       f2 g4 g
     }
     
     \new GrandStaff <<
       \new Staff { 
         \MyCadenza c'1 
         \MyCadenza c'1
       }
       \new Staff {
         #(ly:export (mmrest-of-length MyCadenza))
         c'1
         #(ly:export (skip-of-length MyCadenza))
         c'1
       }
     >>

[image of music]

See also

Music Glossary: cadenza.

Snippets: Rhythms.

This page is for LilyPond-2.11.58 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: français, español.