]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/time-signature-midmeasure.ly
Issue 4127: allow mid-measure \time
[lilypond.git] / input / regression / time-signature-midmeasure.ly
1 \version "2.19.16"
2
3 \header {
4   texidoc = "Mid-measure time signature changes must be accompanied by
5 \\partial.
6
7 In this example, no bar numbers should be omitted or repeated, and all
8 double bar lines should have parenthesized bar numbers consistent with
9 the single bar lines.  Both scores should look identical.
10
11 @itemize @bullet
12 @item \\time 2/4 occurs at a negative position
13 @item \\time 6/8 occurs at a position less than the new measure length
14 @item \\time 3/8 occurs at a position equal to the new measure length
15 @item \\time 3/16 occurs at a position greater than the new measure length
16 @end itemize"
17 }
18
19 \score {
20   \relative {
21     \set Score.barNumberVisibility = #all-bar-numbers-visible
22     \override Score.BarNumber.break-visibility = #all-visible
23     \time 2/4 \partial 8
24     a'8 | d4
25     \bar "||" \time 6/8 \partial 4.
26     cis8 b a | \barNumberCheck 2 g2. | \barNumberCheck 3 g4.
27     \bar "||" \time 3/8 \partial 4.
28     f4. | \barNumberCheck 4 f4. | \barNumberCheck 5 f4
29     \bar "||" \time 3/16 \partial 8
30     fis8 | \barNumberCheck 6 g16 a g | \barNumberCheck 7
31   }
32 }
33
34 \score {
35   \relative {
36     \set Score.barNumberVisibility = #all-bar-numbers-visible
37     \override Score.BarNumber.break-visibility = #all-visible
38     \partial 8 \time 2/4
39     a'8 | d4
40     \bar "||" \partial 4. \time 6/8
41     cis8 b a | \barNumberCheck 2 g2. | \barNumberCheck 3 g4.
42     \bar "||" \partial 4. \time 3/8
43     f4. | \barNumberCheck 4 f4. | \barNumberCheck 5 f4
44     \bar "||" \partial 8 \time 3/16
45     fis8 | \barNumberCheck 6 g16 a g | \barNumberCheck 7
46   }
47 }