]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/auto-change.ly
* buildscripts/mf-to-table.py (base): break table every three
[lilypond.git] / input / regression / auto-change.ly
1 \version "1.7.18"
2
3 \header {
4
5 texidoc=" Auto change piano staff switches voices between up
6 and down staves automatically rests are switched along with the coming
7 note. When central C is reached, we don't switch (by default).
8
9 "
10 }
11
12 \score {
13         \notes \context PianoStaff <
14         \context Staff = "up" {
15                 \autochange Staff \context Voice = VA < \relative c' { g4 c e d c r4 a g } >
16         }
17         \context Staff = "down" {
18                 \clef bass 
19                 s1*2
20         }
21
22         >
23         
24 }
25