@cindex unmetered music
Bar lines and bar numbers are calculated automatically. For
-unmetered music (cadenzas, for example), this is not desirable.
+unmetered music (some cadenzas, for example), this is not desirable.
To turn off automatic calculation of bar lines and bar numbers,
use the command @code{\cadenzaOn}, and use @code{\cadenzaOff}
to turn them on again.
@cindex aligning to cadenza
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.
+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.
-A solution to this problem is to use the functions
+One solution to this problem is to use the functions
@code{mmrest-of-length} and @code{skip-of-length}. These Scheme
-functions take a piece of music as argument, and generate a multi-measure
-rest or @code{\skip}, exactly as long as the piece.
+functions take a defined piece of music as an argument and generate a
+multi-measure rest or @code{\skip} exactly as long as the piece.
@lilypond[verbatim,ragged-right,quote]
-cadenza = \relative c' {
+MyCadenza = \relative c' {
c4 d8 e f g g4
f2 g4 g
}
\new GrandStaff <<
- \new Staff { \cadenza c'1 }
+ \new Staff {
+ \MyCadenza c'1
+ \MyCadenza c'1
+ }
\new Staff {
- #(ly:export (mmrest-of-length cadenza))
+ #(ly:export (mmrest-of-length MyCadenza))
+ c'1
+ #(ly:export (skip-of-length MyCadenza))
c'1
}
>>
@seealso
+Music Glossary:
+@rglos{candenza}.
+
Snippets:
@rlsr{Rhythms}.