Sometimes you get that warning if the music in the corresponding Voice doesn't start from the first beat, but in those cases you get the desired result anyway. Have you checked if the warning is just such a warning or an indication of a real problem?

   /Mats

Trevor Daniels wrote:

It should work, unless you have no notes in \upperOne

Trevor

----- Original Message ----- From: "Alberto Simões" <al...@alfarrabio.di.uminho.pt>
To: "lilypond" <lilypond-user@gnu.org>
Sent: Sunday, February 22, 2009 3:24 PM
Subject: help with: Cannot find voice


Hello

I am trying to produce a SATB where S and A share the same staff.


This is my definition:

\score{
\context ChoirStaff
<<
\context Staff = "upper"
<<
\clef treble
\context Voice = sop \upperOne
\context Voice = con \upperTwo

\lyricsto "sop" \new Lyrics \firstverse
\context Staff = "tenor"
<<
\clef treble
\context Voice = ten \lowerOne
\lyricsto "ten" \new Lyrics \secondverse

\context Staff = "bass"
<<
\clef bass
\context Voice = bas \lowerTwo
\lyricsto "bas" \new Lyrics \thirdverse


    [...]

Now, lilypond complains with:

4vozes.ly:64:16: warning: cannot find Voice `sop'
               \lyricsto "sop" \new Lyrics \firstverse


Any hint?
Thank you
Alberto



--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: mats.bengts...@ee.kth.se
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to