]> git.donarmstrong.com Git - lilypond.git/blob - input/rhythm.ly
release: 0.0.32
[lilypond.git] / input / rhythm.ly
1 %
2 %       I've 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         commands {      % override "commands" section of Score.
33                 partial 1*8
34                 meter{ 4*4}
35         }
36 }
37 another = staff {
38         melodic
39         music { $
40                 c1 c1 c1 c4 c4 c4 c4  {\meter 4*4} c1 c1 c1
41         $ }
42 }
43
44 yanother = staff {
45         melodic
46         music { $
47                 c1 c1 c1 c4 c4 c4 c4  c1 c1 c1
48         $ }
49 }
50
51 score {
52         staff{ritme}
53         staff { another }
54         staff { yanother }
55         commands { meter {4*4 }}
56         paper {
57                 unitspace 2cm
58                 geometric 1.3
59         }
60 }