lilypond-1.3.67
[lilypond.git] / input / trip.ly
blob5ca69f53eba20631e04957f9ddac3522f9b7d12b
1 \header {
2 title = "Trip";
3 copyright = "public domain";
7 %{
9 This file tests as much features of lily as possible. If there are any
10 basic faults in lily, this file will not run correctly.
12 TODO:
14 * repeats.
16 * tremolo
20 \version "1.3.59";
21 praeludiumRight = \notes {
22 \key e \major;
23 \clef violin;
25 % 13 -- how to type -- where to split -- this more neatly?
26 \context Staff <
27 \context Voice = I \relative c'' { \stemup r4 dis4 e4. e8 ~ |
28 \shifton e4-.-^^\f [d8 fis8] \shiftoff gis4 ~ [gis8 fis16 e ] |
29 fis4 ~ [fis8 e16 dis] e4 r8 e8 }
30 \context Voice = III \relative c'' { \stemup \shifton r4 bis cis \shiftoff cis |
31 a' ~ [a16 gis a b] \shifton dis,4 cis ~ |
32 [cis8 dis16 ais] bis4 cis r8 b }
33 \context Voice = IV \relative c'' {
34 \stemdown
35 \shifton s4 gis }
37 \context Voice = II \relative c' { \stemdown
38 % \shifton % idem
40 r4 fis \shiftoff gis gis |
41 a4. cis8 gis2 |
42 fis4 gis gis r8 e8 }
43 > |
44 % 16
47 praeludiumLeft = \notes \relative c {
48 \key e \major;
49 \clef bass;
51 % 13
52 \context Staff <
53 \context Voice = two { r4 }
54 \context Voice = one { \stemup s4 dis' cis cis ~ |
55 % BUG -> (insane springs.)
56 \times 4/5
57 { [cis8 ( cis
59 a \translator Staff = treble \stemdown \shifton d
62 cis] }
63 \translator Staff = bass
64 \shiftoff
65 [bis gis] cis4 |
66 dis2 cis4 r8 cis }
67 \context Voice = one { \stemup bis2 }
68 \context Voice = three {
69 \property Voice.dynamicDirection = \down
70 \stemup \shifton r4 gis ~ [gis8
73 gis] ~ \stemdown \shiftoff gis4 |
74 a4. fis8
76 gis4. a8 ~ |
77 a4 gis4 gis r8 gis }
78 \context Voice = four { \stemdown \shifton s4 fis4 e}
79 \context Voice = two { \stemdown s4 dis4 cis4 }
80 > |
81 %16
87 fugaIIRight = \notes \relative c'' {
88 \key e \major; % E-major
89 \clef violin;
90 \time3/4;
92 %15
93 \context Staff <
94 \context Voice = VA { \stemup [b8 fis8] b4 }
95 \context Voice = VB { \stemdown fis2 }
98 \context Staff \notes\relative c''<
99 \context Voice=one {
100 \property Voice.horizontalNoteShift=0
101 \property Voice.verticalDirection=1
104 \context Voice=two {
105 \property Voice.verticalDirection=1
106 \property Voice.horizontalNoteShift=1
109 \context Voice=three {
110 \property Voice.horizontalNoteShift=2
111 \property Voice.verticalDirection=1
114 \context Voice=four {
115 \property Voice.verticalDirection=-1
116 \property Voice.horizontalNoteShift=-1
122 \context Staff <
123 \context Voice = one { dis2 dis4 |
124 cis2 cis4 |
125 b4. [cis8 dis e] }
126 \context Voice = three { \stemup \shifton [b8 fis] b2 ~ |
127 [b8 a!16 gis] a2 ~ |
128 a4 gis2 }
129 \context Voice = two { \stemdown fis2. ~ |
130 fis ~ |
131 fis4 e2 }
136 gracetest = \notes \grace { [c16 ( cis dis] }
138 fugaIILeft = \notes {
139 \key e \major;
140 \clef bass;
143 \context Staff <
144 \context Voice = one { \stemdown
145 \gracetest
146 \relative b, < )b2 dis fis a b cis dis> \stemup ais4 |
147 b2 b4 }
148 \context Voice = two { \stemdown s2 e4 |
149 fis2 fis4 }
151 \stemboth cis2 [e16( fis a \clef "treble"; b] |
152 d'4 ) b8 b8 b4 |
156 fugaIIPedal = \notes \relative c {
157 \key e \major;
158 \clef bass;
161 dis4.-\ltoe e8-\rtoe cis4 |
162 b4.-\lheel [cis8-\ltoe dis8-\rtoe e8-\rheel] |
163 fis4.-\rtoe [e8-\rheel dis8-\rtoe cis8-\ltoe] |
164 dis4-\rtoe e4-\rheel e,4-\ltoe |
168 % these should be two separate scores...
169 \score{
170 \context Score \notes <
171 \context PianoStaff <
172 \context Staff = treble {
173 \property Staff.instrument = #"right"
174 \property Staff.instr = #"rt"
175 \property PianoStaff.instrument = #"hands"
176 \property PianoStaff.instr = #"hs"
179 \property Score.midiInstrument = "church organ"
180 \praeludiumRight
181 r1 \mark "B";
182 \fugaIIRight }
183 \context Staff = bass {
184 \property Staff.instrument = #"left"
185 \property Staff.instr = #"lt"
186 \praeludiumLeft r1 \fugaIILeft }
188 \context Staff = pedal \relative c <
190 \property Staff.instrument = #"bass"
191 \property Staff.instr = #"bs"
193 \time 4/4;
194 \key e \major;
195 \clef bass;
198 r4 fis,4-\ltoe e4.-\lheel e'8-\rheel |
199 fis4.-\rtoe fis8-\rtoe fis4-\rtoe [e8-\ltoe a-\rtoe] |
200 dis,4-\ltoe gis-\rtoe [cis,8-\ltoe
202 b!-\lheel ais-\rtoe gis-\ltoe ~ ] |
203 gis8 r4.
205 c2^^^-^\f
206 \time 3/4;
208 \fugaIIPedal }
213 \paper {
215 \translator {
216 \OrchestralScoreContext
218 \translator { \PianoStaffContext
219 \consists "Instrument_name_engraver";
221 \translator { \StaffContext
222 \consists "Instrument_name_engraver";
226 \midi {
227 \tempo 4 =96; }