passing music symbols to define-music-function

2006-12-03 Thread Orm Finnendahl
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

Re: passing music symbols to define-music-function

2006-12-03 Thread Han-Wen Nienhuys
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

Re: passing music symbols to define-music-function

2006-12-03 Thread Orm Finnendahl
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