X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fauto-change.ly;h=493e97c12fdea31d57af5e49d87a2325e70f7c7b;hb=b872748c6aa8bb721ced458691b38ac2fac5dfc8;hp=55ceabbbd2cebfd10c8c8f9e3aba822b3dd18984;hpb=7e8d660df15820c540b74a4ab74d175284cd9008;p=lilypond.git diff --git a/input/regression/auto-change.ly b/input/regression/auto-change.ly index 55ceabbbd2..493e97c12f 100644 --- a/input/regression/auto-change.ly +++ b/input/regression/auto-change.ly @@ -1,27 +1,24 @@ -\version "2.1.30" +\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 + } - >> - -} +>>