X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fauto-change.ly;h=493e97c12fdea31d57af5e49d87a2325e70f7c7b;hb=77267b700c377fd170abcbf4863728937038eb5e;hp=d3f1111c9e970c592551d3deade13d81816a75ac;hpb=9e46baedcca4e12733b6f9616a406acf03366c68;p=lilypond.git diff --git a/input/regression/auto-change.ly b/input/regression/auto-change.ly index d3f1111c9e..493e97c12f 100644 --- a/input/regression/auto-change.ly +++ b/input/regression/auto-change.ly @@ -1,27 +1,24 @@ -\version "2.1.22" +\version "2.19.21" \header { texidoc=" Auto change piano staff switches voices between up -and down staves automatically rests are switched along with the coming +and down staves automatically; rests are switched along with the coming note. When central C is reached, staff is not yet switched (by default). " } - \paper { raggedright= ##t } +\layout { ragged-right= ##t } -\score { - \notes \context PianoStaff << - \context Staff = "up" { - \autochange \context Voice = VA << \relative c' { g4 c e d c r4 a g } >> - } - \context Staff = "down" { - \clef bass - s1*2 - } +\context PianoStaff << + \context Staff = "up" { + \autochange \new Voice << \relative { g4 c e d c8 r r4 a g } >> + } + \context Staff = "down" { + \clef bass + s1*2 + } - >> - -} +>>