]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-count.ly
Doc: add grid line example.
[lilypond.git] / input / test / beam-count.ly
index a6f824b74a1d72a13c3bdcb63ba74a9d7a69b40c..9ceb691cf40b7d1a3307a5faec0f24026a1a4a9a 100644 (file)
@@ -1,23 +1,27 @@
-\version "1.7.18"
 
+%%\version "2.10.0"
+\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
-}
+\layout { ragged-right = ##t}  
 
-\paper { raggedright = ##t} 
+\relative {
+  %% This has now (2.5.21) changed, (end * * * *) no longer
+  %% masks the default config entry ('(end * * 2 4) 1 4))
+  %% rather than masking by override:
+  %% #(override-auto-beam-setting '(end * * * *) 1 4)
+  %% revert the config file settings.
+  #(revert-auto-beam-setting '(end 1 32 4 4) 1 8)
+  #(revert-auto-beam-setting '(end 1 32 4 4) 3 8)
+  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 %%