]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/auto-beam-override.ly
dll read_opts revert
[lilypond.git] / input / test / auto-beam-override.ly
index 4b79886fb0b0da3e70d436ed4518a2295bda4d92..cc1d32d0b4a2d3eda4c4dddee1a052f37b09a739 100644 (file)
@@ -1,3 +1,5 @@
+\version "1.5.68"
+
 %{
   Currently (1.1.27.jcn3), the auto-beam engraver will only engrave
   sensible beams, which means that it will end a beam when:
        
 \score{
     \notes \relative c''{
-       \time 2/4;
+       \time 2/4
        % one beam per measure
        c8 c c c
        c16 c c c c c c c
        % from here on consider ending beam every 1/4 note
-       \property Voice.AutoBeam \push #'(end * * * *) = #(make-moment 1 4)
+       \property Voice.autoBeamSettings \override #'(end * * * *) = #(make-moment 1 4)
        c8 c c c
        % manually override autobeam with weird beaming
        c8 [c c] c
        c8 c c4
        r8 c c c
        % no autobeaming
-       \property Voice.beamAuto = ##f
+       \property Voice.autoBeaming = ##f
        c8 c c c
     }
     \paper{
        \translator{
            \VoiceContext
            % consider ending beam at every 1/2 note
-           AutoBeam \push #'(end * * * *) = #(make-moment 1 2)
+           autoBeamSettings \override #'(end * * * *) = #(make-moment 1 2)
        }
     }
 }