3 \header{ texidoc = "@cindex Transposition
4 Transposition Test file"
11 I have extend Mats' patches to allow accidental transposition:
12 \keysignature bes es fis
16 As you can see in output = the example file "test.ly" there are a few problems left:
17 - key undo (already in the Todo)
18 - "wrong" transposition: e.g. \transpose c' d of fis-major = gis-major (better as-major?).
19 The solution gis=as etc. would concern both note and key transposistion
23 - Note that transpose eses of fis-major = as-major
24 - Note also that key signatures specified with \property keySignature
27 /Mats B, March 21, 2001
33 vOne = \notes \relative c''{
44 vTwo = \notes \transpose c d { \vOne }
46 vThree = \notes \relative c''{
48 % \keysignature fis cis
49 \property Staff.keySignature = #'((0 . 1)(3 . 1))
52 % \keysignature bes es fis
53 \property Staff.keySignature = #'((3 . 1)(2 . -1)(6 . -1))
55 % \keysignature fis cis gis dis ais eis
56 \property Staff.keySignature = #'((2 . -1)(5 . -1)(1 . 1)(4 . 1)(0 . 1)(3 . 1))
60 vFour = \notes \transpose c d \vThree
64 \context Staff=vOne \vOne
65 \context Staff=vTwo \vTwo
66 \context Staff=vThree \vThree
67 \context Staff=vFour \vFour
69 \paper { linewidth= 130.\mm raggedright = ##t }