lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: predicate for \lyricmode


From: Jan-Peter Voigt
Subject: Re: predicate for \lyricmode
Date: Tue, 20 Mar 2018 17:41:18 +0100
User-agent: K-9 Mail for Android

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 <address@hidden>:
Urs Liska <address@hidden> 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 .

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]