]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/auto-change.ly
ee0b5d18ba8dbfacfb10adef9655219d65f483f9
[lilypond.git] / input / regression / 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 }