Hello Ari (et al.),

You'll need Kieren's scheme function as well.

\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 } }

This function should be good at least as far back as v2.10.
The *2 doubles the duration of the breve, to make a double-breve (so if you just want double sidebars on a single breve, leave off the *2). I (or someone else, maybe?) will try to improve the function when I get a moment.

Cheers,
Kieren.


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to