]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/music-box.ly
release: 1.5.19
[lilypond.git] / input / test / music-box.ly
index 2ff6c639e43bf313a4be33ded6336f20e259047b..de0b47e9f010323e9439915028095648d0adb0b9 100644 (file)
@@ -22,6 +22,7 @@ using Scheme functions to save typing work.
 }
 
 \include "deutsch.ly"
+\version "1.5.18"
 
 #(define (transform music)
   (let* ((es (ly-get-mus-property music 'elements))
@@ -48,25 +49,13 @@ using Scheme functions to save typing work.
 #(define ((trans pitches) 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 (trans pitches) es)))
 
-    (if (music? alts)
-        (ly-set-mus-property
-         music 'alternatives
-         ((trans pitches) alts)))
-
-    (if (music? body)
-        (ly-set-mus-property
-         music 'body
-         ((trans pitches) body)))
-
     (if (music? e)
         (ly-set-mus-property
          music 'element