3 copyright = "public domain";
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.
23 praeludiumRight = \notes {
27 % 13 -- how to type -- where to split -- this more neatly?
29 \context Voice = I \relative c'' { \stemup r4 dis4 e4. e8 ~ |
30 \shifton e4-.-^^\f [d8 fis8] \shiftoff gis4 ~ [gis8 fis16 e ] |
31 fis4 ~ [fis8 e16 dis] e4 r8 e8 }
32 \context Voice = III \relative c'' { \stemup \shifton r4 bis cis \shiftoff cis |
33 a' ~ [a16 gis a b] \shifton dis,4 cis ~ |
34 [cis8 dis16 ais] bis4 cis r8 b }
35 \context Voice = IV \relative c'' {
39 \context Voice = II \relative c' { \stemdown
42 r4 fis \shiftoff gis gis |
49 praeludiumLeft = \notes \relative c {
55 \context Voice = two { r4 }
56 \context Voice = one { \stemup s4 dis' cis cis ~ |
60 a \translator Staff = treble \stemdown \shifton d
64 \translator Staff = bass
68 \context Voice = one { \stemup bis2 }
69 \context Voice = three {
70 \property Voice.dynamicDirection = \down
71 \stemup \shifton r4 gis ~ [gis8
74 gis] ~ \stemdown \shiftoff gis4 |
79 \context Voice = four { \stemdown \shifton s4 fis4 e}
80 \context Voice = two { \stemdown s4 dis4 cis4 }
88 fugaIIRight = \notes \relative c'' {
89 \key e \major; % E-major
95 \context Voice = VA { \stemup [b8 fis8] b4 }
96 \context Voice = VB { \stemdown fis2 }
99 \context Staff \notes\relative c''<
101 \property Voice.horizontalNoteShift=0
102 \property Voice.verticalDirection=1
106 \property Voice.verticalDirection=1
107 \property Voice.horizontalNoteShift=1
110 \context Voice=three {
111 \property Voice.horizontalNoteShift=2
112 \property Voice.verticalDirection=1
115 \context Voice=four {
116 \property Voice.verticalDirection=-1
117 \property Voice.horizontalNoteShift=-1
124 \context Voice = one { dis2 dis4 |
127 \context Voice = three { \stemup \shifton [b8 fis] b2 ~ |
130 \context Voice = two { \stemdown fis2. ~ |
137 gracetest = \notes \grace { [c16 ( cis dis] }
139 fugaIILeft = \notes {
145 \context Voice = one { \stemdown
147 \relative b, < )b2 dis fis a b cis dis> \stemup ais4 |
149 \context Voice = two { \stemdown s2 e4 |
152 \stemboth cis2 [e16( fis a \clef "treble"; b] |
157 fugaIIPedal = \notes \relative c {
163 % TODO: the volta typesetting should spread over the complete score.
165 \repeat "volta" 2 { dis4.-\ltoe } \alternative { e8-\rtoe cis4 } |
166 b4.-\lheel [cis8-\ltoe dis8-\rtoe e8-\rheel] |
167 fis4.-\rtoe [e8-\rheel dis8-\rtoe cis8-\ltoe] |
168 dis4-\rtoe e4-\rheel e,4-\ltoe |
172 % these should be two separate scores...
174 \context Score \notes <
175 \context PianoStaff <
176 \context Staff = treble {
177 \property Staff.instrument = #"right"
178 \property Staff.instr = #"rt"
179 \property PianoStaff.instrument = #"hands"
180 \property PianoStaff.instr = #"hs"
183 \property Score.midiInstrument = "church organ"
187 \context Staff = bass {
188 \property Staff.instrument = #"left"
189 \property Staff.instr = #"lt"
190 \praeludiumLeft r1 \fugaIILeft }
192 \context Staff = pedal \relative c <
194 \property Staff.instrument = #"bass"
195 \property Staff.instr = #"bs"
202 r4 fis,4-\ltoe e4.-\lheel e'8-\rheel |
203 fis4.-\rtoe fis8-\rtoe fis4-\rtoe [e8-\ltoe a-\rtoe] |
204 dis,4-\ltoe gis-\rtoe [cis,8-\ltoe
206 b!-\lheel ais-\rtoe gis-\ltoe ~ ] |
220 \OrchestralScoreContext
222 \translator { \PianoStaffContext
223 \consists "Instrument_name_engraver";
225 \translator { \StaffContext
226 \consists "Instrument_name_engraver";