The short answer is that you don't input the music score line by score
line.
Just enter the full piece as one unit:
ยง\version "2.10.20"
\header{ title = "Listen to the Rain" }
upper = \relative c'' {
\clef treble
\key bes \major
\time 4/4
\tempo 4=120
g g a bes d2 c2 bes1
bes4 bes bes a g ees2. r1
}
lower = \relative c {
\clef bass
\key bes \major
\time 4/4
g4 g a bes d2 c2 bes1
bes4 bes bes a g ees2. r1
}
text = \lyricmode {
Lis -- ten to the ra -- a -- ain
com -- ing down from the throne }
\score {
<<
\new Staff = upper { \new Voice = "singer" \upper }
\new Lyrics \lyricsto "singer" \text
\new Staff = lower {
\clef bass
\lower
}
>>
\layout {
\context { \Staff \accepts "Lyrics" }
\context {
\Lyrics \consists "Bar_engraver"
\override BarLine #'transparent = ##t
}
}
\midi { }
}
LilyPond will automatically insert line breaks wherever it finds
suitable, but if
you wish, you can also manually specify where you want a line break,
using the
\break command. For example:
upper = \relative c'' {
\clef treble
\key bes \major
\time 4/4
\tempo 4=120
g g a bes d2 c2 bes1 \break
bes4 bes bes a g ees2. r1
}
/Mats
Ron wrote:
I have not got a clue whether this is where I should be asking this
question. But here goes.
Please let me know if this should posted elsewhere.
I have a very simple question: I am trying to add a second line to the
song I am writing. I can get the second line to appear, but the first
line plays at the same time as the second line. How do I separate the
two lines?
Here's what I have written so far:
\version "2.10.20"
\header{ title = "Listen to the Rain" }
uppera = \relative c'' {
\clef treble
\key bes \major
\time 4/4
\tempo 4=120
g g a bes d2 c2 bes1
}
lowera = \relative c {
\clef bass
\key bes \major
\time 4/4
g4 g a bes d2 c2 bes1
}
texta = \lyricmode {
Lis -- ten to the ra -- a -- ain
}
upperb = \relative c'' {
\clef treble
\key bes \major
\time 4/4
bes4 bes bes a g ees2. r1
}
lowerb = \relative c {
\clef bass
\key bes \major
\time 4/4
bes4 bes bes a g ees2. r1
}
textb = \lyricmode {
com -- ing down from the throne
}
\score {
<<
\new Staff = uppera { \new Voice = "singer" \uppera }
\new Lyrics \lyricsto "singer" \texta
\new Staff = lowera {
\clef bass
\lowera
}
>>
<<
\new Staff = upperb { \new Voice = "singer" \upperb }
\new Lyrics \lyricsto "singer" \textb
\new Staff = lowerb {
\clef bass
\lowerb
}
>>
\layout {
\context { \Staff \accepts "Lyrics" }
\context { \Lyrics \consists "Bar_engraver" }
}
\midi { }
}
Thank you,
Ron
_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user