lilypond-user
[Top][All Lists]
Advanced

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

Re: Stanzas beginning in the middle of the piece


From: Christopher R. Maden
Subject: Re: Stanzas beginning in the middle of the piece
Date: Sat, 27 Oct 2012 23:23:05 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1

On 10/27/2012 11:15 PM, Hugh Resnick wrote:
> I am trying to insert a section with two verses in the middle of a
> piece:
> 
> text = \lyricmode {
> Here's the refrain
> \set stanza = #"1. "
> Here's Stanza One
> \set stanza = #"2. "
> Here's Stanza Two }
> 
> Right now, only the refrain and Stanza One are being placed under the
> notes. Stanza Two is invisible/not being placed. Am I missing a
> section in the notation guide?

Yes.  You have created one long string of lyrics, which runs off the end
of the music.

You need to discrete sets of lyrics, each of which is added to the
music, if you want them on separate lines.

textOne = \lyricmode {
  Here's the refrain
  \set stanza = #"1. "
  Here's Stanza One
}

textTwo = \lyricmode {
  \repeat unfold 4 { \skip 1 } % skip 4 syllables
  \set stanza = #"2. "
  Here's Stanza Two
}

\new Lyrics \lyricsto "melody" {
  \textOne
}
\new Lyrics \lyricsto "melody" {
  \textTwo
}

~Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
LIVE FREE: vote for Gary Johnson, Libertarian for President.
     <URL: http://garyjohnson2012.com/ >  <URL: http://lp.org/ >
GnuPG fingerprint: DB08 CF6C 2583 7F55 3BE9  A210 4A51 DBAC 5C5C 3D5E



reply via email to

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