2 % on their own staff, voices should be stemboth (not up/down)
6 violoncello
= \notes\relative c' {
7 c8 c c c c8 c c c\break
10 contrabasso
= \notes\relative c {
11 c4 c8 c c8 c c c\break
14 staffCombinePianoStaffProperties
= {
15 \property PianoStaff
.devNullThread
= #'()
16 \property PianoStaff
.soloADue
= ##t
17 \property PianoStaff
.soloText
= #""
18 \property PianoStaff
.soloIIText
= #""
19 % This is non-conventional, but currently it is
20 % the only way to tell the difference.
21 \property PianoStaff
.aDueText
= #"\\`a2"
22 \property PianoStaff
.splitInterval
= #'(1 . 0)
23 \property PianoStaff
.changeMoment
= #`
(,(make-moment
1 1) . ,(make-moment
1 1))
29 \context PianoStaff
= bassi
_group
\notes <
30 \staffCombinePianoStaffProperties
31 \context Staff
=oneBassi
< \clef bass;
32 \property Staff
.instrument
= #'(lines
33 "Violoncello" " e" "Contrabasso")
35 \property Staff
.instr
= #"Vc."
37 \context Staff
=twoBassi
< \clef bass;
38 \property Staff
.instrument
= #"Contrabasso"
39 \property Staff
.instr
= #"Cb."
43 \context Staff
=oneBassi
\partcombine Staff
44 \context Voice
=oneBassi
{ \violoncello }
45 \context Voice
=twoBassi
{ \contrabasso }
50 linewidth
= 80 * \staffspace;
51 textheight
= 200 * \staffspace;
54 \consists "Rest_engraver";
56 % Set value for engraver at thread level,
57 % to override the default that is set in ScoreContext
58 % for added engraver at Voice level
63 \remove "Rest_engraver";
65 % The staff combine (bassi part) needs a
66 % thread_devnull_engraver here.
67 % Instead of maintaining two separate hierarchies,
68 % we switch add it, but switch it off immideately.
69 % The staff combine parts switch it on.
70 % devNullThread = #'never
71 \consists "Thread_devnull_engraver";
75 \consists "Mark_engraver";
78 \OrchestralScoreContext
82 % By default, turn off the Thread_devnull_engraver
84 devNullThread
= #'never
87 currentBarNumber
= #218
88 BarNumber
\override #'padding
= #3
89 RestCollision
\override #'maximum-rest-count
= #1
90 marginScriptHorizontalAlignment
= #1
91 TimeSignature
\override #'style
= #'C