lilypond-0.0.38
[lilypond.git] / input / rhythm.ly
blob368d04b9bf4a3b797a99c06cb813ec379d91eaed
2 % I've got rhythm!
4 % add any impressive examples here, please
6 ritme = staff {
7 melodic
9 music { $
10 c8 |
12 [a8() a8. a8 a16 a16 a16] c4. | % watch the beams!
13 r32 r32 r16 r8 r4 r2 |
14 \meter{ 5*16}
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
26 % [c16 c16 c16 c16 ] |
27 % [c16 c16 c16 c16 c16 ] |
28 % [c16 c16 c16 c16 c16 ] |
30 $ }
33 % The commands section takes the same stuff that music { } takes;
34 % the commands issued below could have been issued inside the above
35 % music block;
38 commands { % override "commands" section of Score.
39 partial {1*8} % doesn't have to be here.
40 meter{ 4*4}
43 another = staff {
44 melodic
45 music { $
46 c1 c1 c1 c4 c4 c4 c4 \meter{ 4*4} c1 c1 c1
47 $ }
50 yanother = staff {
51 melodic
52 music { $
53 c1 c1 c1 c4 c4 c4 c4 c1 c1 c1
54 $ }
57 score {
58 staff{ritme}
59 staff { another }
60 staff { yanother }
61 commands { meter {4*4 }}
62 paper {
63 unitspace 2cm
64 geometric 1.3