3 copyright = "public domain"
11 This file tests as much features of lily as possible. If there are any
12 basic faults in lily, this file will not run correctly.
22 * drum, jazz, pop notation
27 praeludiumRight = \notes {
31 % 13 -- how to type -- where to split -- this more neatly?
33 \context Voice = I \relative c'' { \stemUp r4 dis4 e4. e8 ~ |
34 \shiftOn e4-.-^^\f [d8 fis8] \shiftOff gis4 ~ [gis8 fis16 e ] |
35 fis4 ~ [fis8 e16 dis] e4 r8 e8 }
36 \context Voice = III \relative c'' { \stemUp \shiftOn r4 bis cis \shiftOff cis |
37 a' ~ [a16 gis a b] \shiftOn dis,4 cis ~ |
38 [cis8 dis16 ais] bis4 cis r8 b }
39 \context Voice = IV \relative c'' {
43 \context Voice = II \relative c' { \stemDown
46 r4 fis \shiftOff gis gis |
53 praeludiumLeft = \notes \relative c {
59 \context Voice = two { r4 }
60 \context Voice = one { \stemUp s4 dis' cis cis ~ |
64 a \translator Staff = treble \stemDown \shiftOn d
68 \translator Staff = bass
72 \context Voice = one { \stemUp bis2 }
73 \context Voice = three {
74 \property Voice.DynamicLineSpanner \override #'direction = #-1
75 \stemUp \shiftOn r4 gis ~ [gis8
78 gis] ~ \stemDown \shiftOff gis4 |
83 \context Voice = four { \stemDown \shiftOn s4 fis4 e}
84 \context Voice = two { \stemDown s4 dis4 cis4 }
92 fugaIIRight = \notes \relative c'' {
93 \key e \major % E-major
99 \context Voice = VA { \stemUp [b8 fis8] b4 }
100 \context Voice = VB { \stemDown fis2 }
103 \context Staff \notes\relative c''<
114 \context Voice=three {
119 \context Voice=four {
128 \context Voice = one { dis2 dis4 |
131 \context Voice = three { \stemUp \shiftOn [b8 fis] b2 ~ |
134 \context Voice = two { \stemDown fis2. ~ |
141 gracetest = \notes \grace { [c16 ( cis dis] }
143 fugaIILeft = \notes {
149 \context Voice = one { \stemDown
151 \relative b, < )b2 dis fis a b cis dis> \stemUp ais4 |
153 \context Voice = two { \stemDown s2 e4 |
156 \stemBoth cis2 [e16( fis a \clef "treble" b] |
161 fugaIIPedal = \notes \relative c {
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"
185 \times 4/3 { c4 c4 c4 } \mark "B"
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 % tie accs: 2nd should get no acc
205 fis8-\rtoe fis4-\rtoe [e8-\ltoe a-\rtoe] |
206 dis,4-\ltoe gis-\rtoe [cis,8-\ltoe
208 b!-\lheel ais-\rtoe g-\ltoe ~ ] |
210 % tie should generate acc.
217 \fugaIIPedal \bar "|." }
225 \OrchestralScoreContext
227 \translator { \PianoStaffContext
228 \consists "Instrument_name_engraver"
230 \translator { \StaffContext
231 \consists "Instrument_name_engraver"