]> git.donarmstrong.com Git - lilypond.git/blob - input/rhythm.ly
release: 0.0.42.pre3
[lilypond.git] / input / rhythm.ly
1 %
2 %       Ive' got rhythm!
3 %
4 % add any impressive examples here, please
5
6 ritme = \staff {
7         \melodic
8
9         \music { 
10         c8                                      |
11
12         [a8() a8. a8 a16 a16 a16] c4.           |       % watch the beams!
13          r32 r32 r16 r8 r4 r2                   |
14         \meter{  5*16}
15
16         % divide measure in 5 equal parts. Usually it 2+3 or 3+2
17         \grouping { 5*16 }      
18         [c8 c16 c8 ]                            |       % watch THIS!
19         \plet{5/4} [c16 c16 c16 c16]\plet{1/1} |
20         \meter{  2*8}
21         c4                              |
22         c4      c4      c4      c4
23         \meter {4*4}
24         c1 c1 c1
25         
26 %       [c16 c16 c16 c16 ]                      |
27 %       [c16 c16 c16 c16 c16 ]                  |
28 %       [c16 c16 c16 c16 c16 ]                  |       
29         
30          }
31
32         %
33         % The \co\mmands section takes the same stuff that \music { } takes;
34         % the \co\mmands issued below could have been issued inside the above
35         % \music block;
36         %
37
38         \co\mmands {    % override "\co\mmands" section of Score.
39                 \partial {1*8}  % doesnt' have to be here. 
40                 \meter{ 4*4}
41         }
42 }
43 another = \staff {
44         \melodic
45         \music { 
46                 c1 c1 c1 c4 c4 c4 c4  \meter{ 4*4} c1 c1 c1
47          }
48 }
49
50 yanother = \staff {
51         \melodic
52         \music { 
53                 c1 c1 c1 c4 c4 c4 c4  c1 c1 c1
54          }
55 }
56
57 score {
58         \staff{ritme}
59         \staff { another }
60         \staff { yanother }
61         \co\mmands { \meter {4*4 }}
62         \paper {
63                 \unitspace 2\cm
64                 \geometric 1.3
65         }
66 }