]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/smart-transpose.ly
release: 1.5.19
[lilypond.git] / input / test / smart-transpose.ly
index 24d70d3cb1b1c64496189810a3d0c09b628868c1..3674d81008b030e4e746d782c1e741fba021099e 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.18"
 
 \header {
 texidoc="
@@ -42,25 +42,13 @@ how useful these enharmonic modifications are. Mats B.
 #(define (simplify music)
   (let* ((es (ly-get-mus-property music 'elements))
          (e (ly-get-mus-property music 'element))
-         (p (ly-get-mus-property music 'pitch))
-         (body (ly-get-mus-property music 'body))
-         (alts (ly-get-mus-property music 'alternatives)))
+         (p (ly-get-mus-property music 'pitch)))
 
     (if (pair? es)
         (ly-set-mus-property
          music 'elements
          (map (lambda (x) (simplify x)) es)))
 
-    (if (music? alts)
-        (ly-set-mus-property
-         music 'alternatives
-         (simplify alts)))
-
-    (if (music? body)
-        (ly-set-mus-property
-         music 'body
-         (simplify body)))
-
     (if (music? e)
         (ly-set-mus-property
          music 'element