]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/auto-change.ly
Doc-es: various updates.
[lilypond.git] / input / regression / auto-change.ly
index f72c8fa0ba78a4c20bce8b80adde7cff80e9b572..493e97c12fdea31d57af5e49d87a2325e70f7c7b 100644 (file)
@@ -1,10 +1,10 @@
 
-\version "2.7.32"
+\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).
 
 "
@@ -12,10 +12,10 @@ note. When central C is reached, staff is not yet switched (by default).
 \layout { ragged-right= ##t }
 
 \context PianoStaff <<
-  \new Staff = "up" {
-    \autochange  \new Voice << \relative c' { g4 c e d c r4 a g } >>
+  \context Staff = "up" {
+    \autochange  \new Voice << \relative { g4 c e d c8 r r4 a g } >>
   }
-  \new Staff = "down" {
+  \context Staff = "down" {
     \clef bass 
     s1*2
   }