lilypond-user
[Top][All Lists]

also, lyric help

 From: james Subject: also, lyric help Date: Fri, 26 Dec 2008 12:38:32 +0100

I'm trying to figure out ways to incorporate lyrics associated with different voices. I can only seem to get it to work using associatedVoice. Is this possible using \lyricsto?
```\version "2.11.65"

instrument = \relative c' {
\context Voice = "NumberOne" { c4 d e f }
\context Voice = "NumberTwo" { c4 d e f }
\context Voice = "NumberThree" { c4 d e f }
\context Voice = "NumberOne" { c'4 b a g }
\context Voice = "NumberTwo" { c4 b a g }
\context Voice = "NumberThree" { c b a g }
}

Text = \context Lyrics {
\lyricsto "NumberOne" { Cee Dee Eee Eff }
\lyricsto "NumberTwo" { Doh Re Mi Fa }
\lyricsto "NumberThree" { This is my text. }
\lyricsto "NumberOne" { Cee Bee Ay Gee }
\lyricsto "NumberTwo" { Doh Ti La Sol }
\lyricsto "NumberThree" { Here is some more. }
}

TextTwo = \context Lyrics \lyricmode {
\set associatedVoice = #"NumberOne" { Cee4 Dee Eee Eff }
\set associatedVoice = #"NumberTwo" { Doh4 Re Mi Fa }
\set associatedVoice = #"NumberThree" { This4 is my text. }
\set associatedVoice = #"NumberOne" { Cee4 Bee Ay Gee }
\set associatedVoice = #"NumberTwo" { Doh4 Ti La Sol }
\set associatedVoice = #"NumberThree" { Here4 is some more. }
}

\score {
<<
\new Staff \instrument
\Text
>>
}
\score {
<<
\new Staff \instrument
\TextTwo
>>
}

```