]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/music-map.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / music-map.ly
index a3821d8a65060d5625007f07aa54c6d3a8066993..c0e8816ebf011089e72dd6dfa7955d33153d2126 100644 (file)
@@ -2,15 +2,15 @@
 
   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 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."
+  "With @code{music-map}, you can apply functions operating on a
+single piece of music to an entire music expression. In this example,
+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 "2.6.0"
+\version "2.14.0"
 
 #(define (notes-to-skip m)
   "Convert all stuff with duration (notes, lyrics, bass figures, etc.) to skips.
@@ -27,15 +27,15 @@ Scripts and dynamics are maintained.
 )
 
 
-\layout { raggedright= ##t }
+\layout { ragged-right= ##t }
 
-foobar =  \transpose c c' { c4\>-^ c4-^ c4\!-^ c4-^  } 
+foobar =  \transpose c c' { c4\>-^ c4-^ c4\!-^ c4-^  }
 
 
 \relative c''  \context Voice {
   \foobar
 
-  << \applymusic #(lambda (x) (music-map notes-to-skip x))
+  << \applyMusic #(lambda (x) (music-map notes-to-skip x))
      \foobar
-     { d2 d2 } >> 
+     { d8 d d d d d d d  } >>
 }