]> 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 d2977ff664052b2485c8a729551b0750826894f3..630baa5bdeff421955b33295b231821d80e46d5b 100644 (file)
@@ -1,23 +1,21 @@
-\version "1.7.6"
 
+\version "2.3.17"
+\header{
+       texidoc="@cindex Beam Count
 
-fragment = \notes {
-  f'32 g a b b a g f
+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.
 
-  \property Voice.autoBeamSettings
-    \set #'(end * * * *) = #(ly:make-moment 1 4)
-  f32 g a b b a g f
+" }
 
-  f32 g a
-  \property Voice.stemRightBeamCount = #1 b
-  \property Voice.stemLeftBeamCount = #1 b
-  a g f
-}
+\paper { raggedright = ##t}  
 
-\paper { linewidth = -1. } 
+\relative {
+  #(override-auto-beam-setting '(end * * * *)  1 4)
+  f32 g a b b a g f
 
-\score {
-  \notes\relative c \fragment
-  \paper { }  
+  f32 g a 
+  \set stemRightBeamCount = #1  b
+  \set stemLeftBeamCount = #1 b
+  a g f
 }
-%% new-chords-done %%