Hi Dirck,
> Is there a better way to set up voices in a template?
One one option is included below.
Hope it helps!
Kieren.
%%% SNIPPET BEGINS
\version "2.23.82"
rightOne = {
c''8 d'' e'' d'' c'' d'' e'' d''
}
rightTwo = {
e'8 f' g' f' e' f' g' f'
}
leftOne = {
\clef bass
g8 a g a g a g a
}
leftTwo = {
\clef bass
c8 b, c b, c b, c b,
}
\score {
%% PIANO
\new PianoStaff <<
%% RH
\new Staff = "right" \with {
midiInstrument = "acoustic grand"
}
\voices 1,2 <<
{ \voiceOne \rightOne }
\\
\new Voice { \voiceTwo \rightTwo }
>>
%% LH
\new Staff = "left" \with {
midiInstrument = "acoustic grand"
}
{
\voices 1,2 <<
{ \voiceOne \leftOne }
\\
\new Voice { \voiceTwo \leftTwo }
>>
}
>>