]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/auto-change.ly
patch::: 1.5.4.jcn3
[lilypond.git] / input / regression / auto-change.ly
1 \version "1.3.146"
2
3 \header{
4 texidoc="
5 Auto change piano staff switches  voices  between up and down staves
6 automatically rests are switched along with the coming note.
7 "
8 }
9
10 \score {
11         \notes \context PianoStaff <
12         \context Staff = "up" {
13                 \autochange Staff \context Voice = VA < \relative c' { g4 a  b c d r4 a g } >
14         }
15         \context Staff = "down" {
16                 \clef bass 
17                 s1*2
18         }
19
20         >
21         
22 }