]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/time-signature-midmeasure.ly
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / input / regression / time-signature-midmeasure.ly
1 \version "2.19.4"
2
3 \header {
4   texidoc = "Time signature changes in midmeasure generate warnings,
5 except in an anacrusis or when @code{ignoreBarChecks} is true.
6 @code{measurePosition} is reset to 0, so a full measure follows, regardless
7 of the original position.
8
9 This example should end at bar 3, with no barline before the 2/4."
10 }
11
12 #(ly:expect-warning (_ "\\time in mid-measure at 1/4"))
13
14 \score {
15   \relative {
16     \override Score.BarNumber.break-visibility = #all-visible
17     \partial 8 \time 2/4
18     a'8 | d4
19     \time 6/8 \partial 4.
20     cis8 b a | g4. \barNumberCheck 2
21     \set Timing.ignoreBarChecks = ##t
22     \time 12/8
23     fis4. e d
24     \time 2/4
25     \set Timing.ignoreBarChecks = ##f
26     a'2 | \barNumberCheck 3
27   }
28 }