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.
20 * drum, jazz, pop notation
25 praeludiumRight = \notes {
29 % 13 -- how to type -- where to split -- this more neatly?
31 \context Voice = I \relative c'' { \stemUp r4 dis4 e4. e8 ~ |
32 \shiftOn e4-.-^^\f [d8 fis8] \shiftOff gis4 ~ [gis8 fis16 e ] |
33 fis4 ~ [fis8 e16 dis] e4 r8 e8 }
34 \context Voice = III \relative c'' { \stemUp \shiftOn r4 bis cis \shiftOff cis |
35 a' ~ [a16 gis a b] \shiftOn dis,4 cis ~ |
36 [cis8 dis16 ais] bis4 cis r8 b }
37 \context Voice = IV \relative c'' {
41 \context Voice = II \relative c' { \stemDown
44 r4 fis \shiftOff gis gis |
51 praeludiumLeft = \notes \relative c {
57 \context Voice = two { r4 }
58 \context Voice = one { \stemUp s4 dis' cis cis ~ |
62 a \translator Staff = treble \stemDown \shiftOn d
66 \translator Staff = bass
70 \context Voice = one { \stemUp bis2 }
71 \context Voice = three {
72 \property Voice.DynamicLineSpanner \override #'direction = #-1
73 \stemUp \shiftOn r4 gis ~ [gis8
76 gis] ~ \stemDown \shiftOff gis4 |
81 \context Voice = four { \stemDown \shiftOn s4 fis4 e}
82 \context Voice = two { \stemDown s4 dis4 cis4 }
90 fugaIIRight = \notes \relative c'' {
91 \key e \major; % E-major
97 \context Voice = VA { \stemUp [b8 fis8] b4 }
98 \context Voice = VB { \stemDown fis2 }
101 \context Staff \notes\relative c''<
112 \context Voice=three {
117 \context Voice=four {
126 \context Voice = one { dis2 dis4 |
129 \context Voice = three { \stemUp \shiftOn [b8 fis] b2 ~ |
132 \context Voice = two { \stemDown fis2. ~ |
139 gracetest = \notes \grace { [c16 ( cis dis] }
141 fugaIILeft = \notes {
147 \context Voice = one { \stemDown
149 \relative b, < )b2 dis fis a b cis dis> \stemUp ais4 |
151 \context Voice = two { \stemDown s2 e4 |
154 \stemBoth cis2 [e16( fis a \clef "treble"; b] |
159 fugaIIPedal = \notes \relative c {
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"
183 \times 4/3 { c4 c4 c4 } \mark "B";
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 % tie accs: 2nd should get no acc
203 fis8-\rtoe fis4-\rtoe [e8-\ltoe a-\rtoe] |
204 dis,4-\ltoe gis-\rtoe [cis,8-\ltoe
206 b!-\lheel ais-\rtoe g-\ltoe ~ ] |
208 % tie should generate acc.
215 \fugaIIPedal \bar "|." ; }
223 \OrchestralScoreContext
225 \translator { \PianoStaffContext
226 \consists "Instrument_name_engraver";
228 \translator { \StaffContext
229 \consists "Instrument_name_engraver";