At 10:17 16/05/2015 +0100, Phil Holmes wrote:
----- Original Message -----
From: Alan Struthers
To: lilypond-user@gnu.org
Sent: Saturday, May 16, 2015 12:07 AM
Subject: SATB polyphonic lyrics problems
I am brand new to Lilypond. I have tried and tried to figure out
how to code SATB four staves of polyphony with different notes,
durations and lyrics, but while I am close, some of the lyrics fall
to the very bottom of the score and will not stick to the staff
that I want them to.
Sorry if the example is long, but I must learn :
1) how to code what I want
2) where to put the commands properly
The lyrics in CAPITALS are for voice two (i.e., soprano 2, alto 2 )
They are aligned correctly, meaning they are directly under the
proper notes, but not attached to the correct staff.
If someone could correct my code in CAPITALS so I can see exactly
what you have done, I will be able to engrave my music.
Could you attach a text-only version of your score, please?
I'm not he, but here it is.
Brian Barker
\version "2.18.2"
\language "english"
\paper {
#(set-paper-size "letter")
}
global = {
\key d \major
\numericTimeSignature
\time 3/4
\autoBeamOff
}
sopranoVoice = \relative c'' {
\global
\dynamicUp
\oneVoice
{
c4 g8 c, g'
}
<<
{ \voiceOne
c
b2.
}
\new Voice
{ \voiceTwo
c8
g4 f e
}
% lyrics for soprano 2
\new Lyrics \lyricmode
{ AL8 -- LE4 -- LU -- IA, }
>>
\oneVoice
bf'2.
a2.
}
verseSopranoVoice = \lyricmode {
% Lyrics follow here.
Al -- le -- lu -- ia,
Al -- le -- lu -- ia,
}
altoVoice = \relative c' {
\global
\dynamicUp
< c g' >2.
d2.
<<
{
\voiceOne
f8[ e] d[( e] f4)
f4( c) f
}
\new Voice
{
\voiceTwo
d2.
c2.
}
% lyrics for alto 2
\new Lyrics \lyricmode
{ LU -- IA, }
>>
}
verseAltoVoice = \lyricmode {
AL -- LE --
Al -- le -- lu -- ia,
}
tenorVoice = \relative c' {
\global
\dynamicUp
% Music follows here.
< e, g >2.
< d g >2.
< f bf >2.
< f c' >2.
}
verseTenorVoice = \lyricmode {
Al -- le -- lu -- ia,
}
bassVoice = \relative c {
\global
\dynamicUp
c2. g
< bf d >2.
< f' f, >2.
}
verseBassVoice = \lyricmode {
Al -- le -- lu -- ia,
}
sopranoVoicePart = \new Staff \with {
instrumentName = "Soprano"
midiInstrument = "choir aahs"
} { \sopranoVoice }
\addlyrics { \verseSopranoVoice }
altoVoicePart = \new Staff \with {
instrumentName = "Alto"
midiInstrument = "choir aahs"
} { \altoVoice }
\addlyrics { \verseAltoVoice }
tenorVoicePart = \new Staff \with {
instrumentName = "Tenor"
midiInstrument = "choir aahs"
} { \clef "treble_8" \tenorVoice }
\addlyrics { \verseTenorVoice }
bassVoicePart = \new Staff \with {
instrumentName = "Bass"
midiInstrument = "acoustic grand"
} { \clef bass \bassVoice }
\addlyrics { \verseBassVoice }
\score {
<<
\sopranoVoicePart
\altoVoicePart
\tenorVoicePart
\bassVoicePart
>>
\layout { }
\midi {
\tempo 4 = 72
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user