]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-auto-override.ly
*** empty log message ***
[lilypond.git] / input / test / beam-auto-override.ly
index 562ed46e004a02a42d8214b7b5c5e0a148dc6e14..8fddf774caf40393bb66359628a1df7d0c995504 100644 (file)
@@ -1,21 +1,20 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
+
+\version "2.3.8"
 \header {
 
     texidoc = "@cindex Auto Beaming Override
 
-This shows how auto-beaming settings can be overridden.
-
-The auto-beamer will only engrave beams that end when:
+The auto-beamer, which can be overridden, will only engrave beams 
+that end before encountering of 
 @itemize @bullet
-@item  a rest is encountered
+@item  a rest,
 @item
- another beam (entered manually) is encountered
+ an other, manually entered beam, or
 @item
- there's a 'gap' in the beam note's durations
+ a bar line. 
 @end itemize
 
-The beam will be ended also when now % beamAutoEnd = 0.
+The @code{autoBeaming} can also be turned off.
 
 "
 
@@ -24,7 +23,8 @@ The beam will be ended also when now % beamAutoEnd = 0.
 %% TODO: check doc string. -hw
 
 \score{
-    \notes \relative c''{
+     \relative c''{
+        #(override-auto-beam-setting '(end * * * *)  1 2)
        \time 2/4
        % one beam per measure
        c8 c c c
@@ -39,16 +39,10 @@ The beam will be ended also when now % beamAutoEnd = 0.
        c8 c c4
        r8 c c c
        % no autobeaming
-       \property Voice.autoBeaming = ##f
+       \set autoBeaming = ##f
        c8 c c c
     }
-    \paper{
-       \translator{
-           \VoiceContext
-           autoBeamSettings \override #'(end * * * *) = #(ly:make-moment 1 2)
-       }
-    }
-\paper{raggedright = ##t}
+    \paper{raggedright = ##t}
 }