]> git.donarmstrong.com Git - lilypond.git/blob - input/tutorial/sammartini.ly
8b48be18137dad63167c3c2495655d6d18ce16b3
[lilypond.git] / input / tutorial / sammartini.ly
1 \include "paper16.ly";
2
3 stemdown = \property Voice.Stem \override #'direction = #-1
4 stemup = \property Voice.Stem \override #'direction = #1
5 stemboth = \property Voice.Stem \revert #'direction  
6
7 viola = \notes \relative c' \context Voice = viola {
8         <c4-\f-\arpeggio g' c>
9         \stemdown g'8. b,16
10         s1 s2. r4
11         g
12 }
13
14 oboes = \notes \relative c'' \context Voice = oboe {
15         \stemup s4  g8. b,16 c8 r <e'8.^\p g> <f16 a>
16         \grace <e8( g> <d4 f> <c2 e> \times 2/3 { <d8 \< f> <e g> <f a> }
17         <
18           { \times 2/3 { a8 g c } \! c2 }
19           \context Voice = oboeTwo {
20                 \stemdown
21                 \grace {
22                   \property Grace.Stem \override #'direction = #-1
23                   [f,16 g] }
24                 f8 e e2
25         } >
26         \stemboth
27         \grace <c,8( e> <)b8. d8.-\trill> <c16 e> | 
28         [<d ( f> < )f8. a>] <)b,8 d> r [<d16( f> <f8. )a>] <b,8 d> r  |
29         [<c16( e>  < )e8. g>] <c8 e,>
30 }
31
32 hoomPah  =  \repeat unfold 8
33   \notes  \transpose c' { c8 \stemdown c'8 \stemup }
34
35 bassvoices = \notes \relative c' {
36         c4 g8. b,16
37         \autochange Staff \hoomPah
38         \translator Staff = down
39         \stemdown [c8 c'8] r4
40         <g d'> r4
41         < {\stemup r2 <e4 c'> <c8 g'> }
42           \context Voice = reallyLow  {\stemdown g2 ~ | g4 c8 } >
43 }
44
45 \score {
46         \context PianoStaff \notes <
47                 \context Staff = up < \time 2/2;
48                         \viola
49                         \oboes
50                 >
51                 \context Staff = down < \time 2/2; \clef bass;
52                         \bassvoices
53                 >
54         >
55         \midi { }
56         \paper {
57           indent = 0.0;
58           linewidth = 15.0 \cm; }
59 }