lilypond-user
[Top][All Lists]
Advanced

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

Use an existing Voice in a polyphonic passage


From: sir.teddy.the.first
Subject: Use an existing Voice in a polyphonic passage
Date: Tue, 23 Jun 2020 15:58:48 +0200

Hi all,

is there a way to „continue“ with the voice „myVoice“ in the second polyphonic passage instead of creating a new one so that the lyrics „wordsI“ carry on and I don’t have to create an additional lyrics context?

 

Thanks in advance

 

%%%%%%%%%%%%%%%%%%%%%%

\version "2.20.0"

 

wordsI = \lyricmode {

  This is a test "1" "2"

  This is a test "1" "2"

}

 

wordsII = {

  \lyricmode { te -- st te --st }

}

 

\score {

  <<

    \new Staff = "testStaff" {

      \new Voice = "first" \relative c'{

        c4 d e f |

       

        <<

          \relative c''{ \voiceOne c2 g }

          \new Voice = "second" \relative c'' { \voiceTwo g f }

        >>

        \oneVoice

       

        

        c4 d e f |

       

        <<

          \relative c''{ \voiceOne c2 g }

          \new Voice = "second" \relative c'' { \voiceTwo g f }

        >>

        \oneVoice

      }

    }

    \new Lyrics = "firstVoice" {

      \lyricsto "first" \wordsI

    }

    \new Lyrics = "secondVoice" \with { alignAboveContext = "testStaff" }{

      \lyricsto "second" \wordsII

    }

  >> 

}

%%%%%%%%%%%%%%%%%%%%%%


reply via email to

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