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 <d...@gnu.org>:
>Urs Liska <li...@openlilylib.org> 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. But is
>there
>> a narrower predicate I can use to expect lyrics to be arguments for a
>> function?
>
>No.  It's just an ordinary music expression containing different
>elements conveniently entered with \lyricmode .
>
>-- 
>David Kastrup
>
>_______________________________________________
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to