]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-count.ly
* Documentation/user/latex-lilypond-example.latex:
[lilypond.git] / input / test / beam-count.ly
index 1e5b7d01feded7ff4ba26d11ab52a8ef57166654..630baa5bdeff421955b33295b231821d80e46d5b 100644 (file)
@@ -1,27 +1,21 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
+
+\version "2.3.17"
 \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 {
-  \property Voice.autoBeamSettings
-    \set #'(end * * * *) = #(ly:make-moment 1 4)
-  f32 g a b b a g f
-
-  f32 g a b 
-  \property Voice.stemRightBeamCount = #1  b
-  \property Voice.stemLeftBeamCount = #1 a
-   g f
-}
+\paper { raggedright = ##t}  
 
+\relative {
+  #(override-auto-beam-setting '(end * * * *)  1 4)
+  f32 g a b b a g f
 
-\score {
-  \notes\relative c \fragment
-  \paper { raggedright = ##t}  
+  f32 g a 
+  \set stemRightBeamCount = #1  b
+  \set stemLeftBeamCount = #1 b
+  a g f
 }
-