]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/rhythm.ly
release: 0.1.11
[lilypond.git] / input / rhythm.ly
index c74c9d8dcd69f66e587b81224b05c6aa81bf7a6b..8f897af1263cf8dfcf8f76288bcb5d34f636cd8d 100644 (file)
@@ -1,60 +1,65 @@
-%
-%      I've got rhythm!
-%
-% add any impressive examples here, please
 
-ritme = staff {
-       melodic
+\header{
+ filename      rhythm.ly
+ entered-by    HWN
+ copyright     public domain
+ Tested Features        multiple meters, beaming
+       unsynced bars
+}
+%{
+has to be revised for 0.1.12
+%}
 
-       music { $
-       c8                                      |
 
-       [a8() a8. a8 a16 a16 a16] c4.           |       % watch the beams!
+
+\version "0.1.1";
+
+ritme = \melodic{ %\octave ;
+       \partial 8;
+       \octave c';
+       \meter  4/4;
+       c8                                      |
+       
+       [a8~  a8. a8 a16 a16 a16] c4.           |       % watch the beams!
         r32 r32 r16 r8 r4 r2                   |
-       \meter{  5*16}
+       \meter   5/16;
 
        % divide measure in 5 equal parts. Usually it 2+3 or 3+2
-       \grouping { 5*16 }      
+       \grouping  16*5 ;       
        [c8 c16 c8 ]                            |       % watch THIS!
-       \plet{5/4} [c16 c16 c16 c16]\plet{1/1} |
-       \meter{  2*8}
+        [5/4 c16 c16 c16 c16]1/1 |
+       \meter   2/8;
        c4                              |
        c4      c4      c4      c4
-       \meter {4*4}
+       \meter 4/4;
        c1 c1 c1
        
 %      [c16 c16 c16 c16 ]                      |
 %      [c16 c16 c16 c16 c16 ]                  |
 %      [c16 c16 c16 c16 c16 ]                  |       
        
-       $ }
+        }
+       
 
-       commands {      % override "commands" section of Score.
-               partial 1*8
-               meter{ 4*4}
-       }
-}
-another = staff {
-       melodic
-       music { $
-               c1 c1 c1 c4 c4 c4 c4  {\meter 4*4} c1 c1 c1
-       $ }
-}
+another = 
+       \melodic{ \meter 4/4; 
+               c1.  c1. c4 c4 c4 c4  \meter  4/4; c1 c1 c1
+        }
 
-yanother = staff {
-       melodic
-       music { $
+
+yanother = 
+       \melodic{ \meter 4/4; 
                c1 c1 c1 c4 c4 c4 c4  c1 c1 c1
-       $ }
-}
+        }
 
-score {
-       staff{ritme}
-       staff { another }
-       staff { yanother }
-       commands { meter {4*4 }}
-       paper {
-               unitspace 2cm
-               geometric 1.3
+
+\score{
+        < \multi 3;
+               \ritme
+               \another
+               \yanother
+       >
+       
+       \paper{
        }
-}
\ No newline at end of file
+}