lilypond-user
[Top][All Lists]
Advanced

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

Re: also, lyric help


From: fiëé visuëlle
Subject: Re: also, lyric help
Date: Fri, 26 Dec 2008 16:24:02 +0100


Am 2008-12-26 um 12:38 schrieb james:

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
  >>
}


Your nesting seems strange to me.

Try:

upperVoice = \relative c'' {
        %
}

lowerVoice = \relative c' {
        %
}


textOne = \lyricmode {
        % You know how to write ly -- rics, don’t you?
}

textTwo = \lyricmode {
        % You know how to write ly -- rics, don’t you?
}

\score {
        <<
                \context Staff = Upper <<
                        \context Voice = "one" \upperVoice
                >>
                \lyricsto "one" \new Lyrics { \textOne }
                \context Staff = Lower <<
                        \context Voice = "two" \lowerVoice
                >>
                \lyricsto "two" \new Lyrics { \textTwo }
        >>
}


Maybe that's oldfashioned, but it works for me (with 2.10.33).


Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)






reply via email to

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