2 filename
= "rhythm.ly";
4 copyright
= "public domain";
5 TestedFeatures
= "multiple meters, beaming, unsynced bars, userdefd engravers";
12 ritme
= \melodic{ %\octave ;
18 [a8~
a8. a8 a16 a16 a16] c4. |
% watch the beams!
19 r
32 r
32 r
16 r
8 r
4 r
2 |
22 % divide measure in 5 equal parts. Usually it 2+3 or 3+2
24 [c8 c16 c8 ] |
% watch THIS!
25 [5/4 c16 c16 c16 c16]1/1 |
32 % [c16 c16 c16 c16 ] |
33 % [c16 c16 c16 c16 c16 ] |
34 % [c16 c16 c16 c16 c16 ] |
41 c1. c1. c4 c4 c4 c4 \meter 4/4;
c1 c1 c1
47 c1 c1 c1 c4 c4 c4 c4 c1 c1 c1
55 \type Rhythmic
_staff
{
62 %% remove Timing_engraver and Bar_number_engraver
66 %\consists "Timing_engraver";
68 \consists "Span_score_bar_engraver";
69 \consists "Score_priority_engraver";
70 \consists "Priority_horizontal_align_engraver";
71 \consists "Vertical_align_engraver";
74 \accepts "Staff_group";
77 \accepts "Grandstaff";
80 Rhythmic
_staff
= \translator
82 \type "Engraver_group_engraver";
84 \consists "Pitch_squash_engraver";
86 \consists "Bar_column_engraver";
87 \consists "Bar_number_engraver";
88 \consists "Bar_engraver";
89 \consists "Meter_engraver";
90 \consists "Staff_sym_engraver";
91 \consists "Line_group_engraver";
92 \consists "Timing_engraver";
95 %% add Timing_engraver to the staff
97 \type "Engraver_group_engraver";
100 \consists "Bar_column_engraver";
101 \consists "Bar_number_engraver";
102 \consists "Timing_engraver";
103 \consists "Bar_engraver";
104 \consists "Clef_engraver";
105 \consists "Key_engraver";
106 \consists "Meter_engraver";
107 \consists "Local_key_engraver";
108 \consists "Staff_sym_engraver";
109 \consists "Collision_engraver";
110 \consists "Rest_collision_engraver";
112 \consists "Line_group_engraver";