]> git.donarmstrong.com Git - lilypond.git/blob - input/toccata-fuga-E.ly
b912fb5f0b2d0141d69e4d5271c6c3f2cf2c75e0
[lilypond.git] / input / toccata-fuga-E.ly
1 %{MudelaHeader
2
3  filename: toccata-fuga-E.ly
4  title: toccata and fuga in E-major bwv 566
5  description:  
6  toccata: 3 bar excerpt
7  2nd fuga: transposed subject --- 4 bar excerpt
8
9  composers: Johann Sebastian Bach (1685-1750)
10  entered-by: JCN
11  copyright:
12
13  Tested Features:
14  purpose of this file is testing: 
15      * real-life collisions
16      * multi-voice input --- splitting?
17      * organ staff...
18
19 EndMudelaHeader
20 %}
21
22
23 \version "0.0.61";
24
25 toccata_commands = \melodic{
26         \meter 4/4;
27         \key fis cis gis dis; % E-major
28 }
29
30 toccata_right = \melodic{ 
31         \$toccata_commands 
32         % 13 -- how to type -- where to split -- this more neatly ?
33         \octave c';
34         <\multi 2;
35                 { \stem 1; r4 dis'4 e'4.-. e'8( | \hshift 1; )e'4 [d'8 fis'8] \hshift 0; gis'4 [gis'8 fis'16 e'16] | fis'4~  [fis'8 e'16 dis'16] e'4 r8 e'8 }
36                 { \stem 1; \hshift 1; r4 bis4 cis'4-. cis'4 | \hshift 0; a'4~  [a'16 gis'16 a'16 b'16] \hshift 1; dis'4 cis'4~  [cis'8 dis'16 a16] bis4 cis'4 r8 b8 }
37                 { \stem -1; r4 < gis4 fis4 dis4 > gis4-. gis4 | a4. cis'8 gis2 | fis4 gis4 gis4 r8 e8 }
38         > |
39         % 16
40 }
41
42 toccata_left = \melodic{ 
43         \$toccata_commands  
44         \octave c;
45         \clef bass;
46         % 13
47         <\multi 2;
48                 { \stem 1; bis2 cis'4-. cis'4~  [cis'8 a8 d'8 cis'8] [bis8 gis8] cis'4 | dis'2 cis'4 r8 cis'8 }
49                 { \stem 1; \hshift 1; r4 gis4. gis8~  gis4 | \stem -1; \hshift 0; a4. fis8 gis4. a8~  a4 gis4-. gis4 r8 gis8 }
50                 { \stem -1; r4 < dis4 fis4 > < cis4 e4 > }
51         > |
52         % 16
53 }
54
55 toccata_pedal = \melodic{
56         \$toccata_commands  
57         \octave c;
58         \clef bass;
59         % 13
60         r4 'fis4-\ltoe 'e4.-\lheel e8-\rheel | 
61         % 14
62         fis4.-\rtoe fis8-.-\rtoe fis4-\rtoe [e8-\ltoe a8-\rtoe] | 
63         % 15
64         dis4-\ltoe gis4-\rtoe [cis8-\ltoe 'b8-\lheel 'a8-\rtoe 'gis8-\ltoe] |
65         % 16
66 }
67
68 fuga2_commands = \melodic{
69         \meter 3/4;
70         \key fis cis gis dis; % E-major
71 }
72
73 fuga2_right = \melodic{
74         \$fuga2_commands  
75         % 15
76         \octave c';
77         <\multi 2;
78                 { \stem 1; [b8 fis8] b4 }
79                 { \stem -1; fis2 }
80         >
81         %{ this chord is usually set like this:
82              |
83             x|| 
84              x||
85               x|
86            |x
87            |
88         %}
89         < \multi 2;
90                 { \stem 1; \hshift 0; e'4 }
91                 { \stem 1; \hshift 1; cis'4 }
92                 { \stem 1; \hshift 2; ais4 }
93                 { \stem -1; fis4 }
94         > |
95         % 16
96         <\multi 2;
97                 { \stem 1; dis'2 dis'4 | cis'2 cis'4 | b4~  [b8 cis'8 dis'8 e'8] }
98                 { \stem 1; \hshift 1; [b8 fis8] b2~  [b8 a16 g16] a2 | a4 gis2 }
99                 { \stem -1; fis2.~  fis2.~  fis4 e2 }
100         > |
101         % 19
102 }
103
104 fuga2_left = \melodic{
105         \$fuga2_commands  
106         \octave c;
107         \clef bass;
108         % 15
109         b2 
110         <\multi 2; 
111                 { \stem 1; ais4 | bes2. }
112                 { \stem -1; e4  | fis2 fis4 }
113         >
114         % 17
115         cis'2 e'4 |
116         % 18
117         b4. b8 b4 |
118 }
119
120 fuga2_pedal = \melodic{
121         \$fuga2_commands  
122         \octave c;
123         \clef bass;
124         % 15
125         dis4.-\ltoe e8-\rtoe cis4 |
126         % 16
127         'b4.-\lheel [c8-\ltoe dis8-\rtoe e8-\rheel] |
128         % 17
129         fis4.-\rtoe [e8-\rheel dis8-\rtoe cis8-\ltoe] |
130         % 18
131         dis4-\rtoe e4-\rheel 'e4-\ltoe |
132 }
133
134 break = \melodic{ \meter 4/4; r1 }
135
136 % these should be two separate scores...
137 \score{
138         \melodic < \multi 3;
139
140                  {\$toccata_right     \break   \$fuga2_right }
141                  {\$toccata_left  \break   \$fuga2_left }
142         
143                  {\$toccata_pedal    \break   \$fuga2_pedal }
144                 
145         >
146         \paper{}
147         \midi{
148                 \tempo 4:96;
149         }
150 }
151