]> git.donarmstrong.com Git - lilypond.git/blob - input/rhythm.ly
release: 0.0.59
[lilypond.git] / input / rhythm.ly
1 %
2 %       Ive' got rhythm!
3 %
4 % add any impressive examples here, please
5
6 \version "0.0.57";
7
8 ritme = \staff {
9         melodicregs
10         \melodic{ %\octave ;
11         \partial 8;
12         \meter  4/4;
13         c8                                      |
14         
15         [a8~  a8. a8 a16 a16 a16] c4.           |       % watch the beams!
16          r32 r32 r16 r8 r4 r2                   |
17         \meter   5/16;
18
19         % divide measure in 5 equal parts. Usually it 2+3 or 3+2
20         \grouping  16*5 ;       
21         [c8 c16 c8 ]                            |       % watch THIS!
22          [c16 c16 c16 c16]5/4 |
23         \meter   2/8;
24         c4                              |
25         c4      c4      c4      c4
26         \meter 4/4;
27         c1 c1 c1
28         
29 %       [c16 c16 c16 c16 ]                      |
30 %       [c16 c16 c16 c16 c16 ]                  |
31 %       [c16 c16 c16 c16 c16 ]                  |       
32         
33          }
34         
35 }
36 another = \staff {
37         melodicregs
38         \melodic{ \meter 4/4; 
39                 c1 c1 c1 c4 c4 c4 c4  \meter  4/4; c1 c1 c1
40          }
41 }
42
43 yanother = \staff       { 
44         melodicregs
45         \melodic{ \meter 4/4; 
46                 c1 c1 c1 c4 c4 c4 c4  c1 c1 c1
47          }
48 }
49
50 \score{
51         ritme
52         another
53         yanother
54         
55         \paper{
56                 \unitspace 2\cm
57                 \geometric 1.3
58         }
59 }