]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/reverse-music.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / test / reverse-music.ly
index ad6beddb30bf3cfff72b102dc8ea343ca2a6c80d..828afcd59b3254b24dc657f44ad34c9627e7aac9 100644 (file)
@@ -1,11 +1,14 @@
 
-\version "2.1.26"
+\version "2.7.39"
 % possible rename to scheme-something.
 \header { texidoc="@cindex Scheme Reverse Music
-Simple customised music apply. "
+Symmetric, or palindromical music can be produced, first, by printing
+some music, and second, by printing the same music applying a Scheme
+function to reverse the syntax.
+"
 }
 
-music = \notes \relative c'' { c4 d4( e4 f4 }
+music =  \relative c'' { c4 d4( e4 f4 }
 
 #(define (reverse-music music)
   (let* ((elements (ly:music-property music 'elements))
@@ -30,9 +33,9 @@ music = \notes \relative c'' { c4 d4( e4 f4 }
 \score {
   \context Voice {
     \music
-    \apply #reverse-music \music
+    \applyMusic #reverse-music \music
   }
-  \paper { raggedright = ##t}
+  \layout { ragged-right = ##t}
 }