]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/auto-change.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / auto-change.ly
1
2 \version "2.19.21"
3
4 \header {
5
6 texidoc=" Auto change piano staff switches voices between up
7 and down staves automatically; rests are switched along with the coming
8 note. When central C is reached, staff is not yet switched (by default).
9
10 "
11 }
12 \layout { ragged-right= ##t }
13
14 \context PianoStaff <<
15   \context Staff = "up" {
16     \autochange  \new Voice << \relative { g4 c e d c8 r r4 a g } >>
17   }
18   \context Staff = "down" {
19     \clef bass 
20     s1*2
21   }
22
23 >>
24