Combining lyric verses onto one line

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Combining lyric verses onto one line

Rohan Srinivasan
Hi list,

I have the following code for a short song I'm engraving:

\version "2.19.82"

\header {
  title = "QUITE ENGLISH"
  composer = \markup { { \smallCaps "A.S. Ramsay" } (fl. 1885) }
  poet = \markup { { \smallCaps "W.S. Douglass" } (fl. 1885–1888) } 
  tagline = ##f
}


\paper {
  #(set-paper-size "a4")
  top-margin = 10
  bottom-margin = 10
  left-margin = 10
  right-margin = 10
  last-bottom-spacing.minimum-distance = 10
  
}

\layout {
  \context {
    \Voice
    \consists "Melody_engraver"
    \override Stem #'neutral-direction = #'()
  }
}

\layout {
  \context {
    \Staff
    \RemoveAllEmptyStaves
  }
}

global = {
  \key f \major
  \numericTimeSignature
  \time 3/4
  \tempo "Moderato."
}

lead = \chordmode {
 \partial 4 s4
 R2.*8
 f2.
 f2.
 g2.:m
 g:m
 
 

sopranoVoice = \relative c'' {
    \global
  \dynamicUp
  \partial 4 r4 | R2.*7 r2 \bar "||" \break
  c4 | d c4. a8 |
  a4 bes a |
  a g fis |
  g2 f?4 | \break

}

verseOne = \lyricmode {
  \set stanza = "1."
  What queer things we see and what queer things we do, That's

  
}

verseTwo = \lyricmode {
  \set stanza = "2."
  They sent us an act -- or to show us the way, That's
  
}
verseThree = \lyricmode {
  \set stanza = "3."
  They sent us a box -- er from o -- ver the sea, That's
  
}


right = \relative c'' {
  \global
  \partial 4 c4 | d c4. a8 |
  a4 bes a |
  a g fis |
  g2 f?4 |
  e8 f g a bes c | 
  d2 e4 |
  f2 \ottava #1 <f a c f>4 |
  <f a c f>2 \ottava #0 \bar "||" \break
  \partial 4 r4 | r <a,, c f> <a c f> |
  r <a c f> <a c f> |
  r <bes d g> <bes d g> |
  r <bes d g> <bes d g> | \break
  
}

left = \relative c' {
  \global
  \partial 4 r4 | f, <a c> <a c> |
  f <a c> <a c> |
  c, <g' bes> <g bes> |
  c, <g' bes> <g bes> |
  c, <g' bes> <g bes> | 
  c, <g' bes> <g bes> |
  <f a c>2 <f, f'>4 |
  <f f'>2 \bar "||" \break
  r4 | <f f'> r r |
  <f f'> r r |
  bes r r |
  bes r r | \break
  
  
  
}

sopranoVoicePart = \new Staff \with {
  instrumentName = ""
} { \sopranoVoice }
\addlyrics { \verseOne }
\addlyrics { \verseTwo }
\addlyrics { \verseThree }

pianoPart = \new PianoStaff \with {
  instrumentName = "Piano"
} <<
  \new Staff = "right" \right
  \new Staff = "left" { \clef bass \left }
>>

\score {
  <<
    \new ChordNames \lead
    \sopranoVoicePart
    \pianoPart
  >>
  \layout { }
}


Since all 3 verses have "That's" at the end of the line, I would like to combine them into one line of lyrics (preferably with a curly bracket showing the change). I've attached a little picture that shows what I want to do.

Rohan



