> Is is possible to conditionally execute the #@ expression based onĀ > whether the 'textArray' variable is bound?
\version "2.24.2" textArray = << { \lyricmode { \set stanza = "1" fo -- o bar } } { \lyricmode { \set stanza = "2" fo -- o bar } } >> \score { << \new Voice = "soprano" { c'1 1 1 } #@(if (defined? 'textArray) (map (lambda (mus) #{ \new Lyrics { \lyricsto "soprano" { #mus } } #}) (ly:music-property textArray 'elements)) '()) >> }
signature.asc
Description: This is a digitally signed message part