]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/rhythm.ly
release: 1.1.63
[lilypond.git] / input / rhythm.ly
index d61b04f883d7515e292b28490dee9345b750d737..a3217d5daf82de15227c1d91dd0160c389d2694c 100644 (file)
@@ -1,26 +1,31 @@
-%
-%      Ive' got rhythm!
-%
-% add any impressive examples here, please
-
-ritme = \staff {
-       \rhythmic{ 
-       \partial {1*8}  % doesnt' have to be here. 
-               \meter{ 4/4}
+\header{
+filename =      "rhythm.ly";
+enteredby =     "HWN";
+copyright =     "public domain";
+TestedFeatures =        "multiple meters, beaming, unsynced bars, userdefd engravers";
+}
+
+
+
+\version "1.1.52";
+
+ritme = \notes\transpose c'' {
+       \time  4/4;
+       \partial 8;
        c8                                      |
        
-       [a8() a8. a8 a16 a16 a16] c4.           |       % watch the beams!
+       [a8 a8. a8 a16 a16 a16] c4.           |       % watch the beams!
         r32 r32 r16 r8 r4 r2                   |
-       \meter{  5/16}
+       \time   5/16;
 
        % divide measure in 5 equal parts. Usually it 2+3 or 3+2
-       \grouping { 5*16 }      
+               
        [c8 c16 c8 ]                            |       % watch THIS!
-       \plet{5/4} [c16 c16 c16 c16]\plet{1/1} |
-       \meter{  2/8}
+        \times 5/4 { [ c16 c16 c16 c16] } |
+       \time   2/8;
        c4                              |
        c4      c4      c4      c4
-       \meter {4/4}
+       \time 4/4;
        c1 c1 c1
        
 %      [c16 c16 c16 c16 ]                      |
@@ -28,34 +33,43 @@ ritme = \staff {
 %      [c16 c16 c16 c16 c16 ]                  |       
        
         }
-
-       %
-       % The \co\mmands section takes the same stuff that \music { } takes;
-       % the \co\mmands issued below could have been issued inside the above
-       % \music block;
-       %
-
        
-}
-another = \staff{
-       \melodic{ \meter{ 4/4} 
-               c1 c1 c1 c4 c4 c4 c4  \meter{ 4/4} c1 c1 c1
+
+another = 
+       \notes \relative c'' { \time 6/4; 
+               c1.  c1. \time 4/4;c4 c4 c4 c4  c1 c1 c1
         }
-}
 
-yanother = \staff{
-       \melodic{ \meter{ 4/4} 
+
+yanother = 
+       \notes{ \time 4/4; 
                c1 c1 c1 c4 c4 c4 c4  c1 c1 c1
         }
-}
+
 
 \score{
-       ritme
-       another
-       yanother
+       \context StaffGroup <
+               \ritme
+               \another
+               \context RhythmicStaff {
+                       \yanother
+               }
+       >
        
        \paper{
-               \unitspace 2\cm
-               \geometric 1.3
+
+       %% remove Timing_engraver and Bar_number_engraver
+ \translator {
+ \ScoreContext
+ \remove "Timing_engraver";
+  }
+  \translator {
+  \RhythmicStaffContext
+  \consists "Timing_engraver";
+  }
+  \translator{
+  \StaffContext
+  \consists "Timing_engraver";
+  }
        }
 }