MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / volta-broken-left-edge.ly
blob0bcac60ab4ec514429ba9b0c9e59b9242ebb7762
1 \version "2.12.0"
3 \header {
4 texidoc ="Broken volta spanners behave correctly at their left edge in all cases."
8 \layout { ragged-right =##t }
13 I recently discovered that although the following patch seemed to fix
14 the original complaint that it causes other problems (the following
15 tests were done in 1.3.116.
17 I have attached a file which has several break-volta interactions.
19 With the test file and unmodified 1.3.116 I see the following:
21 Bar 3 - 1st volta spanner centered on first note - prefer it to start
22 closer to key signature (can live with this)
23 Bar 6 - 1st volta continuation - perfect
24 Bar 9 - 2nd volta spanner starts on left edge of key signature - prefer
25 it to start right of key signature
26 Bar 12 1st volta starts between first two slurred notes in measure -
27 this is not acceptable
28 Bar 17 like above with hairpin.
29 Bar 23 like above (I had expected this to be OK)
30 Bar 20 2nd volta continuation perfect
32 With the test file and 1.3.116 modified as below I see the following:
34 Bar 3 Perfect
35 Bar 6 1st volta continuation starts with staff - oops
36 Bar 9 2nd volta starts on papers left margin - OOPS!
37 Bar 12 Perfect
38 Bar 17 Perfect
39 Bar 20 2nd volta continuation starts with staff - oops
40 Bar 23 Perfect
44 voiceB = {
45 \clef bass
46 \set Staff.instrumentName = "Bass"
47 \set Staff.shortInstrumentName = "B"
48 \key f \minor
49 \time 4/4
51 \repeat volta 2
53 f1 \break
55 \alternative
58 f1 f g \break
59 f e d \break
62 f1 |
66 voiceC = {
67 \repeat volta 2
69 f f
70 \break
72 \alternative
75 { f f }
79 voiceD = {
80 \repeat volta 2
82 f f
83 \break
85 \alternative
87 { f
89 { f f \break f
93 voiceE = {
94 \repeat volta 2
96 f f\break
98 \alternative
105 f f
113 \new Staff
115 \voiceB
116 \voiceC
117 \break
118 \voiceD
119 \voiceE