lilypond-user
[Top][All Lists]
Advanced

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

RE: Lyrics for additional verses in LilyPond?


From: Dirk Klamer
Subject: RE: Lyrics for additional verses in LilyPond?
Date: Sun, 17 Jan 2016 13:14:16 +0100

Hi all,

An other way of using lyrics in music: 2 voices and 3 verses in one system:
\header {
  title = "Psalm 030: 1, 2 en 3"
  subtitle = "Ludolf Dalhuisen"
  %  composer = "Psalm 76: 1, 2, 3 en 4"
  
  % The following fields are centered at the bottom
  tagline = "StudieProgramma Dirk Klamer; Muziek notaties Bovenstem - Datum:
mrt-2015"
}

\include "nederlands.ly"

\paper { 
  %  indent = 2\cm
  %  linewidth = 190.0\mm
  page-count = #1
  right-margin = 1\cm
  left-margin = 1\cm
  %  textheight = 270.0\mm
  #(layout-set-staff-size 30)
  #(set-paper-size "a4p") 
}

\layout {
  indent = 0.0\mm
  linewidth = 120.0\mm
  textheight = 270.0\mm
  #(define fonts (make-pango-font-tree "Arial" "Arial" "Arial" (/ 16 20)))
}

myBreak = { \bar "" \break }

Bovenstem = {
  \easyHeadsOn
  \key g \minor
  \time 4/4
  \easyHeadsOn
  s2
  f2 ees2 d2 f4 f4 bes4 bes4 a2 r2 \myBreak
  bes2 bes4 bes4 \time 6/4 d2 c2 bes4 c4 a2 r2 \myBreak
  f2 f2 g2 bes4 bes4 \time 4/4 bes2 d2 c2 r2 \myBreak
  f,2 bes4 c4 \time 6/4 d4 c2 bes2 c4 bes2 r2 \myBreak
  bes2 \time 4/4 a2 g2 f4 bes4 bes4 g4 f2 f2 r2 \myBreak
  bes2 \time 6/4 bes2 c2 d4 d4 d4 c2 c4 a2  \bar "|."
}

MusicOrigineel = {
  \easyHeadsOn
  %  \transpose g f
  s2 g2 f e d4 d e f g2 r
  c2 c4 a c2 b a4 a g2 r
  g2 e f g4 g a2 c b r
  g2 c4 b c d2 c b4 c2 r
  c2 b a g4 a g f e2 d r
  g2 a b c4 b a g2 f4 g1
}

VerseOne = \lyricmode { 
  \set stanza = "1."
  U zal ik lo -- ven, trou -- we Heer,
  ik kreeg van U het le -- ven weer.
  U was het, die mij uit -- komst bood,
  mij op -- trok uit mijn die -- pe nood.
  Mijn vij -- and kon zich niet ver -- blij -- den,
  geen vreug -- de schep -- pen in mijn lij -- den.
} 

VerseTwo = \lyricmode {
  \set stanza = "2."
  Mijn God, U hebt mij op mijn klacht
  ge -- ne -- zen en mijn leed ver -- zacht.
  U hebt mij aan de dood ont -- rukt,
  'k_ga on -- der smart niet meer ge -- bukt.
  U hebt het le -- ven mij ge -- ge -- ven
  en mij aan dood en graf ont -- he -- ven.
}

VerseThree = \lyricmode {
  \set stanza = "3."
  Psalm -- zingt, wie 's_He -- ren gunst ge -- niet.
  Zijn naam zij hei -- lig in uw lied.
  Maakt kor -- te tijd zijn toorn u bang,
  zijn lief -- de duurt uw le -- ven lang.
  De a -- vond daalt met angst en klach -- ten,
  de och -- tend zal met vreugd' u wach -- ten.
}

\score {
  <<
    \new Staff <<
      \clef "treble"
      \override Score.BarNumber #'break-visibility = #end-of-line-invisible
      \set Score.barNumberVisibility = #(every-nth-bar-number-visible 1)
      \tempo 4. = 100
      \relative c'
      \new Voice = "Tenor" \relative c' {
        \set Staff.midiInstrument = #"voice oohs"
        \easyHeadsOn
        
        \voiceOneStyle
        \Bovenstem
        
      }
      
      \relative c''
      {
        \voiceTwoStyle
        \MusicOrigineel
      }
      
    >>
    \override Score . LyricText # 'font-size = #6
    \new Lyrics \lyricsto "Tenor" {
      { \VerseOne }  }
    
    \new Lyrics \lyricsto "Tenor" {
      { \VerseTwo }  }
    
    \new Lyrics \lyricsto "Tenor" {
      { \VerseThree }  }
    
  >>
  
  \layout { }
  
  \midi {
    \context {
      tempoWholesPerMinute = #(ly:make-moment 160 4)}
  }

Kind regards, Dirk Klamer

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of David
Wright
Sent: zondag 17 januari 2016 3:59
To: Tim Regan
Cc: address@hidden
Subject: Re: Lyrics for additional verses in LilyPond?

On Sat 16 Jan 2016 at 15:27:48 (+0000), Tim Regan wrote:
> Thanks Knute. That works. At first I place the markup block inside the
score after my add lyrics block but that threw syntax errors. Once I placed
it after the score it did exactly what I want.

I basically copied the example from p274 et seq of the Notation Manual
(2.18.2), but I think the factorisation of p276 is rather poor. I keep the
individual verses at the end of the file containing the notes and any lyric
underlays:

texti = \markup {
  \column {
    \line {
      "1. "
      \column {
        "Saviour, again to thy dear name we raise"
        "With one accord our parting hymn of praise;"
        "We stand to bless thee ere our worship cease;"
        "Then, lowly kneeling, wait thy word of peace."
      }
    }
  }
}

which yields conventional hanging indents for the verse numbers.
I then put the layout (and which selection of verses I want to set) in the
file containing the \score sections:

\score {
  [...]
  \layout { }
}

\markup {
  \fill-line {
    \column {
      { \texti } \vspace #2.0
      [... etc ...]
    }
  }
}

This is just a simple column. But imagine the editing involved if, for
example, you wanted to omit verse 3 in the example in the Manual...

Cheers,
David.

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2016.0.7303 / Virusdatabase: 4489/11421 - datum van uitgifte:
01/17/16

-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2016.0.7303 / Virusdatabase: 4489/11421 - datum van uitgifte:
01/17/16




reply via email to

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