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 {}
}
returns :
Starting lilypond 2.24.2 [Untitled]...
Processing `/tmp/frescobaldi-zzesx842/tmpnp53_6vh/document.ly'
Parsing...
/tmp/frescobaldi-zzesx842/tmpnp53_6vh/document.ly:4:37<0>: error: not a
rhythmic event
\slurDown \grace {sn16 sn(} <cymc
\once \hide NoteHead sn) bd>4
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `document.pdf'...
fatal error: failed files: "/tmp/frescobaldi-zzesx842/tmpnp53_6vh/document.ly"
Exited with return code 1.
Attached is a screenshot of what I'm trying to achieve (except for the slur)
BR,
-----
Seb