[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Function or command to omit only certain accidentals of a chord?
From: David Kastrup <dak () gnu ! org>
Date: 2018-01-31 22:24:48
Message-ID: 87shalll8v.fsf () fencepost ! gnu ! org
[Download RAW message or body]
Stefano Troncaro <stefanotroncaro@gmail.com> writes:
> Hello again everyone!
>
> Suppose I have the following example:
>
> \version "2.19.80"\language "english"
> command = {
> %What should go here to omit the sharp while keeping the natural?}
> \score {
> \new Staff {
> \new Voice \relative c'' {
> \key b \minor \accidentalStyle modern
> \partial 4 <as c,> |
> <b b,> \command <a cs,> <g d~> <fs d>
> }
> }
> }
>
> If for whatever reason I wanted to omit the sharp while keeping the natural
> sign of the <a cs,>, obviously \once \omit Accidental won't work. I'm at a
> loss as to how to tackle this problem, and looking through the
> documentation hasn't helped.
>
> Does anyone have an idea?
[Attachment #3 (text/x-lilypond)]
\version "2.19.80"\language "english"
\score {
\new Staff {
\new Voice \relative c'' {
\key b \minor \accidentalStyle modern
\partial 4 <as c,> |
<b b,> <a \single \omit Accidental cs,> <g d~> <fs d>
}
}
}
But you also can use stuff like
\once \accidentalStyle forget
I think to similar effect.
--
David Kastrup
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic