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