]> git.donarmstrong.com Git - lilypond.git/blob - input/rhythm.ly
d7e336c25208e09e1aff99c6bd16837ade70b48c
[lilypond.git] / input / rhythm.ly
1 \version "1.3.146"
2 \header{
3 filename =       "rhythm.ly"
4 enteredby =      "HWN"
5 copyright =      "public domain"
6 TestedFeatures =         "multiple meters, beaming, unsynced bars, userdefd engravers"
7 }
8
9
10
11
12
13 ritme =  \notes\transpose c'' {
14         \time  4/4
15         \partial 8
16         c8                                      |
17         
18         [a8~  a8. a8 a16 a16 a16] c4.           |       % watch the beams!
19          r32 r32 r16 r8 r4 r2                   |
20         \time   5/16
21
22         % divide measure in 5 equal parts. Usually it 2+3 or 3+2
23                 
24         [c8 c16 c8 ]                            |       % watch THIS!
25          \times 5/4 { [ c16 c16 c16 c16] } |
26         \time   2/8
27         c4                              |
28         c4      c4      c4      c4
29         \time 4/4
30         c1 c1 c1
31         
32 %       [c16 c16 c16 c16 ]                      |
33 %       [c16 c16 c16 c16 c16 ]                  |
34 %       [c16 c16 c16 c16 c16 ]                  |       
35         
36          }
37         
38
39 another =  
40         \notes \relative c'' { \time 6/4 
41                 c1.  c1. \time 4/4c4 c4 c4 c4  c1 c1 c1
42          }
43
44
45 yanother =  
46         \notes{ \time 4/4 
47                 c1 c1 c1 c4 c4 c4 c4  c1 c1 c1
48          }
49
50
51 \score{
52         \context StaffGroup <
53                 \ritme
54                 \another
55                 \context RhythmicStaff {
56                         \yanother
57                 }
58         >
59         
60         \paper{
61
62         %% remove Timing_engraver and Bar_number_engraver
63  \translator {
64  \ScoreContext
65  \remove "Timing_engraver"
66   }
67   \translator {
68   \RhythmicStaffContext
69   \consists "Timing_engraver"
70   }
71   \translator{
72   \StaffContext
73   \consists "Timing_engraver"
74   }
75         }
76 }