]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/auto-change.ly
Imported sources
[lilypond.git] / input / regression / auto-change.ly
1
2 \version "2.1.18"
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, we don't switch (by default).
9
10 "
11 }
12     \paper { raggedright= ##t }
13
14 \score {
15         \notes \context PianoStaff <<
16         \context Staff = "up" {
17                 \autochange  \context Voice = VA << \relative c' { g4 c e d c r4 a g } >>
18         }
19         \context Staff = "down" {
20                 \clef bass 
21                 s1*2
22         }
23
24         >>
25         
26 }
27