lilypond-user
[Top][All Lists]
Advanced

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

Re: Appending coda on last line


From: Helge Kruse
Subject: Re: Appending coda on last line
Date: Sat, 21 Dec 2013 17:21:29 +0100

2013/12/21 Thomas Morley <address@hidden>
which version do you use?
Could you provide a minimal exmple of your score-setup?
I.e.:


I have a complete example. I tried to make it as small as possible. But therere are 120 lines. Probably this makes it easier to show my idea. At least it's complete and compileable. It uses an included file based on your mail from last year.

There is one additional question. In the lyrics I would like to have stanzas. But not in the coda part. I tried to find a solution to have in the first measure of my example two lines of text, as this is suggested but commented out. Any idea or hint?

Best Regards
Helge

\version "2.16.0"
\language "deutsch"
\include "codahelper.ily"

global = {
  \key es \major
  \time 12/8
}

tenorVoice = \relative c'' {
  \global
  \repeat volta 2 {
    b8 a b  c b c d4.    r |
    \mark\markup {\small "D.S. " \musicglyph #"scripts.segno" 
                   " al "  \musicglyph #"scripts.coda"}
  }
  \space #10
  \key es \major
  \mark \markup { \musicglyph #"scripts.coda" }
  b4. b c d |
  es1. \bar "|."
}

verseTenorVoice = \lyricmode {
  % stanza 1
%  ha -- ben wir ei -- nes er -- kannt: |
  % stanza 2
  wir a -- ber hal -- ten zu -- samm': |
  % coda
  größ -- te Schatz den's | gibt.
}

baritonVoice = \relative c' {
  \global
  \repeat volta 2 {
     d8 d d      es es es  d4.      r |
  }  
  \space #10
  \key es \major
  <<
    {
      g4. g as as | g1.
    }
    \new Voice {
      \voiceTwo
      es4. es es f | b,1.
    }
  >>
}

verseBaritonVoice = \lyricmode {
  % stanza 1
%  ha -- ben wir ei -- nes er -- kannt |
  % stanza 2
  wir a -- ber hal -- ten zu -- samm': |
  % coda
  größ -- te Schatz den's | gibt.
}
  
bassVoice = \relative c {
  \global
  \repeat volta 2 {
     b'8 b b a8 a a b4. b, |
  }
  \space #10
  \key es \major
  b'4. g f b, | es1. \bar "|."
}

verseBassVoice = \lyricmode {
  \skip 1 \skip 1 \skip 1 \skip 1
  \skip 1 \skip 1 \skip 1 Ein |
  größ -- te Schatz den's | gibt.
}

right = \relative c' {
  \global
  <d f b>4. <es f a c> <d f b> <b b'> |
  
  \space #10
  \key es \major
  \braceBar #46
  <es g b>4. q <es as c> <f as d> |
  <es g b es>1. 
  \bar "|."
}
  
left = \relative c {
  \global
  b4. f b b |
  
  \space #10
  \key es \major
  b'4. g f b, | es1.
  \bar "|."
}

tenorVoicePart = \new Staff { \tenorVoice }
\addlyrics { \verseTenorVoice }

baritonVoicePart = \new Staff { \baritonVoice }
\addlyrics { \verseBaritonVoice }

bassVoicePart = \new Staff { \clef bass \bassVoice }
\addlyrics { \verseBassVoice }

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

\score {
  <<
    \tenorVoicePart
    \baritonVoicePart
    \bassVoicePart
    \pianoPart
  >>
  \layout { }
}

Attachment: codahelper.ily
Description: Binary data


reply via email to

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