3 texidoc="Template for part-combining orchestral scores";
7 % \include "mutopia/Coriolan/coriolan-paper.ly";
9 #(define text-flat '((font-relative-size . -2 ) (music "accidentals--1")))
11 End = { \skip 1*9; \bar "|."; }
13 flautoI = \notes\relative c'' {
18 \context Score \outputproperty #(make-type-checker 'paper-column-interface)
19 #'between-system-string = #"\\eject"
27 a2 \property VoiceCombineThread.soloADue = ##f a
30 flautoII = \notes\relative c'' {
39 a2 \property VoiceCombineThread.soloADue = ##f a
42 flautiStaff = \notes \context VoiceCombineStaff = flauti <
43 \property VoiceCombineStaff.midiInstrument = #"flute"
44 % \property VoiceCombineStaff.instrument = #"2 Flauti"
45 % \property VoiceCombineStaff.instr = #"Fl."
47 \property VoiceCombineStaff.instrument = #`((kern . 0.5) (lines
48 "2 Clarinetti" (rows "(B" ,text-flat ")")))
50 \property VoiceCombineStaff.instr = #`((kern . 0.5) (lines
51 "Cl." (rows "(B" ,text-flat ")")))
54 \context VoiceCombineVoice=one \partcombine VoiceCombineVoice
55 \context VoiceCombineThread=one \flautoI
56 \context VoiceCombineThread=two \flautoII
59 legniGroup = \context StaffGroup = legni_group <
66 violinoI = \notes\relative c'' {
78 violinoII = \notes\relative c'' {
90 violinoIStaff = \context Staff = oneViolini <
91 \property Staff.midiInstrument = #"violin"
92 \property Staff.instrument = #"Violino I"
93 \property Staff.instr = #"Vl. I"
98 violinoIIStaff = \context Staff = twoViolini <
99 % MIDI hoort geeneens verschil tussen een
100 % eerste en tweede viool ;-)
101 \property Staff.midiInstrument = #"violin"
102 \property Staff.instrument = #"Violino II"
103 \property Staff.instr = #"Vl. II"
108 violaI = \notes\transpose c, \violinoI
110 violaII = \notes\transpose c, \violinoII
112 violeGroup = \notes \context VoiceCombineStaff = oneViole <
113 \property VoiceCombineStaff.midiInstrument = #"viola"
114 \property VoiceCombineStaff.instrument = #"Viola"
115 \property VoiceCombineStaff.instr = #"Vla."
117 % Ugh, clef broken in 1.3.125
118 \property VoiceCombineStaff.clefGlyph = #"clefs-C"
119 \property VoiceCombineStaff.clefPosition = #0
123 \context VoiceCombineVoice=oneViole \partcombine VoiceCombineVoice
124 \context VoiceCombineThread=oneViole \violaI
125 \context VoiceCombineThread=twoViole \violaII
128 violoncello = \notes\relative c {
129 c1\ff d e f c d e f c
132 contrabasso = \notes\relative c {
145 bassiGroup = \context PianoStaff = bassi_group \notes <
146 \context StaffCombineStaff=oneBassi {
147 \property StaffCombineStaff.midiInstrument = #"cello"
150 \property StaffCombineStaff.instrument = #'((kern . 0.5)
151 (lines "Violoncello" (rows " e") (rows "Contrabasso")))
153 \property StaffCombineStaff.instr = #"Vc."
156 % Ugh, clef broken in 1.3.125
157 \property StaffCombineStaff.clefGlyph = #"clefs-F"
158 \property StaffCombineStaff.clefPosition = #2
163 \context StaffCombineStaff=twoBassi {
164 \property StaffCombineStaff.midiInstrument = #"contrabass"
165 \property StaffCombineStaff.instrument = #"Contrabasso"
166 \property StaffCombineStaff.instr = #"Cb."
169 % Ugh, clef broken in 1.3.125
170 \property StaffCombineStaff.clefGlyph = #"clefs-F"
171 \property StaffCombineStaff.clefPosition = #2
177 \context StaffCombineStaff=oneBassi \partcombine StaffCombineStaff
178 \context StaffCombineVoice=oneBassi \violoncello
179 \context StaffCombineVoice=twoBassi \contrabasso
183 violiniGroup = \context GrandStaff = violini_group <
188 archiGroup = \context StaffGroup = archi_group <
204 subtitle = "Ouverture";
206 composer = "Ludwig van Beethoven (1770-1827)";
208 copyright = "public domain";
213 %textheight = 290.0\mm;
214 %linewidth = 195.0\mm;
215 textheight = 285.0\mm;
216 linewidth = 190.0\mm;
218 \translator{ \HaraKiriStaffContext }
220 % The Voice combine hierarchy
224 \name "VoiceCombineThread";
225 \consists "Rest_engraver";
229 \name "VoiceCombineVoice";
232 \remove "Rest_engraver";
233 \accepts "VoiceCombineThread";
236 \HaraKiriStaffContext
237 \consists "Mark_engraver";
238 \name "VoiceCombineStaff";
239 \accepts "VoiceCombineVoice";
243 % The Staff combine hierarchy
247 \name "StaffCombineThread";
251 \name "StaffCombineVoice";
252 \accepts "StaffCombineThread";
253 \consists "Thread_devnull_engraver";
256 \HaraKiriStaffContext
257 \name "StaffCombineStaff";
258 \accepts "StaffCombineVoice";
263 % This is non-conventional, but currently it is
264 % the only way to tell the difference.
266 splitInterval = #'(1 . 0)
267 changeMoment = #`(,(make-moment 1 1) . ,(make-moment 1 1))
271 \accepts "VoiceCombineStaff";
272 \accepts "StaffCombineStaff";
274 \translator{ \HaraKiriStaffContext }
278 \OrchestralScoreContext
279 \accepts "VoiceCombineStaff";
280 \accepts "StaffCombineStaff";
281 TimeSignature \override #'style = #'C
283 BarNumber \override #'padding = #3
284 RestCollision \override #'maximum-rest-count = #1