Discussion:
Combining lyric verses onto one line
Rohan Srinivasan
2018-11-04 22:12:18 UTC
Permalink
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
Aaron Hill
2018-11-05 02:04:58 UTC
Permalink
Post by Rohan Srinivasan
Hi list,
[ . . . ]
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
Thomas Morley
2018-11-05 09:05:35 UTC
Permalink
Post by Rohan Srinivasan
Hi list,
[ . . . ]
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.
[...]

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

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

Cheers,
Harm
Rohan Srinivasan
2018-11-12 04:30:33 UTC
Permalink
Friendly bump.
Post by Rohan Srinivasan
Hi list,
\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
Thomas Morley
2018-11-12 07:53:36 UTC
Permalink
Am Mo., 12. Nov. 2018 um 05:36 Uhr schrieb Rohan Srinivasan
Post by Rohan Srinivasan
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
Rohan Srinivasan
2018-11-12 20:11:04 UTC
Permalink
No, I had not gotten the replies sent to my email.

Thanks,
Rohan
Post by Thomas Morley
Am Mo., 12. Nov. 2018 um 05:36 Uhr schrieb Rohan Srinivasan
Post by Rohan Srinivasan
Friendly bump.
Hi,
http://lilypond.1069038.n5.nabble.com/Combining-lyric-verses-onto-one-line-tt217186.html#none
Didn't you get the replies?
Cheers,
Harm
Loading...