[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
remove accidental from a chord?
From: |
Mark Polesky |
Subject: |
remove accidental from a chord? |
Date: |
Mon, 15 Jun 2009 12:41:25 -0700 (PDT) |
How do I properly remove one accidental from a chord? I found I
was able to replace the stencil with an empty-stencil, but there's
still a space left where it would have been.
I see that accidental-placement-interface has an internal property
called accidental-grobs, but I don't know how to access it, or if
I could even change it from scheme if I wanted to.
Here's an example of what I was doing. Any help is appreciated.
- Mark
#(define (remove-middle-line-accidental grob)
;; Accidental stencil callback
(if (eq? (ly:grob-property (ly:grob-property grob 'cause)
'staff-position) 0)
empty-stencil
(ly:accidental-interface::print grob)))
\relative {
\once \override Accidental #'stencil =
#remove-middle-line-accidental
<ef gf bf df>
}
remove-accidental.png
Description: PNG image
- remove accidental from a chord?,
Mark Polesky <=