Hello Federico, Thanks Federico.
A side question is (I’m no percussionist): how does one chose between DrumStaff and RythmicStaff? JM > Le 12 juin 2018 à 23:02, Federico Bruni <f...@inventati.org> a écrit : > > > > Il giorno mar 12 giu 2018 alle 22:12, Menu Jacques <imj-...@bluewin.ch> 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 lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user