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