]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/auto-beam.scm
* scm/music-types.scm: junk compat glue
[lilypond.git] / scm / auto-beam.scm
index ec78e2b2f6238942693cab3b9e2f321bae351f3d..0a6d94b1955bf910bd9831f2edd2ef67be6d9f3f 100644 (file)
@@ -3,7 +3,7 @@
 ;;;
 ;;; source file of the GNU LilyPond music typesetter
 ;;; 
-;;; (c) 2000 Jan Nieuwenhuizen <janneke@gnu.org>
+;;; (c) 2000--2002 Jan Nieuwenhuizen <janneke@gnu.org>
 ;;;
 
 ;;; specify generic beam begin and end times
@@ -28,7 +28,7 @@
 ;;;   end beams with 16th notes each 1 4 note
 ;;;   end beams with 32th notes each 1 8 note
 
-(define auto-beam-settings
+(define-public auto-beam-settings
    `(
      ((end * * 3 2) . ,(make-moment 1 2))
      ((end 1 16 3 2) . ,(make-moment 1 4))
@@ -60,6 +60,9 @@
      ((end 1 16 2 4) . ,(make-moment 1 4))
      ((end 1 32 2 4) . ,(make-moment 1 8))
 
+     ;; It seems that, because of a bug in the previous auto-beamer,
+     ;; we had the effect of this setting x
+     ;; ((end * * 2 8) . ,(make-moment 2 8))
 
      ((end * * 4 8) . ,(make-moment 1 4))
      ((end 1 16 4 8) . ,(make-moment 1 4))
      ((end * * 12 8) . ,(make-moment 3 8))
      ((end 1 16 12 8) . ,(make-moment 3 8))
      ((end 1 32 12 8) . ,(make-moment 1 8))
-     (meta . ,(element-description  "autoBeamSettings"))
      ))
-
-;;; Users may override in most cases, simply by issuing
-;;;
-;;;    % from here on consider ending beam every 1 4 note
-;;;    \property Voice.autoBeamSettings \push #'(end * * * *) = #(make-moment 1 4)
-;;;
-;;;    % no autobeaming
-;;;    \property Voice.beamAuto = ##f  
-;;;
-;;; or, more globally, by doing:
-;;;
-;;; \paper{
-;;;        \translator{
-;;;            \VoiceContext
-;;;            % consider ending beam at every 1 2 note
-;;;            autoBeamSettings \push #'(end * * * *) = #(make-moment 1 2)
-;;;        }
-;;;    }
-;;;
-;;; see also input test auto-beam-override.ly
-