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