]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/reverse-music.ly
* scripts/convert-ly.py (conv): remove \notes.
[lilypond.git] / input / test / reverse-music.ly
index f2e363029d6110fef5454a9a9a71d5cacbb832f5..1a060da9fede63c5335dfc6f34c037a419d71231 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.1.36"
+\version "2.3.4"
 % possible rename to scheme-something.
 \header { texidoc="@cindex Scheme Reverse Music
 Symmetric, or palindromical music can be produced, first, by printing
@@ -8,7 +8,7 @@ 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))
@@ -33,7 +33,7 @@ music = \notes \relative c'' { c4 d4( e4 f4 }
 \score {
   \context Voice {
     \music
-    \apply #reverse-music \music
+    \applymusic #reverse-music \music
   }
   \paper { raggedright = ##t}
 }