Sebastien Richard <richards...@hotmail.com> writes: > Hello, > > How can I hide a note inside a drum score ? I tried following the doc here > https://lilypond.org/doc/v2.23/Documentation/notation/visibility-of-objects > but I did not managed to make it work > > Here is an example where I want to hide the snare : > > \version "2.24.2" > up = \drummode { > \slurDown \grace {sn16 sn(} <cymc \once \hide NoteHead sn) bd>4 > } > \score { > \new DrumStaff > << \new DrumVoice { \voiceOne \up } >> > \layout {} > }
You are thinking too complicated. \version "2.24.2" up = \drummode { \slurDown \grace {sn16 sn(} <cymc \hide sn) bd>4 } \score { \new DrumStaff << \new DrumVoice { \voiceOne \up } >> \layout {} } But I consider it very likely that you actually don't want a slur but a tie: \version "2.24.2" up = \drummode { \grace {sn16 sn_~} <cymc \hide sn bd>4 } \score { \new DrumStaff << \new DrumVoice { \voiceOne \up } >> \layout {} } -- David Kastrup