-\version "1.5.68"
+#(ly:set-option 'old-relative)
+\version "1.9.1"
+
+\header{ texidoc = "@cindex Transposition
+Transposition test file."
+}
+
+
%{
Hi all,
I have extend Mats' patches to allow accidental transposition:
\keysignature bes es fis
- = \transpose d =>
+ = \transpose c' d =>
\keysignature gis
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?).
+- "wrong" transposition: e.g. \transpose c' d of fis-major = gis-major (better as-major?).
The solution gis=as etc. would concern both note and key transposistion
Eric
/Mats B, March 21, 2001
%}
-\header{
-title = "Test it"
-description = "Transposition Test file"
-enteredby = "Eric Bullinger"
-copyright = "public domain"
-}
-
c4 c |
}
-vTwo = \notes \transpose d' { \vOne }
+vTwo = \notes \transpose c d { \vOne }
vThree = \notes \relative c''{
\clef"violin"
cis4 ais4 |
}
-vFour = \notes \transpose d' \vThree
+vFour = \notes \transpose c d \vThree
\score {
\context StaffGroup <
\context Staff=vThree \vThree
\context Staff=vFour \vFour
>
- \paper { linewidth= 130.\mm }
+ \paper { linewidth= 130.\mm raggedright = ##t }
}
+