Carl D. Sorensen <c_sorensen <at> byu.edu> writes:
> Yes, this is a job for scheme, because parenthesize is a music function, and
> it needs to have music following it. That's why you can't move it into an
> identifier.
>
> The custosNote example in Section 6.1.2 of the Notation Reference should
> give you the pattern you need to use to define a music function
> harmonicParenthesize (or hP for short, if you desire).
thanks Carl, with some prodding I've now written my first lily scheme function
as below, seems to work fine, was surprised that I could just plonk in
\parenthesize as below.
harmonicPitch = #(define-music-function (parser location note)
(ly:music?)
#{
\once \override Voice.Stem #'stencil = ##f
\once \override Voice.NoteHead #'font-size = #-4
\parenthesize
$note
#})
> If you can't figure it out, ask a question or two.
>
> HTH,
Yes indeed!
Tom
> Carl
>
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user