lilypond-1.1.13
[lilypond.git] / input / rhythm.ly
blob92d0a1055acf066d1b5ed9b4c0b1295dfc91de46
1 \header{
2 filename = "rhythm.ly";
3 enteredby = "HWN";
4 copyright = "public domain";
5 TestedFeatures = "multiple meters, beaming, unsynced bars, userdefd engravers";
10 \version "1.0.10";
12 ritme = \notes\transpose c'' {
13 \time 4/4;
14 \partial 8;
15 c8 |
17 [a8~ a8. a8 a16 a16 a16] c4. | % watch the beams!
18 r32 r32 r16 r8 r4 r2 |
19 \time 5/16;
21 % divide measure in 5 equal parts. Usually it 2+3 or 3+2
22 \grouping 16*5 ;
23 [c8 c16 c8 ] | % watch THIS!
24 \times 5/4 { [ c16 c16 c16 c16] } |
25 \time 2/8;
26 c4 |
27 c4 c4 c4 c4
28 \time 4/4;
29 c1 c1 c1
31 % [c16 c16 c16 c16 ] |
32 % [c16 c16 c16 c16 c16 ] |
33 % [c16 c16 c16 c16 c16 ] |
38 another =
39 \notes{ \time 6/4;
40 c1. c1. \time 4/4;c4 c4 c4 c4 c1 c1 c1
45 % Beams are incorrect for the next staff. They cut through the whole notes.
48 yanother =
49 \notes{ \time 4/4;
50 c1 c1 c1 c4 c4 c4 c4 c1 c1 c1
54 \score{
55 \type StaffGroup <
56 \ritme
57 \another
58 \type RhythmicStaff {
59 \yanother
63 \paper{
65 %% remove Timing_engraver and Bar_number_engraver
66 \translator {
67 \ScoreContext
68 \remove "Timing_engraver";
70 \translator {
71 \RhythmicStaffContext
72 \consists "Timing_engraver";
74 \translator{
75 \StaffContext
76 \consists "Timing_engraver";