]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/transposition.ly
release: 1.3.43
[lilypond.git] / input / test / transposition.ly
index 3c6dac923339408fe9709ad658df6d2a157a20ed..93aa1084734fff4c2c4778405fc407ffcb60f60d 100644 (file)
@@ -2,11 +2,11 @@
 Hi all,
 
 I have extend Mats' patches to allow accidental transposition:
-        \accidentals bes es fis;
+        \keysignature bes es fis;
                = \transpose d =>
-        \accidentals gis;
+        \keysignature gis;
 
-As you can see in output the example file "test.ly" there are a few problems left:
+As you can see in output =  the example file "test.ly" there are a few problems left:
 - key undo (already in the Todo)
 - "wrong" transposition: e.g. \transpose d of fis-major = gis-major (better as-major?).
        The solution gis=as etc. would concern both note and key transposistion
@@ -22,9 +22,9 @@ copyright =    "public domain";
 }
 
 
-\version "1.0.0";
+\version "1.3.42";
 
-vOne = \melodic \relative c''{
+vOne = \notes \relative c''{
         \clef"violin";
         \key d;
         \time 2/4 ;
@@ -35,23 +35,23 @@ vOne = \melodic \relative c''{
         c4 c |
 }
 
-vTwo = \melodic \relative c''\transpose d' { \vOne }
+vTwo = \notes \transpose d' { \vOne }
 
-vThree = \melodic \relative c''{
+vThree = \notes \relative c''{
         \clef"violin";
-        \accidentals fis cis;
+        \keysignature fis cis;
         \time 2/4 ;
         d4 d |       
-        \accidentals bes es fis;
+        \keysignature bes es fis;
         fis4 fis |         
-        \accidentals fis cis gis dis ais eis;
+        \keysignature fis cis gis dis ais eis;
         cis4 ais4 |
 }
 
-vFour = \melodic \relative c''\transpose d' \vThree
+vFour = \notes \transpose d' \vThree
 
 \score {
-  \type StaffGroup <
+  \context StaffGroup <
          \vOne
          \vTwo
          \vThree