[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trying to attach lyrics to global variable in /score
From: |
Simon Albrecht |
Subject: |
Re: trying to attach lyrics to global variable in /score |
Date: |
Sun, 3 Jan 2016 20:49:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
On 03.01.2016 20:40, Ryan Michael wrote:
I have the following lilypond code:
\score {
\new StaffGroup <<
\new Staff << \global \recorder >>
\new Lyrics \lyricsto "recorder" {
\verseOne
}
\new Staff << \global \viola >>
>>
\layout { }
\midi { }
}
\lyricsto "recorder" means: associate these lyrics with the voice named
"recorder". You can create a voice with a name by using \new Voice =
"recorder" { … some music … }. The question now is: should \global be in
the same voice like \recorder? If yes,
<<
\new Staff \new Voice = "recorder" << \global \recorder >>
\new Lyrics \lyricsto "recorder" \verseOne
>>
– if no, the same with:
\new Staff <<
\new Voice \global
\new Voice = "recorder" \recorder
>>
HTH, Simon