]> git.donarmstrong.com Git - lilypond.git/blob - input/template/piano-4-voices.ly
update syntax in .ly files.
[lilypond.git] / input / template / piano-4-voices.ly
1 \version "1.7.6"
2
3 \header {
4   texidoc ="Polyphonic piano music"
5 }
6
7 upperOne = \notes\relative c'' {
8   \voiceOne
9   a b c d
10 }
11
12 upperTwo = \notes\relative c' {
13   \voiceTwo
14   a2 c
15 }
16
17 lowerOne = \notes\relative c {
18   \voiceOne
19   a2 c
20 }
21
22 lowerTwo = \notes\relative c {
23   \voiceTwo
24   a1
25 }
26
27 \score {
28   \context PianoStaff <
29     %\time 4/4
30     \context Staff = upper <
31       \context Voice = one \upperOne
32       \context Voice = two \upperTwo
33     >  
34     \context Staff = lower <
35       \clef bass
36       \context Voice = one \lowerOne
37       \context Voice = two \lowerTwo
38     >  
39   >
40   \paper { }  
41   \midi { }  
42 }