]> git.donarmstrong.com Git - lilypond.git/blob - input/trip.ly
release: 1.3.18
[lilypond.git] / input / trip.ly
1 \header {
2   title =       "Trip";
3   enteredby =   "JCN";
4   copyright =   "public domain";
5 }
6
7
8 % todo: clef ch .
9
10 praeludiumRight =  \notes {
11    \key e;
12   \clef violin;
13
14   % 13 -- how to type -- where to split -- this more neatly?
15   \context Staff <
16     \context Voice = I \relative c'' { \stemup r4 dis4 e4. e8 ~ |
17       \shifton e4 [d8 fis8] \shiftoff gis4 ~ [gis8 fis16 e ] |
18       fis4 ~ [fis8 e16 dis] e4 r8 e8 }
19     \context Voice = III \relative c'' { \stemup \shifton r4 bis cis \shiftoff cis |
20       a' ~ [a16 gis a b] \shifton dis,4 cis ~ |
21       [cis8 dis16 ais] bis4 cis r8 b }
22     \context Voice = IV \relative c'' {
23       \stemdown
24       \shifton s4 gis }
25       
26     \context Voice =  II \relative c' { \stemdown
27 %      \shifton       % idem
28
29       r4 fis \shiftoff gis gis |
30       a4. cis8 gis2 |
31       fis4 gis gis r8 e8 }
32   > |
33   % 16
34 }
35
36 praeludiumLeft = \notes \relative c {
37    \key e;
38   \clef bass;
39
40   % 13
41   \context Staff <
42     \context Voice = two { r4 }
43     \context Voice = one { \stemup s4 dis' cis cis ~ |
44       [cis8
45          (
46       a \translator Staff = treble  \stemdown \shifton d
47          )
48
49       cis]
50       \translator Staff = bass 
51       \shiftoff
52       [bis gis] cis4 |
53       dis2 cis4 r8 cis }
54     \context Voice = one { \stemup bis2 }
55     \context Voice = three {
56     \property Voice.dynamicDirection  = \down
57     \stemup \shifton r4 gis ~ [gis8
58       \<
59
60      gis] ~ \stemdown \shiftoff gis4 |
61      a4. fis8
62        \!
63      gis4. a8 ~ |
64      a4 gis4 gis r8 gis }
65     \context Voice = four { \stemdown \shifton s4 fis4 e}
66     \context Voice = two { \stemdown s4 dis4 cis4 }
67   > |
68   %16
69 }
70
71
72
73
74 fugaIIRight = \notes   \relative c''   {
75   \key e;              % E-major
76   \clef violin;
77   \time3/4;
78
79   %15
80   \context Staff <
81     \context Voice = VA { \stemup [b8 fis8] b4 }
82     \context Voice = VB {  \stemdown fis2 }
83   >
84
85   \context Staff \notes\relative c''<
86        \context Voice=one {
87           \property Voice.horizontalNoteShift=0
88           \property Voice.verticalDirection=1 
89           e4 
90        }
91        \context Voice=two {
92           \property Voice.verticalDirection=1 
93           \property Voice.horizontalNoteShift=1
94           cis
95        }
96        \context Voice=three {
97           \property Voice.horizontalNoteShift=2
98           \property Voice.verticalDirection=1 
99           ais
100        }
101        \context Voice=four {
102           \property Voice.verticalDirection=-1 
103           \property Voice.horizontalNoteShift=-1
104           fis
105        }
106   >
107
108     %16
109     \context Staff <
110       \context Voice = one {  dis2 dis4 |
111       cis2 cis4 |
112       b4. [cis8 dis e] }
113     \context Voice = three {  \stemup \shifton [b8 fis] b2 ~ |
114       [b8 a!16 gis] a2 ~ |
115       a4 gis2 }
116     \context Voice = two {  \stemdown fis2. ~ |
117       fis ~ |
118       fis4 e2 }
119   > |
120   %19
121 }
122
123 gracetest = \notes \grace { [c16 ( cis dis] }
124
125 fugaIILeft = \notes {
126   \key e;
127   \clef bass;
128
129   %15
130   \context Staff < 
131     \context Voice = one { \stemdown
132     \gracetest
133     \relative b, < )b2 dis fis a b cis dis> \stemup ais4 |
134       b2 b4 }
135     \context Voice = two { \stemdown s2 e4 |
136       fis2 fis4 }
137   >
138   \stemdown cis2 e4 |
139   b4. b8 b4 |
140   %19
141 }
142
143 fugaIIPedal = \notes \relative c {
144   \key e;
145   \clef bass;
146
147   %15
148   dis4.-\ltoe e8-\rtoe cis4 |
149   b4.-\lheel [cis8-\ltoe dis8-\rtoe e8-\rheel] |
150   fis4.-\rtoe [e8-\rheel dis8-\rtoe cis8-\ltoe] |
151   dis4-\rtoe e4-\rheel e,4-\ltoe |
152   %19
153 }
154
155
156
157 % these should be two separate scores...
158 \score{
159   \context Score  \notes <
160     \context PianoStaff <
161       \context Staff = treble {
162         \property Score.midiInstrument = "church organ"
163         \praeludiumRight r1 \fugaIIRight }
164       \context Staff = bass { 
165         \praeludiumLeft r1 \fugaIILeft }
166     > 
167     \context Staff = pedal \relative c  <
168       {
169         \time 4/4;
170         \key E; 
171   \clef bass;
172
173   %13
174   r4 fis,4-\ltoe e4.-\lheel e'8-\rheel | 
175   fis4.-\rtoe fis8-\rtoe fis4-\rtoe [e8-\ltoe a-\rtoe] | 
176   dis,4-\ltoe gis-\rtoe [cis,8-\ltoe
177     (
178      b!-\lheel ais-\rtoe gis-\ltoe ~ ] |
179       gis8  r4.
180     )
181       c2 
182  \time 3/4;
183
184   \fugaIIPedal }
185       
186     >
187   >
188
189   \paper {
190
191    \translator { \OrchestralScoreContext }
192   }
193
194   \midi {
195     \tempo 4 =96; }
196 }