]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-count.ly
* scripts/convert-ly.py (conv): fixed \context Foo = mixedCaps
[lilypond.git] / input / test / beam-count.ly
index c23e849aabfc1e0463421b47cbb42c8575d402df..816f9c174e6f3620f609e4fd55c810c62b38182d 100644 (file)
@@ -1,27 +1,21 @@
-\version "1.7.18"
+
+\version "2.4.0"
 \header{
        texidoc="@cindex Beam Count
-You can alter the number of stems in a beam.  Here we see
-two sets of four 32nds joined as if they were 8th notes.
+
+You can alter the number of stems in a beam.  In this example,
+two sets of four 32nds are joined, as if they were 8th notes.
+
 " }
 
-fragment = \notes {
-  f'32 g a b b a g f
+\layout { raggedright = ##t}  
 
-  \property Voice.autoBeamSettings
-    \set #'(end * * * *) = #(ly:make-moment 1 4)
+\relative {
+  #(override-auto-beam-setting '(end * * * *)  1 4)
   f32 g a b b a g f
 
-  f32 g a
-  \property Voice.stemRightBeamCount = #1 b
-  \property Voice.stemLeftBeamCount = #1 b
+  f32 g a 
+  \set stemRightBeamCount = #1  b
+  \set stemLeftBeamCount = #1 b
   a g f
 }
-
-\paper { raggedright = ##t} 
-
-\score {
-  \notes\relative c \fragment
-  \paper { raggedright = ##t}  
-}
-%% new-chords-done %%