2 % * CLef has `Staff' hardcoded
3 % * Dynamics into staff: pp/ff at first note cello/contrabass
6 texidoc
="Template for part-combining orchestral scores";
10 % \include "mutopia/Coriolan/coriolan-paper.ly";
14 flautoI
= \notes\relative c'' {
25 a2 \property VoiceCombineThread
.soloADue
= ##f a
28 flautoII
= \notes\relative c'' {
37 a2 \property VoiceCombineThread
.soloADue
= ##f a
40 flautiStaff
= \notes \context VoiceCombineStaff
= flauti
<
41 \property VoiceCombineStaff
.midiInstrument
= #"flute"
42 \property VoiceCombineStaff
.instrument
= #"2 Flauti"
43 \property VoiceCombineStaff
.instr
= #"Fl."
45 \context VoiceCombineVoice
=one
\partcombine VoiceCombineVoice
46 \context VoiceCombineThread
=one
\flautoI
47 \context VoiceCombineThread
=two
\flautoII
50 legniGroup
= \context StaffGroup
= legni
_group
<
57 violinoI
= \notes\relative c'' {
69 violinoII
= \notes\relative c'' {
81 violinoIStaff
= \context Staff
= oneViolino
<
82 \property Staff
.midiInstrument
= #"violin"
83 \property Staff
.instrument
= #"Violino I"
84 \property Staff
.instr
= #"Vl. I"
87 %\context Voice=oneViolino
88 %\context Thread=oneViolino
93 violinoIIStaff
= \context Staff
= twoViolino
<
94 % MIDI hoort geeneens verschil tussen een
95 % eerste en tweede viool ;-)
96 \property Staff
.midiInstrument
= #"violin"
97 \property Staff
.instrument
= #"Violino II"
98 \property Staff
.instr
= #"Vl. II"
101 %\context Voice=twoViolino
102 %\context Thread=twoViolino
107 violaI
= \notes\transpose c, \violinoI
109 violaII
= \notes\transpose c, \violinoII
111 violiGroup
= \notes \context VoiceCombineStaff
= oneVioli
<
112 \property VoiceCombineStaff
.midiInstrument
= #"viola"
113 \property VoiceCombineStaff
.instrument
= #"Viola"
114 \property VoiceCombineStaff
.instr
= #"Vla."
121 \context VoiceCombineVoice
=oneVioli
\partcombine VoiceCombineVoice
122 \context VoiceCombineThread
=oneVioli
\violaI
123 \context VoiceCombineThread
=twoVioli
\violaII
126 violoncello
= \notes\relative c {
127 c1\ff d e f c d e f c
130 contrabasso
= \notes\relative c {
143 bassiGroup
= \context PianoStaff
= bassi
_group
\notes <
144 \context StaffCombineStaff
=oneBassi
{
145 \property StaffCombineStaff
.midiInstrument
= #"cello"
146 %\property StaffCombineStaff.instrument = #"Violoncello\ne\nContrabasso"
147 \property StaffCombineStaff
.instrument
= #'(lines
"Violoncello" "e" "Contrabasso")
148 \property StaffCombineStaff
.instr
= #"Vc."
155 \context StaffCombineStaff
=twoBassi
{
156 \property StaffCombineStaff
.midiInstrument
= #"contrabass"
157 \property StaffCombineStaff
.instrument
= #"Contrabasso"
158 \property StaffCombineStaff
.instr
= #"Cb."
166 \context StaffCombineStaff
=oneBassi
\partcombine StaffCombineStaff
167 \context StaffCombineVoice
=oneBassi
\violoncello
168 \context StaffCombineVoice
=twoBassi
\contrabasso
172 violiniGroup
= \context GrandStaff
= violini
_group
<
177 archiGroup
= \context StaffGroup
= archi
_group
<
193 subtitle
= "Ouverture";
195 composer
= "Ludwig van Beethoven (1770-1827)";
197 copyright
= "public domain";
203 %textheight = 290.0\mm;
204 %linewidth = 195.0\mm;
205 textheight
= 285.0\mm;
206 linewidth
= 190.0\mm;
208 \translator{ \HaraKiriStaffContext }
210 % The Voice combine hierarchy
214 \name "VoiceCombineThread";
215 \consists "Rest_engraver";
219 \name "VoiceCombineVoice";
222 \remove "Rest_engraver";
223 \accepts "VoiceCombineThread";
226 \HaraKiriStaffContext
227 \consists "Mark_engraver";
228 \name "VoiceCombineStaff";
229 \accepts "VoiceCombineVoice";
233 % The Staff combine hierarchy
237 \name "StaffCombineThread";
241 \name "StaffCombineVoice";
242 \accepts "StaffCombineThread";
243 \consists "Thread_devnull_engraver";
246 \HaraKiriStaffContext
247 \name "StaffCombineStaff";
248 \accepts "StaffCombineVoice";
253 % This is non-conventional, but currently it is
254 % the only way to tell the difference.
256 splitInterval
= #'(1 . 0)
257 changeMoment
= #`
(,(make-moment
1 1) . ,(make-moment
1 1))
261 \accepts "VoiceCombineStaff";
262 \accepts "StaffCombineStaff";
264 \translator{ \HaraKiriStaffContext }
268 \OrchestralScoreContext
269 \accepts "VoiceCombineStaff";
270 \accepts "StaffCombineStaff";
273 markScriptPadding
= #4.0
275 BarNumber
\override #'padding
= #3
276 RestCollision
\override #'maximum-rest-count
= #1