Lilypond-不能将变量用作\AddLyms的一部分

Lilypond-不能将变量用作\AddLyms的一部分,lilypond,Lilypond,出于某种原因,这是可行的: \addlyrics {Drei -- del, drei -- del, drei -- del, I made it out of clay When it's dry and rea -- dy, o drei -- del I shall play} 但这并不是: thing = {Drei -- del, drei -- del, drei -- del, I made it out of clay When it's dry and re

出于某种原因,这是可行的:

\addlyrics {Drei -- del, drei -- del, drei -- del, I made it out of clay
    When it's dry and rea -- dy, o drei -- del I shall play}
但这并不是:

thing = {Drei -- del, drei -- del, drei -- del, I made it out of clay
    When it's dry and rea -- dy, o drei -- del I shall play}
\addlyrics {\thing}
我尝试过在变量中放入\addLyms,添加和删除{},以及我能想到的所有其他内容。文档并没有专门针对这种情况,但我使用的变量到处都是,除了这里,几乎没有什么问题。想法?

试试:

thing = \addLyrics {Drei -- del, drei -- del, drei -- del, I made it out of clay
    When it's dry and rea -- dy, o drei -- del I shall play}
\thing
在实际尝试之后,它不起作用!LilyPond不知道
添加歌词
\score
块之外是什么。让我们试试这个:

\version "2.19.83"

theLyrics = \lyricmode { 
  Drei -- del, drei -- del, drei -- del, I made it out of clay
  When it's dry and rea -- dy, o drei -- del I shall play
}

melody = \relative {
  g'8 e g e g e r e |
  g8 g f e d4 r |
  f8 d f d f d r d |
  g8 f e d c4 r |
}

\score {
  \new Staff \melody 
  \addlyrics \theLyrics
  \layout {}
  \midi {}
}
尝试:

在实际尝试之后,它不起作用!LilyPond不知道
添加歌词
\score
块之外是什么。让我们试试这个:

\version "2.19.83"

theLyrics = \lyricmode { 
  Drei -- del, drei -- del, drei -- del, I made it out of clay
  When it's dry and rea -- dy, o drei -- del I shall play
}

melody = \relative {
  g'8 e g e g e r e |
  g8 g f e d4 r |
  f8 d f d f d r d |
  g8 f e d c4 r |
}

\score {
  \new Staff \melody 
  \addlyrics \theLyrics
  \layout {}
  \midi {}
}