lilypond-user
[Top][All Lists]
Advanced

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

Re: 2 Voices | 1 Staff | Mensuration Lines | Lyrics


From: Jean Abou Samra
Subject: Re: 2 Voices | 1 Staff | Mensuration Lines | Lyrics
Date: Sat, 11 Feb 2023 21:55:41 +0100
User-agent: Evolution 3.46.3 (3.46.3-1.fc37)

Le samedi 11 février 2023 à 21:39 +0100, Johannes Roeßler a écrit :

    \new Staff {  
      \voices 1,2<< \global \sopI \sopII >>  
    }  
    \lyricsto "2" { \words }  

Make that

  \new Staff {
    << \global \voices 1,2 << \sopI \\ \sopII >> >>
  }
  \lyricsto "2" { \new Lyrics \words }

The << >> construct puts several expressions in parallel. In your case, you want three things in parallel, the \global variable, and the two voices, but if you want to use \voices to define the voices, each of the voices inside \voices << >> will have a voice style for its stem directions etc. \global isn't really a voice, so you should put it outside. Also note that there should be \\ inside \voices.

Alternatively, you could create the voices with the more explicit syntax

  \new Staff {
    <<
      \new Voice \global
      \new Voice = "1" { \voiceOne \sopI }
      \new Voice = "2" { \voiceTwo \sopII }
    >>
  }
  \lyricsto "2" { \new Lyrics \words }

in which case you can do with only one << >>.

Also note that there should be \new Lyrics inside \lyricsto.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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