lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hide a note inside a drumscore


From: Sebastien Richard
Subject: Re: Hide a note inside a drumscore
Date: Wed, 13 Dec 2023 17:40:26 +0000

Thanks for your reply

I tried your exemple with the tie which also work great

In the full drumscore the tie gets "pushed" down. I'm trying to figure out a way to reposition it but I can't get any command to do so (tried "\tweak positions" and "\override Tie.positions")

Any ideas ?


"You are thinking too complicated." ==> it's just an idea, I'm thinking even more complicated than that 🤪


BR

-----
 Seb



From: lilypond-user-bounces+richardsgjm=hotmail.com@gnu.org <lilypond-user-bounces+richardsgjm=hotmail.com@gnu.org> on behalf of David Kastrup <dak@gnu.org>
Sent: Wednesday, December 13, 2023 17:49
To: Sebastien Richard <richardsgjm@hotmail.com>
Cc: lilypond-user@gnu.org <lilypond-user@gnu.org>
Subject: Re: Hide a note inside a drumscore
 
Sebastien Richard <richardsgjm@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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]