2 filename = "praeludium-fuga-E.ly";
3 title = "praeludium and fuga in E-major";
5 description = "Praeludium 3 bar excerpt, "
6 "2nd fuga transposed subject -- 4 bar excerpt. "
7 "We try to imitate the Griepenkerl/Keller edition which "
8 "gives the best approximation to Bach's original layout.";
9 composer = "Johann Sebastian Bach (1685-1750)";
10 enteredby = "JCN, WL";
11 copyright = "public domain";
16 purpose of this file is testing:
17 * real-life collisions
18 * multi-voice input --- splitting?
25 praeludium_commands = \melodic {
27 \key fis cis gis dis; % E-major
30 doshift = \property Voice.hshift = 1
31 noshift = \property Voice.hshift = 0
33 praeludium_right = \melodic {
38 % 13 -- how to type -- where to split -- this more neatly?
40 { \stemup r4 dis'4 e'4. e'8 ~ |
41 \doshift e'4 [d'8 fis'8]
42 \noshift gis'4 ~ [gis'8 fis'16 e'16] |
43 fis'4 ~ [fis'8 e'16 dis'16] e'4 r8 e'8 }
44 { \stemup r4 bis4 cis'4 cis'4 |
45 \noshift a'4 ~ [a'16 gis'16 a'16 b'16]
46 \doshift dis'4 cis'4 ~ |
47 [cis'8 dis'16 ais16] bis4 cis'4 r8 b8 }
48 { \stemup \property Voice.hshift = 2 s4 gis4 }
49 { \stemdown \property Voice.hshift = 2 r4 fis4
52 fis4 gis4 gis4 r8 e8 }
57 praeludium_left = \melodic {
64 { \stemup r4 dis'4 cis'4 cis'4 ~ |
65 [cis'8 a8 d'8 cis'8] [bis8 gis8] cis'4 |
66 dis'2 cis'4 r8 cis'8 }
68 { \stemup \doshift r4 gis4 ~
69 [gis 8 gis8] ~ \stemdown \noshift gis4 |
71 a4 gis4 gis4 r8 gis8 }
72 { \stemup \property Voice.hshift = 2 s4 fis4 e}
73 { \stemdown s4 dis4 cis4 }
78 praeludium_pedal = \melodic {
84 r4 'fis4-\ltoe 'e4.-\lheel e8-\rheel |
85 fis4.-\rtoe fis8-\rtoe fis4-\rtoe [e8-\ltoe a8-\rtoe] |
86 dis4-\ltoe gis4-\rtoe [cis8-\ltoe 'b!8-\lheel 'ais8-\rtoe 'gis8-\ltoe] |
91 fuga2_commands = \melodic{
93 \key fis cis gis dis; % E-major
96 fuga2_right = \melodic {
103 { \stemup [b8 fis8] b4 }
106 %{ this chord is usually set like this:
115 { \stemup \noshift e'4 }
116 { \stemup \doshift cis'4 }
117 { \stemup \property Voice.hshift = 2 ais4 }
122 { \stemup dis'2 dis'4 |
124 b4. [cis'8 dis'8 e'8] }
125 { \stemup \doshift [b8 fis8] b2 ~ |
126 [b8 a!16 gis16] a2 ~ |
128 { \stemdown fis2. ~ |
135 fuga2_left = \melodic {
142 { \stemdown b2 \stemup ais4 |
147 \stemdown cis'2 e'4 |
152 fuga2_pedal = \melodic {
158 dis4.-\ltoe e8-\rtoe cis4 |
159 'b4.-\lheel [cis8-\ltoe dis8-\rtoe e8-\rheel] |
160 fis4.-\rtoe [e8-\rheel dis8-\rtoe cis8-\ltoe] |
161 dis4-\rtoe e4-\rheel 'e4-\ltoe |
171 % these should be two separate scores...
175 \type Staff = treble {
176 \praeludium_right \break \fuga2_right }
178 \praeludium_left \break \fuga2_left }
180 \type Staff = pedal {
181 \praeludium_pedal \break \fuga2_pedal }