2016-11-05 13:46 GMT+01:00 Thomas Morley <thomasmorle...@gmail.com>: > 2016-11-05 12:39 GMT+01:00 Malte Meyn <lilyp...@maltemeyn.de>: >> >> >> Am 04.11.2016 um 23:15 schrieb Tobin Chodos: >>> >>> What's the best way to handle a percussion part that has a lot of >>> pitched and un-pitched material? >> >> >> You could have a “pitched” Staff accept not only “pitched” Voices but also >> DrumVoices: >> >> \version "2.18.2" >> >> \new Staff \with { >> \accepts DrumVoice >> } \relative { >> c' d e f >> \new DrumVoice \drummode { >> bd hh sn hh >> } >> g a b c >> >> } > > > Hi Malte, > > this will fail if the DrumVoice is created before Voice, uncomment > Voice to make it work. > > \new Staff \with { \accepts DrumVoice } > \relative { > %\context Voice { <> } > \context DrumVoice \drummode { hh4 hh hh hh } > g a b c > } > > Cheers, > Harm
Better and with clefs: \new Staff \with { \accepts DrumVoice } \context Voice \relative { \context DrumVoice \drummode { \set Staff.clefPosition = #0 \set Staff.clefGlyph = #"clefs.percussion" hh4 hh hh hh } \clef treble g a b c \context DrumVoice \drummode { \set Staff.clefPosition = #0 \set Staff.clefGlyph = #"clefs.percussion" hh4 hh hh hh } \clef treble g a b c } Cheers, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user