]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/music-map.ly
* lily/font-interface.cc (get-font): take alist chain i.s.o. alist
[lilypond.git] / input / regression / music-map.ly
index b92b85386b740667d273882b05c8ebd2f0cd7127..ab7a2e5986bdeced2223e3ba7090c08e041727ee 100644 (file)
@@ -3,13 +3,13 @@
 texidoc =
 
 "With @code{music-map}, you can apply functions operating on a single
-piece of music to an entire music expression. In this example, the
-scripts and dynamics of the first measure of music are applied to the
-2nd measure. "
+piece of music to an entire music expression. In this example, the the
+function @code{notes-to-skip} changes a note to a skip. When applied
+to an entire music expression in the 1st measure, the scripts and
+dynamics are left over. These are put onto the 2nd measure."
 
 }
 
-
 \version "1.7.8"
 
 #(define (notes-to-skip m)
@@ -33,7 +33,7 @@ foobar = \notes \transpose c c' { c4-\>-^ c4-^ c4-\!-^ c4-^  }
   \notes \relative c''  \context Voice {
        \foobar
 
-       < \apply #(lambda (x) (music-map x notes-to-skip))
+       < \apply #(lambda (x) (music-map notes-to-skip x))
                \foobar
           { d2 d2 } > 
 }}