]> git.donarmstrong.com Git - lilypond.git/blob - input/rhythm.ly
release: 0.0.45
[lilypond.git] / input / rhythm.ly
1 %
2 %       Ive' got rhythm!
3 %
4 % add any impressive examples here, please
5
6 ritme = \staff {
7         \rhythmic{ 
8         \partial {1*8}  % doesnt' have to be here. 
9                 \meter{ 4/4}
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         
39 }
40 another = \staff{
41         \melodic{ \meter{ 4/4} 
42                 c1 c1 c1 c4 c4 c4 c4  \meter{ 4/4} c1 c1 c1
43          }
44 }
45
46 yanother = \staff{
47         \melodic{ \meter{ 4/4} 
48                 c1 c1 c1 c4 c4 c4 c4  c1 c1 c1
49          }
50 }
51
52 \score{
53         ritme
54         another
55         yanother
56         
57         \paper{
58                 \unitspace 2\cm
59                 \geometric 1.3
60         }
61 }