]> git.donarmstrong.com Git - lilypond.git/blob - input/rhythm.ly
release: 1.0.15
[lilypond.git] / input / rhythm.ly
1 \header{
2 filename =       "rhythm.ly";
3 enteredby =      "HWN";
4 copyright =      "public domain";
5 TestedFeatures =         "multiple meters, beaming, unsynced bars, userdefd engravers";
6 }
7
8
9
10 \version "1.0.7";
11
12 ritme = \notes\transpose c'' {
13         \time  4/4;
14         \partial 8;
15         c8                                      |
16         
17         [a8~  a8. a8 a16 a16 a16] c4.           |       % watch the beams!
18          r32 r32 r16 r8 r4 r2                   |
19         \time   5/16;
20
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          [5/4 c16 c16 c16 c16]1/1 |
25         \time   2/8;
26         c4                              |
27         c4      c4      c4      c4
28         \time 4/4;
29         c1 c1 c1
30         
31 %       [c16 c16 c16 c16 ]                      |
32 %       [c16 c16 c16 c16 c16 ]                  |
33 %       [c16 c16 c16 c16 c16 ]                  |       
34         
35          }
36         
37
38 another = 
39         \notes{ \time 6/4; 
40                 c1.  c1. \time 4/4;c4 c4 c4 c4  c1 c1 c1
41          }
42
43
44 %
45 % Beams are incorrect for the next staff.  They cut through the whole notes.
46 %
47
48 yanother = 
49         \notes{ \time 4/4; 
50                 c1 c1 c1 c4 c4 c4 c4  c1 c1 c1
51          }
52
53
54 \score{
55         \type StaffGroup <
56                 \ritme
57                 \another
58                 \type RhythmicStaff {
59                         \yanother
60                 }
61         >
62         
63         \paper{
64
65         %% remove Timing_engraver and Bar_number_engraver
66  \translator {
67  \ScoreContext
68  \remove "Timing_engraver";
69   }
70   \translator {
71   \RhythmicStaffContext
72   \consists "Timing_engraver";
73   }
74   \translator{
75   \StaffContext
76   \consists "Timing_engraver";
77   }
78         }
79 }