_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Capture.JPG (52K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Combining lyric verses onto one line

Aaron Hill
On 2018-11-04 2:12 pm, Rohan Srinivasan wrote:

> Hi list,
>
> I have the following code for a short song I'm engraving:
>
> [ . . . ]
>
> Since all 3 verses have "That's" at the end of the line, I would like
> to
> combine them into one line of lyrics (preferably with a curly bracket
> showing the change). I've attached a little picture that shows what I
> want
> to do.
This is based on something I have used before:

%%%%
\version "2.19.82"

lyricBracket = \markup { \hspace #0.75
   \translate #'(0 . 0.75) \right-brace #40 }

lyricsI = \lyricmode {
   \set stanza = "1."
   Sam -- ple words and
   \repeat unfold 2 \skip 1
   One!
}

lyricsII = \lyricmode {
   \set stanza = "2."
   Oth -- er text, then
   \set stanza = \markup \lyricBracket
   shared words.
   Two!
}

lyricsIII = \lyricmode {
   \set stanza = "3."
   Fi -- nal line with
   \repeat unfold 2 \skip 1
   Three!
}

melody = \relative b' {
   \time 3/4
   \repeat volta 3 {
     b8 a g4 d | a' g2 | g2.
   }
}

\score {
   <<
     \new Voice = "melody" \melody
     \new Lyrics \lyricsto "melody" \lyricsI
     \new Lyrics \lyricsto "melody" \lyricsII
     \new Lyrics \lyricsto "melody" \lyricsIII
   >>
}
%%%%

Getting the size, offset, and spacing of the brace can take a little
trial-and-error.

-- Aaron Hill
_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user

lyricbracket.cropped.png (24K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Combining lyric verses onto one line

Thomas Morley-2
Am Mo., 5. Nov. 2018 um 03:07 Uhr schrieb Aaron Hill <[hidden email]>:

>
> On 2018-11-04 2:12 pm, Rohan Srinivasan wrote:
> > Hi list,
> >
> > I have the following code for a short song I'm engraving:
> >
> > [ . . . ]
> >
> > Since all 3 verses have "That's" at the end of the line, I would like
> > to
> > combine them into one line of lyrics (preferably with a curly bracket
> > showing the change). I've attached a little picture that shows what I
> > want
> > to do.
>
> This is based on something I have used before:
[...]

Probably
http://lsr.di.unimi.it/LSR/Item?id=265

The LSR is not a bad start to solve problems :)

Cheers,
  Harm

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Combining lyric verses onto one line

Rohan Srinivasan
In reply to this post by Rohan Srinivasan
Friendly bump.

On Sun, Nov 4, 2018 at 2:12 PM Rohan Srinivasan <[hidden email]> wrote:
Hi list,

I have the following code for a short song I'm engraving:

\version "2.19.82"

\header {
  title = "QUITE ENGLISH"
  composer = \markup { { \smallCaps "A.S. Ramsay" } (fl. 1885) }
  poet = \markup { { \smallCaps "W.S. Douglass" } (fl. 1885–1888) } 
  tagline = ##f
}


\paper {
  #(set-paper-size "a4")
  top-margin = 10
  bottom-margin = 10
  left-margin = 10
  right-margin = 10
  last-bottom-spacing.minimum-distance = 10
  
}

\layout {
  \context {
    \Voice
    \consists "Melody_engraver"
    \override Stem #'neutral-direction = #'()
  }
}

\layout {
  \context {
    \Staff
    \RemoveAllEmptyStaves
  }
}

global = {
  \key f \major
  \numericTimeSignature
  \time 3/4
  \tempo "Moderato."
}

lead = \chordmode {
 \partial 4 s4
 R2.*8
 f2.
 f2.
 g2.:m
 g:m
 
 

sopranoVoice = \relative c'' {
    \global
  \dynamicUp
  \partial 4 r4 | R2.*7 r2 \bar "||" \break
  c4 | d c4. a8 |
  a4 bes a |
  a g fis |
  g2 f?4 | \break

}

verseOne = \lyricmode {
  \set stanza = "1."
  What queer things we see and what queer things we do, That's

  
}

verseTwo = \lyricmode {
  \set stanza = "2."
  They sent us an act -- or to show us the way, That's
  
}
verseThree = \lyricmode {
  \set stanza = "3."
  They sent us a box -- er from o -- ver the sea, That's
  
}


right = \relative c'' {
  \global
  \partial 4 c4 | d c4. a8 |
  a4 bes a |
  a g fis |
  g2 f?4 |
  e8 f g a bes c | 
  d2 e4 |
  f2 \ottava #1 <f a c f>4 |
  <f a c f>2 \ottava #0 \bar "||" \break
  \partial 4 r4 | r <a,, c f> <a c f> |
  r <a c f> <a c f> |
  r <bes d g> <bes d g> |
  r <bes d g> <bes d g> | \break
  
}

left = \relative c' {
  \global
  \partial 4 r4 | f, <a c> <a c> |
  f <a c> <a c> |
  c, <g' bes> <g bes> |
  c, <g' bes> <g bes> |
  c, <g' bes> <g bes> | 
  c, <g' bes> <g bes> |
  <f a c>2 <f, f'>4 |
  <f f'>2 \bar "||" \break
  r4 | <f f'> r r |
  <f f'> r r |
  bes r r |
  bes r r | \break
  
  
  
}

sopranoVoicePart = \new Staff \with {
  instrumentName = ""
} { \sopranoVoice }
\addlyrics { \verseOne }
\addlyrics { \verseTwo }
\addlyrics { \verseThree }

pianoPart = \new PianoStaff \with {
  instrumentName = "Piano"
} <<
  \new Staff = "right" \right
  \new Staff = "left" { \clef bass \left }
>>

\score {
  <<
    \new ChordNames \lead
    \sopranoVoicePart
    \pianoPart
  >>
  \layout { }
}


Since all 3 verses have "That's" at the end of the line, I would like to combine them into one line of lyrics (preferably with a curly bracket showing the change). I've attached a little picture that shows what I want to do.

Rohan



_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Combining lyric verses onto one line

Thomas Morley-2
Am Mo., 12. Nov. 2018 um 05:36 Uhr schrieb Rohan Srinivasan
<[hidden email]>:
>
> Friendly bump.

Hi,

this was asnwered already:
http://lilypond.1069038.n5.nabble.com/Combining-lyric-verses-onto-one-line-tt217186.html#none
Didn't you get the replies?

Cheers,
  Harm

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Combining lyric verses onto one line

Rohan Srinivasan
No, I had not gotten the replies sent to my email. 

Thanks,
Rohan

On Sun, Nov 11, 2018 at 11:53 PM Thomas Morley <[hidden email]> wrote:
Am Mo., 12. Nov. 2018 um 05:36 Uhr schrieb Rohan Srinivasan
<[hidden email]>:
>
> Friendly bump.

Hi,

this was asnwered already:
http://lilypond.1069038.n5.nabble.com/Combining-lyric-verses-onto-one-line-tt217186.html#none
Didn't you get the replies?

Cheers,
  Harm

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user