]> git.donarmstrong.com Git - lilypond.git/blob - input/tutorial/sammartini.ly
update syntax in .ly files.
[lilypond.git] / input / tutorial / sammartini.ly
1 \version "1.7.6"
2
3 \include "paper16.ly"
4  
5 viola = \notes \relative c'  \context Voice = viola {
6     <<c g' c>>4-\arpeggio
7     \voiceTwo
8     g'8. b,16
9     s1 s2. r4
10     g
11 }
12
13 oboes = \notes \relative c'' \context Voice = oboes {
14     \voiceOne
15     s4  g8. b,16 c8 r <<e' g>>8. <<f a>>16
16     \grace <<e g>>8-( <<d f>>4-) <<c e>>2
17     \times 2/3 { <<d  f>>8 <<e g>> <<f a>> }
18     <
19         { \times 2/3 { a8 g c }  c2 }
20         \\
21         { f,8 e e2 }  
22     >
23
24     \grace <<c, e>>8-( <<b d>>8.-)-\trill <<c e>>16 | 
25     [<<d  f>>-( <<f a>>8.-)] <<b, d>>8 r [<<d f>>16-( <<f a>>8.-)] <<b, d>>8 r  |
26     [<<c e>>16-(  <<e g>>8.-)] <<c e,>>8
27 }
28
29 hoomPah = \repeat unfold 8 \notes
30     \transpose c c {
31         \translator Staff = down
32         \stemUp
33         c8
34         \translator Staff = up
35         \stemDown
36         c'8 }
37
38 bassvoices = \notes \relative c' {
39     c4 g8. b,16
40     \context Voice \hoomPah
41     \translator Staff = down
42     \stemBoth 
43     
44     [c8 c'8] r4
45     <<g d'>> r4
46     < { r2 <<e c'>>4  <<c g'>>8 } \\
47       { g2-~ | g4 c8 } >
48 }
49
50 \score {
51     \context PianoStaff \notes <
52         \context Staff = up < 
53              \oboes
54              \viola
55          >
56          \context Staff = down < \time 2/2 \clef bass
57              \bassvoices
58          >
59     >
60     \midi { }
61     \paper {
62         indent = 0.0
63         linewidth = 15.0 \cm }
64 }
65 %% new-chords-done %%
66
67