Il giorno mar 12 giu 2018 alle 22:12, Menu Jacques <[email protected]>
ha scritto:
Hello folks,
I can’t seem to get why the code below produces an empty 5-line
first staff.
Thanks for your help!
[...]
\score {
<<
\new DrumStaff = "P_PFour_Staff_One"
\with {
instrumentName = "Snare Drum 4"
shortInstrumentName = "Sn. Dr."
}
\drummode
{%<<
\context Voice = "P_PFour_Staff_One_Voice_One" <<
\P_PFour_Staff_One_Voice_One
>>
}% >>
>>
\layout {
\context {
\Score
}
}
\midi {
\tempo 4 = 90
}
}
The problem is in the \score block.
I would simplify it to:
\score {
\new DrumStaff = "P_PFour_Staff_One"
\with {
instrumentName = "Snare Drum 4"
shortInstrumentName = "Sn. Dr."
}
\drummode { \P_PFour_Staff_One_Voice_One }
% or you can write also:
%\new DrumVoice { \P_PFour_Staff_One_Voice_One }
\layout {
}
\midi {
\tempo 4 = 90
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user