Hello,

Here's a slightly more efficient, but no less in-need-of-Scheming, version:

\version "2.12.2"
dbreve =
        #(define-music-function (parser location note) (ly:music?)
                #{
                        \once \override ParenthesesItem #'stencil = 
#ly:text-interface::print
                        \once \override ParenthesesItem #'text =
\markup \translate #'(-0.4 . -0.46) \override #'(thickness . 2) { \draw-line #'(0 . 0.92) \hspace #2.26 \draw-line #'(0 . 0.92) }
                        \parenthesize $note
                #})
\score { { \dbreve b'\breve*2 } }
\score { \displayMusic { b'\breve } }
\score { \displayMusic { \dbreve b'\breve*2 } }

I've included the two relevant \displayMusic blocks as well, in case anyone is able to help me turn this into the simpler function

    b'\dbreve

Thanks!
Kieren.


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to