lilypond-0.1.36
[lilypond.git] / input / rhythm.ly
blob897770ad637aa3ff6e47ea99170f2d59857f323c
1 \header{
2 filename = "rhythm.ly";
3 enteredby = "HWN";
4 copyright = "public domain";
5 TestedFeatures = "multiple meters, beaming, unsynced bars, userdefd engravers";
10 \version "0.1.7";
12 ritme = \melodic{ %\octave ;
13 \partial 8;
14 \octave c';
15 \meter 4/4;
16 c8 |
18 [a8~ a8. a8 a16 a16 a16] c4. | % watch the beams!
19 r32 r32 r16 r8 r4 r2 |
20 \meter 5/16;
22 % divide measure in 5 equal parts. Usually it 2+3 or 3+2
23 \grouping 16*5 ;
24 [c8 c16 c8 ] | % watch THIS!
25 [5/4 c16 c16 c16 c16]1/1 |
26 \meter 2/8;
27 c4 |
28 c4 c4 c4 c4
29 \meter 4/4;
30 c1 c1 c1
32 % [c16 c16 c16 c16 ] |
33 % [c16 c16 c16 c16 c16 ] |
34 % [c16 c16 c16 c16 c16 ] |
39 another =
40 \melodic{ \meter 4/4;
41 c1. c1. c4 c4 c4 c4 \meter 4/4; c1 c1 c1
45 yanother =
46 \melodic{ \meter 4/4;
47 c1 c1 c1 c4 c4 c4 c4 c1 c1 c1
51 \score{
52 \type Staff_group <
53 \ritme
54 \another
55 \yanother
58 \paper{
60 %% remove Timing_engraver and Bar_number_engraver
61 Score = \translator {
62 \type Score_engraver;
64 \consists "Bar_align_engraver";
65 \consists "Clef_align_engraver";
66 \consists "Key_align_engraver";
67 \consists "Meter_align_engraver";
68 \consists "Score_horizontal_align_engraver";
69 \consists "Vertical_align_engraver";
70 \consists "Span_score_bar_engraver";
73 \accepts "Staff_group";
74 \accepts "Staff";
75 \accepts "Lyrics";
76 \accepts "Grandstaff";
79 %% add Timing_engraver to the staff
80 Staff = \translator {
81 \type "Engraver_group_engraver";
82 defaultclef= violin;
84 \consists "Timing_engraver";
85 \consists "Bar_engraver";
86 \consists "Clef_engraver";
87 \consists "Key_engraver";
88 \consists "Meter_engraver";
89 \consists "Local_key_engraver";
90 \consists "Staff_sym_engraver";
91 \consists "Collision_engraver";
92 \consists "Rest_collision_engraver";
94 \consists "Line_group_engraver";
95 \accepts "Voice";