Hi,
how is it possible to write music functions which use symbols as
parameters which get interpreted as pitch entities by the function?
I made three examples below to illustrate the problem. The third works
but is less than ideal in the lilypond source as the main purpose of
the definition is
Orm Finnendahl escreveu:
Hi,
how is it possible to write music functions which use symbols as
parameters which get interpreted as pitch entities by the function?
I made three examples below to illustrate the problem. The third works
but is less than ideal in the lilypond source as the
Thanks for the help! I'll look into it.
For those interested: I found a workaround for now in the following
way:
bracket = #(define-music-function (parser location note )
(ly:music? )
#{
\once\override TrillSpanner #'transparent = ##t
\pitchedTrill s32 \startTrillSpan $note s32