]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/accidental-octave.ly
* Website fixes:
[lilypond.git] / input / regression / accidental-octave.ly
index 4b115eeee21c4568bab59559425f6820554e93d9..bd335726b1b9a03da2a833b3979cdcf21bf0e940 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "1.5.68"
+\version "1.7.18"
 
 \header {
 texidoc="
@@ -10,29 +10,29 @@ FIXME: Shorten and docu
 }
 
 #(define  (lo-octave p)
-  (let* ((a (pitch-alteration p))
-         (n (pitch-notename p)))
-    (make-pitch -1 n a)))
+  (let* ((a (ly:pitch-alteration p))
+         (n (ly:pitch-notename p)))
+    (ly:make-pitch -1 n a)))
 
 #(define (no-octaves music)
-  (let* ((es (ly-get-mus-property music 'elements))
-         (e (ly-get-mus-property music 'element))
-         (p (ly-get-mus-property music 'pitch)))
+  (let* ((es (ly:get-mus-property music 'elements))
+         (e (ly:get-mus-property music 'element))
+         (p (ly:get-mus-property music 'pitch)))
 
     (if (pair? es)
-        (ly-set-mus-property!
+        (ly:set-mus-property!
          music 'elements
          (map no-octaves es)))
 
-    (if (music? e)
-        (ly-set-mus-property!
+    (if (ly:music? e)
+        (ly:set-mus-property!
          music 'element
          (no-octaves e)))
 
-    (if (pitch? p)
+    (if (ly:pitch? p)
         (begin
           (set! p (lo-octave p))
-          (ly-set-mus-property! music 'pitch p)))
+          (ly:set-mus-property! music 'pitch p)))
 
 
     music))
@@ -40,7 +40,7 @@ FIXME: Shorten and docu
 
 \include "paper16.ly"
 
-mel = \notes \transpose c'' {
+mel = \notes \transpose c c' {
   \time 4/4 \key d \major
   gis4 g' g gis' | gis2 g' | g1 | gis | g | gis' | g |
   fis4 f' f fis' | fis2 f' | f1 | fis | f | fis' | f |
@@ -81,3 +81,4 @@ mus = \notes {
     indent=0.0
   }
 }
+%% new-chords-done %%
\ No newline at end of file