>
>
> Nathan Gober writes:
> When using \aikenHeads with \partCombine, the note head shapes are lost
> when the parts are split following a segment where the parts are combined.
>
> I think this is not really a bug, but a misunderstanding of how
\partCombine works.
When \partCombine combines two voices, it creates a new Voice context. And
\aikenHeads changes a property in its Voice context; the new Voice does not
have the correct property set.
One way to handle this is to define the \aikenHeads property for all Voice
contexts in the score:
%%%%%%
% Define all Voice contexts to have \aikenHeads
%% Bug: shape notes lose their head shapes when a separated segment follows
a combined segment
\version "2.25.31"
% This layout block fixes the bug
\layout {
\context {
\Voice
\aikenHeads
}
}
% Notes are correctly shaped when the parts are only ever separated
% This is because the original Voice contexts are used when the the parts
are not combined. See the snippet "Two \partCombine pairs on one staff"
for more explanation
{
\partCombine { \aikenHeads c''8( e''8) } { \aikenHeads f'4 }
}
% Notes lose their shapes when separated segments follow combined segments
{
\partCombine { \aikenHeads c''4 c''8( e''8) c''4 } { \aikenHeads f'4 4
4 }
}
% This is also true for segments that are separated because of note distance
{
\partCombine { \aikenHeads c''4 e''4 c''4 } { \aikenHeads c'4 4 4 }
}