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