Yes, but you might write one that checks if the music expression does contain
elements of a certain type. It is possible, but I can't tell if its reasonable.
Am 20. März 2018 17:35:44 MEZ schrieb David Kastrup :
>Urs Liska writes:
>
>> Hi all,
>>
>> is there a LilyPond predicate for a \lyricmod
Am 20.03.2018 um 17:35 schrieb David Kastrup:
Urs Liska writes:
Hi all,
is there a LilyPond predicate for a \lyricmode expression?
\version "2.19.80"
test =
#(define-void-function (text)(ly:music?)
(display text))
text = \lyricmode { a b c }
\test \text
does work, so ly:music? accep
Urs Liska writes:
> Hi all,
>
> is there a LilyPond predicate for a \lyricmode expression?
>
> \version "2.19.80"
>
> test =
> #(define-void-function (text)(ly:music?)
>(display text))
>
> text = \lyricmode { a b c }
> \test \text
>
> does work, so ly:music? accepts the lyricmode expression.
Hi all,
is there a LilyPond predicate for a \lyricmode expression?
\version "2.19.80"
test =
#(define-void-function (text)(ly:music?)
(display text))
text = \lyricmode { a b c }
\test \text
does work, so ly:music? accepts the lyricmode expression. But is there a
narrower predicate I can u