lilypond-1.0.12
[lilypond.git] / input / test / transposition.ly
blob18f742d1273ddb22f7bd05949b0d64492f999360
1 %{
2 Hi all,
4 I have extend Mats' patches to allow accidental transposition:
5 \keysignature bes es fis;
6 = \transpose d =>
7 \keysignature gis;
9 As you can see in output the example file "test.ly" there are a few problems left:
10 - key undo (already in the Todo)
11 - "wrong" transposition: e.g. \transpose d of fis-major = gis-major (better as-major?).
12 The solution gis=as etc. would concern both note and key transposistion
14 Eric
17 \header{
18 title = "Test it";
19 description = "Transposition Test file";
20 enteredby = "Eric Bullinger";
21 copyright = "public domain";
25 \version "1.0.4";
27 vOne = \notes \relative c''{
28 \clef"violin";
29 \key d;
30 \time 2/4 ;
31 d4 d |
32 \key fis;
33 fis4 fis |
34 \key es;
35 c4 c |
38 vTwo = \notes \transpose d' { \vOne }
40 vThree = \notes \relative c''{
41 \clef"violin";
42 \keysignature fis cis;
43 \time 2/4 ;
44 d4 d |
45 \keysignature bes es fis;
46 fis4 fis |
47 \keysignature fis cis gis dis ais eis;
48 cis4 ais4 |
51 vFour = \notes \transpose d' \vThree
53 \score {
54 \type StaffGroup <
55 \vOne
56 \vTwo
57 \vThree
58 \vFour
60 \paper { linewidth= 130.\mm; }