]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/stem.ly
* buildscripts/mf-to-table.py (base): break table every three
[lilypond.git] / input / test / stem.ly
index 0831f3b074a161794eca9617947fbd48e3e37465..4e8e7af999432539ed3dcbec0d1244c390c71af5 100644 (file)
@@ -1,44 +1,63 @@
-\header{
-title= "Stems and Beams";
-subtitle =  "proofsheet"; 
-enteredby =     "jcn";
-copyright =     "public domain";
-TestedFeatures =        "This file tests the length of stems and placement 
-of beams";
-       
+\version "1.7.18"
+% regression, _so_ regression.  :)  =-gp
+
+\header{ texidoc = "
+This file tests the length of stems and placement 
+of beams"
 }
 
+beamintervals = \notes{
+  \time 7/4
+  \stemUp
+  \transpose c c'{
+    [ c8 d ] [ c e ] [ c f ] [ c g ] [ c a ] [ c b ] [ c c' ] |
+    [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
+  }
+  \transpose c c''{
+    [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
+    \stemDown
+  }
+  \transpose c c'''{
+    [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
+  }
+  \transpose c c''{
+    [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
+    [ c d ] [ c e ] [ c f ] [ c g ] [ c a ] [ c b ] [ c c' ] |
+  }
+}
 
+\score{
+  \notes{
+    \time 19/4
 
-beamintervals =  \notes{
-               \time 7/4;
-               \stemUp
-\transpose c'{
-               [ c8 d ] [ c e ] [ c f ] [ c g ] [ c a ] [ c b ] [ c c' ] |
-               [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
-               }\transpose c''{
-               [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
-               \stemDown}
-               \transpose c'''{
-               [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
-}              \transpose c''{
-               [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
-               [ c d ] [ c e ] [ c f ] [ c g ] [ c a ] [ c b ] [ c c' ] |
-       }}
+    %% 3.50 (standard) - 0.24 (beam-thickness / 2) = 3.26 ...
+    %% yields beams almost as [Ross] wants them.
+    
+    %% Differences are only half a beam-thickness, probably giving
+    %% Lily's beams a slightly better slope
+    
+    \property Staff.Stem \set #'beamed-lengths = #'(3.26)
 
-\score{
-       \notes\transpose c'{ 
-               \stemUp
-               \time 17/4;
-               g,4 a, b, c d e f g a b c' d' e' f' g' a' b' |
-               \stemDown
-               b' a' g' f' e' d' c' b a g f e d c b, a, g, |
-               \beamintervals
-               \transpose d \beamintervals
-               \transpose e \beamintervals
-               \transpose f \beamintervals
-               \transpose g \beamintervals
-               \transpose a \beamintervals
-               \transpose b \beamintervals
-       }
+    \relative c'{
+      \stemUp
+      g4 a b c d e f g a b c d e f g a b c d
+      \stemDown
+      d c b a g f e d c b a g f e d c b a g
+    }      
+    \beamintervals
+    \transpose c d \beamintervals
+    \transpose c e \beamintervals
+    \transpose c f \beamintervals
+    \transpose c g \beamintervals
+    \transpose c a \beamintervals
+    \transpose c b \beamintervals
+  }
+  \paper{
+    indent = 0.0\mm
+    }
 }
+
+%%% Local variables:
+%%% LilyPond-indent-level:2
+%%% End:
+