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.
21 praeludiumRight = \notes {
25 % 13 -- how to type -- where to split -- this more neatly?
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'' {
37 \context Voice = II \relative c' { \stemdown
40 r4 fis \shiftoff gis gis |
47 praeludiumLeft = \notes \relative c {
53 \context Voice = two { r4 }
54 \context Voice = one { \stemup s4 dis' cis cis ~ |
58 a \translator Staff = treble \stemdown \shifton d
62 \translator Staff = bass
66 \context Voice = one { \stemup bis2 }
67 \context Voice = three {
68 \property Voice.dynamicDirection = \down
69 \stemup \shifton r4 gis ~ [gis8
72 gis] ~ \stemdown \shiftoff gis4 |
77 \context Voice = four { \stemdown \shifton s4 fis4 e}
78 \context Voice = two { \stemdown s4 dis4 cis4 }
86 fugaIIRight = \notes \relative c'' {
87 \key e \major; % E-major
93 \context Voice = VA { \stemup [b8 fis8] b4 }
94 \context Voice = VB { \stemdown fis2 }
97 \context Staff \notes\relative c''<
99 \property Voice.horizontalNoteShift=0
100 \property Voice.verticalDirection=1
104 \property Voice.verticalDirection=1
105 \property Voice.horizontalNoteShift=1
108 \context Voice=three {
109 \property Voice.horizontalNoteShift=2
110 \property Voice.verticalDirection=1
113 \context Voice=four {
114 \property Voice.verticalDirection=-1
115 \property Voice.horizontalNoteShift=-1
122 \context Voice = one { dis2 dis4 |
125 \context Voice = three { \stemup \shifton [b8 fis] b2 ~ |
128 \context Voice = two { \stemdown fis2. ~ |
135 gracetest = \notes \grace { [c16 ( cis dis] }
137 fugaIILeft = \notes {
143 \context Voice = one { \stemdown
145 \relative b, < )b2 dis fis a b cis dis> \stemup ais4 |
147 \context Voice = two { \stemdown s2 e4 |
150 \stemboth cis2 [e16( fis a \clef "treble"; b] |
155 fugaIIPedal = \notes \relative c {
161 % TODO: the volta typesetting should spread over the complete score.
163 \repeat "volta" 2 { dis4.-\ltoe } \alternative { e8-\rtoe cis4 } |
164 b4.-\lheel [cis8-\ltoe dis8-\rtoe e8-\rheel] |
165 fis4.-\rtoe [e8-\rheel dis8-\rtoe cis8-\ltoe] |
166 dis4-\rtoe e4-\rheel e,4-\ltoe |
170 % these should be two separate scores...
172 \context Score \notes <
173 \context PianoStaff <
174 \context Staff = treble {
175 \property Staff.instrument = #"right"
176 \property Staff.instr = #"rt"
177 \property PianoStaff.instrument = #"hands"
178 \property PianoStaff.instr = #"hs"
181 \property Score.midiInstrument = "church organ"
185 \context Staff = bass {
186 \property Staff.instrument = #"left"
187 \property Staff.instr = #"lt"
188 \praeludiumLeft r1 \fugaIILeft }
190 \context Staff = pedal \relative c <
192 \property Staff.instrument = #"bass"
193 \property Staff.instr = #"bs"
200 r4 fis,4-\ltoe e4.-\lheel e'8-\rheel |
201 fis4.-\rtoe fis8-\rtoe fis4-\rtoe [e8-\ltoe a-\rtoe] |
202 dis,4-\ltoe gis-\rtoe [cis,8-\ltoe
204 b!-\lheel ais-\rtoe gis-\ltoe ~ ] |
218 \OrchestralScoreContext
220 \translator { \PianoStaffContext
221 \consists "Instrument_name_engraver";
223 \translator { \StaffContext
224 \consists "Instrument_name_engraver";