2 texidoc="Template for part-combining orchestral scores";
6 % \include "mutopia/Coriolan/coriolan-paper.ly";
8 #(define text-flat '((font-relative-size . -2 ) (music "accidentals--1")))
10 End = { \skip 1*9; \bar "|."; }
12 flautoI = \notes\relative c'' {
17 \context Score \outputproperty #(make-type-checker 'paper-column-interface)
18 #'between-system-string = #"\\eject"
26 a2 \property VoiceCombineThread.soloADue = ##f a
29 flautoII = \notes\relative c'' {
38 a2 \property VoiceCombineThread.soloADue = ##f a
41 flautiStaff = \notes \context VoiceCombineStaff = flauti <
42 \property VoiceCombineStaff.midiInstrument = #"flute"
43 % \property VoiceCombineStaff.instrument = #"2 Flauti"
44 % \property VoiceCombineStaff.instr = #"Fl."
46 \property VoiceCombineStaff.instrument = #`((kern . 0.5) (lines
47 "2 Clarinetti" (rows "(B" ,text-flat ")")))
49 \property VoiceCombineStaff.instr = #`((kern . 0.5) (lines
50 "Cl." (rows "(B" ,text-flat ")")))
53 \context VoiceCombineVoice=one \partcombine VoiceCombineVoice
54 \context VoiceCombineThread=one \flautoI
55 \context VoiceCombineThread=two \flautoII
58 legniGroup = \context StaffGroup = legni_group <
65 violinoI = \notes\relative c'' {
77 violinoII = \notes\relative c'' {
89 violinoIStaff = \context Staff = oneViolini <
90 \property Staff.midiInstrument = #"violin"
91 \property Staff.instrument = #"Violino I"
92 \property Staff.instr = #"Vl. I"
97 violinoIIStaff = \context Staff = twoViolini <
98 % MIDI hoort geeneens verschil tussen een
99 % eerste en tweede viool ;-)
100 \property Staff.midiInstrument = #"violin"
101 \property Staff.instrument = #"Violino II"
102 \property Staff.instr = #"Vl. II"
107 violaI = \notes\transpose c, \violinoI
109 violaII = \notes\transpose c, \violinoII
111 violeGroup = \notes \context VoiceCombineStaff = oneViole <
112 \property VoiceCombineStaff.midiInstrument = #"viola"
113 \property VoiceCombineStaff.instrument = #"Viola"
114 \property VoiceCombineStaff.instr = #"Vla."
116 % Ugh, clef broken in 1.3.125
117 \property VoiceCombineStaff.clefGlyph = #"clefs-C"
118 \property VoiceCombineStaff.clefPosition = #0
122 \context VoiceCombineVoice=oneViole \partcombine VoiceCombineVoice
123 \context VoiceCombineThread=oneViole \violaI
124 \context VoiceCombineThread=twoViole \violaII
127 violoncello = \notes\relative c {
128 c1\ff d e f c d e f c
131 contrabasso = \notes\relative c {
144 bassiGroup = \context PianoStaff = bassi_group \notes <
145 \context StaffCombineStaff=oneBassi {
146 \property StaffCombineStaff.midiInstrument = #"cello"
149 \property StaffCombineStaff.instrument = #'((kern . 0.5)
150 (lines "Violoncello" (rows " e") (rows "Contrabasso")))
152 \property StaffCombineStaff.instr = #"Vc."
155 % Ugh, clef broken in 1.3.125
156 \property StaffCombineStaff.clefGlyph = #"clefs-F"
157 \property StaffCombineStaff.clefPosition = #2
162 \context StaffCombineStaff=twoBassi {
163 \property StaffCombineStaff.midiInstrument = #"contrabass"
164 \property StaffCombineStaff.instrument = #"Contrabasso"
165 \property StaffCombineStaff.instr = #"Cb."
168 % Ugh, clef broken in 1.3.125
169 \property StaffCombineStaff.clefGlyph = #"clefs-F"
170 \property StaffCombineStaff.clefPosition = #2
176 \context StaffCombineStaff=oneBassi \partcombine StaffCombineStaff
177 \context StaffCombineVoice=oneBassi \violoncello
178 \context StaffCombineVoice=twoBassi \contrabasso
182 violiniGroup = \context GrandStaff = violini_group <
187 archiGroup = \context StaffGroup = archi_group <
203 subtitle = "Ouverture";
205 composer = "Ludwig van Beethoven (1770-1827)";
207 copyright = "public domain";
212 %textheight = 290.0\mm;
213 %linewidth = 195.0\mm;
214 textheight = 285.0\mm;
215 linewidth = 190.0\mm;
217 \translator{ \HaraKiriStaffContext }
219 % The Voice combine hierarchy
223 \name "VoiceCombineThread";
224 \consists "Rest_engraver";
228 \name "VoiceCombineVoice";
231 \remove "Rest_engraver";
232 \accepts "VoiceCombineThread";
235 \HaraKiriStaffContext
236 \consists "Mark_engraver";
237 \name "VoiceCombineStaff";
238 \accepts "VoiceCombineVoice";
242 % The Staff combine hierarchy
246 \name "StaffCombineThread";
250 \name "StaffCombineVoice";
251 \accepts "StaffCombineThread";
252 \consists "Thread_devnull_engraver";
255 \HaraKiriStaffContext
256 \name "StaffCombineStaff";
257 \accepts "StaffCombineVoice";
262 % This is non-conventional, but currently it is
263 % the only way to tell the difference.
265 splitInterval = #'(1 . 0)
266 changeMoment = #`(,(make-moment 1 1) . ,(make-moment 1 1))
270 \accepts "VoiceCombineStaff";
271 \accepts "StaffCombineStaff";
273 \translator{ \HaraKiriStaffContext }
277 \OrchestralScoreContext
278 \accepts "VoiceCombineStaff";
279 \accepts "StaffCombineStaff";
280 TimeSignature \override #'style = #'C
282 BarNumber \override #'padding = #3
283 RestCollision \override #'maximum-rest-count = #1