Massive changes - see ChangeLog.
[lilypond.git] / input / regression / auto-change.ly
blobd0fb375e4a05b255f852ac66e6a125b1e0854757
1 #(ly:set-option 'old-relative)
2 \version "1.9.0"
4 \header {
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).
12 \paper { raggedright= ##t }
14 \score {
15 \notes \context PianoStaff <
16 \context Staff = "up" {
17 \autochange Staff \context Voice = VA < \relative c' { g4 c e d c r4 a g } >
19 \context Staff = "down" {
20 \clef bass
21 s1*2