\version "2.18.2"

#(ly:set-option 'point-and-click #f)

%--------------------
% Maintainer: Sven Kaiser / e-mail: noten(at)oemsel.de
% an_hellen_tagen_gastoldi_s-s-a-t-b_2s.ly
% 2017-05-07

\header {
  title = "An hellen Tagen"
  poet = "Deutscher Text: Peter Cornelius (1824 - 1874)"
  composer = "Giovanni Gastoldi (um 1556 - 1622)"
  subsubtitle ="Aus: 'Balletti a 5 voci' (1591)"
  tagline = \markup { \tiny \italic"Diese Noten sind gemeinfrei  -  Rev. 2  -  Notensatzprogrammierung S. Kaiser mit http://lilypond.org   -   Notendownload: www.oemsel.de/noten" }
}

#(set-global-staff-size 17)

\paper {
    paper-width = 21.0\cm
    paper-height = 29.7\cm
    top-margin = 0.5\cm
    bottom-margin = 1.3\cm
    left-margin = 2.0\cm
    right-margin = 2.0\cm
    print-page-number = ##f
    ragged-bottom = ##t
    markup-system-spacing = #'((basic-distance . 18) (padding . 0) (stretchability . 0))
    system-system-spacing #'basic-distance = #22
    ragged-right = ##f
    ragged-last = ##f
    annotate-spacing = ##f
}

AvoiceAA = \relative c'{
    \set Staff.instrumentName = #"S I"
    \set Staff.shortInstrumentName = #""
    \clef treble
    \key c \major 
    \time 3/4
%    \override Score.BarLine #'hair-thickness = #1.0
%    \override Score.BarLine #'thick-thickness = #3.6
    \repeat volta 2 {
      d'4 d c    | % 1
      b2 g4      | % 2
      d' d c     | % 3
      b2 g4     | % 4
      d'2 c4 \break      | % 5
      b4. a8 g4  | % 6
      a2 a4      | % 7
      g2 r4     | % 8
    } 
    b c d      | % 9
    e2 c4      | % 10
    e f d       | % 11
    e2 c4     | % 12
    d b c \break      | % 13
    d2 d4 ^\markup { \vspace #2 \raise #16 " " }     | % 14
    c a  b     | % 15
    c2 c4     | % 16
    c c b      | % 17
    a4. g8 fis4      | % 18
    g g fis    | % 19
    g2. \bar "|." 
}% end of last bar in partorvoice


AvoiceBA = \relative c'{
    \set Staff.instrumentName = #"S II"
    \set Staff.shortInstrumentName = #""
    \clef treble
    \key c \major 
    \repeat volta 2 {
      b'4 b c    | % 1
      d2 b4      | % 2
      g g g      | % 3
      g2 g4      | % 4
      b2 c4      | % 5
      d4. c8 b4  | % 6
      d2 d4      | % 7
      b2 r4      | % 8
    }
    g a b      | % 9
    c2 c4      | % 10
    c a g      | % 11
    g2 g4      | % 12
    b d c      | % 13
    b2 b4      | % 14
    g a g      | % 15
    g2 g4      | % 16
    g a g      | % 17
    fis4. g8 a4      | % 18
    b c a      | % 19
    b2. \bar "|." 
}% end of last bar in partorvoice


AvoiceCA = \relative c'{
    \set Staff.instrumentName = #"A"
    \set Staff.shortInstrumentName = #""
    \clef treble
    \key c \major 
    \repeat volta 2 { 
      g'4 g g    | % 1
      g2 g4      | % 2
      d d e      | % 3
      d2 d4      | % 4
      g2 e4      | % 5
      g2 g4      | % 6
      fis4. e8 fis4      | % 7
      g2 r4      | % 8
    }  
    d f f      | % 9
    e2 e4      | % 10
    c c b      | % 11
    e2 e4      | % 12
    g g g      | % 13
    g2 g4      | % 14
    g f d      | % 15
    e2 e4      | % 16
    c a d      | % 17
    d2 d4      | % 18
    d e d      | % 19
    d2. \bar "|." 
}% end of last bar in partorvoice


AvoiceDA = \relative c,{
    \set Staff.instrumentName = #"T"
    \set Staff.shortInstrumentName = #""
    \clef "treble_8"
    \key c \major 
    \clef "treble_8"
    \repeat volta 2 { 
      d''4 d e   | % 1
      d2 d4      | % 2
      b b c      | % 3
      d2 b4      | % 4
      b2 a4      | % 5
      d2 d4      | % 6
      d2 d4      | % 7
      d2 r4      | % 8
    }  
    b a d      | % 9
    g,2 g4     | % 10
    g a b      | % 11
    c2 c4      | % 12
    b b e      | % 13
    d2 b4      | % 14
    e d d      | % 15
    c2 c4      | % 16
    g c g      | % 17
    a2 a4      | % 18
    g e a      | % 19
    g2. \bar "|." 
}% end of last bar in partorvoice


AvoiceEA = \relative c{
    \set Staff.instrumentName = #"B"
    \set Staff.shortInstrumentName = #""
    \clef bass
    \key c \major 
    \clef bass
    \repeat volta 2 { 
      g'4 g c,   | % 1
      g'2 g4     | % 2
      g g c,     | % 3
      g'2 g4     | % 4
      g2 a4      | % 5
      g2 g4      | % 6
      d2 d4      | % 7
      g2 r4      | % 8
    }  
    g f d      | % 9
    c2 c4      | % 10
    c f g      | % 11
    c,2 c4     | % 12
    g' g c,    | % 13
    g'2 g4     | % 14
    c f, g     | % 15
    c,2 c4     | % 16
    e f g      | % 17
    d2 d4      | % 18
    g, c d     | % 19
    g,2. %\bar "|." 
}% end of last bar in partorvoice


  ApartAverseA = \lyricmode { \set stanza = " 1. " An hel -- len Ta -- gen, Herz, welch ein Schla -- gen! Fa la la la la la la la. Him -- mel dann blau -- et, Au -- ge dann schau -- et, Herz wohl den bei -- den man -- ches ver -- trau -- et. Fa la la la la la la la la la. }
  ApartAverseB = \lyricmode { \set stanza = " 2. " Beim Dämm -- rungs -- schim -- mer, Herz, du pochst im -- mer. Fa la la la la la la la. Sind auch zer -- ron -- nen Strah -- len und Won -- nen, Herz will an bei -- den still sich noch son -- nen. Fa la la la la la la la la la. }
  ApartAverseC = \lyricmode { \set stanza = " 3. " Ward Nacht hi -- nie -- den, Herz hat nicht Frie -- den. Fa la la la la la la la. Schlum -- mer mag wal -- ten, Traum sich ent -- fal -- ten, Herz hat mit bei -- den Zwie -- sprach zu hal -- ten. Fa la la la la la la la la la. }
  ApartBverseA = \lyricmode { \set stanza = " 1. " An hel -- len Ta -- gen, Herz, welch ein Schla -- gen! Fa la la la la la la la. Him -- mel dann blau -- et, Au -- ge dann schau -- et, Herz wohl den bei -- den man -- ches ver -- trau -- et. Fa la la la la la la la la la. }
  ApartBverseB = \lyricmode { \set stanza = " 2. " Beim Dämm -- rungs -- schim -- mer, Herz, du pochst im -- mer. Fa la la la la la la la. Sind auch zer -- ron -- nen Strah -- len und Won -- nen, Herz will an bei -- den still sich noch son -- nen. Fa la la la la la la la la la. }
  ApartBverseC = \lyricmode { \set stanza = " 3. " Ward Nacht hi -- nie -- den, Herz hat nicht Frie -- den. Fa la la la la la la la. Schlum -- mer mag wal -- ten, Traum sich ent -- fal -- ten, Herz hat mit bei -- den Zwie -- sprach zu hal -- ten. Fa la la la la la la la la la. }
  ApartCverseA = \lyricmode { \set stanza = " 1. " An hel -- len Ta -- gen, Herz, welch ein Schla -- gen! Fa la la la la la la la. Him -- mel dann blau -- et, Au -- ge dann schau -- et, Herz wohl den bei -- den man -- ches ver -- trau -- et. Fa la la la la la la la la. }
  ApartCverseB = \lyricmode { \set stanza = " 2. " Beim Dämm -- rungs -- schim -- mer, Herz, du pochst im -- mer. Fa la la la la la la la. Sind auch zer -- ron -- nen Strah -- len und Won -- nen, Herz will an bei -- den still sich noch son -- nen. Fa la la la la la la la la. }
  ApartCverseC = \lyricmode { \set stanza = " 3. " Ward Nacht hi -- nie -- den, Herz hat nicht Frie -- den. Fa la la la la la la la. Schlum -- mer mag wal -- ten, Traum sich ent -- fal -- ten, Herz hat mit bei -- den Zwie -- sprach zu hal -- ten. Fa la la la la la la la la. }
  ApartDverseA = \lyricmode { \set stanza = " 1. " An hel -- len Ta -- gen, Herz, welch ein Schla -- gen! Fa la la la la la la. Him -- mel dann blau -- et, Au -- ge dann schau -- et, Herz wohl den bei -- den man -- ches ver -- trau -- et. Fa la la la la la la la la. }
  ApartDverseB = \lyricmode { \set stanza = " 2. " Beim Dämm -- rungs -- schim -- mer, Herz, du pochst im -- mer. Fa la la la la la la. Sind auch zer -- ron -- nen Strah -- len und Won -- nen, Herz will an bei -- den still sich noch son -- nen. Fa la la la la la la la la. }
  ApartDverseC = \lyricmode { \set stanza = " 3. " Ward Nacht hi -- nie -- den, Herz hat nicht Frie -- den. Fa la la la la la la. Schlum -- mer mag wal -- ten, Traum sich ent -- fal -- ten, Herz hat mit bei -- den Zwie -- sprach zu hal -- ten. Fa la la la la la la la la. }
  ApartEverseA = \lyricmode { \set stanza = " 1. " An hel -- len Ta -- gen, Herz, welch ein Schla -- gen! Fa la la la la la la. Him -- mel dann blau -- et, Au -- ge dann schau -- et, Herz wohl den bei -- den man -- ches ver -- trau -- et. Fa la la la la la la la la. }
  ApartEverseB = \lyricmode { \set stanza = " 2. " Beim Dämm -- rungs -- schim -- mer, Herz, du pochst im -- mer. Fa la la la la la la. Sind auch zer -- ron -- nen Strah -- len und Won -- nen, Herz will an bei -- den still sich noch son -- nen. Fa la la la la la la la la. }
  ApartEverseC = \lyricmode { \set stanza = " 3. " Ward Nacht hi -- nie -- den, Herz hat nicht Frie -- den. Fa la la la la la la. Schlum -- mer mag wal -- ten, Traum sich ent -- fal -- ten, Herz hat mit bei -- den Zwie -- sprach zu hal -- ten. Fa la la la la la la la la. }

\score { 
    << 
        \context ChoirStaff = B<< 
            \context Staff = ApartA \with { \consists "Ambitus_engraver"} << 
                \context Voice = AvoiceAA \AvoiceAA
            >>

             \context Lyrics = ApartAverseA\lyricsto AvoiceAA  \ApartAverseA
             \context Lyrics = ApartAverseB\lyricsto AvoiceAA  \ApartAverseB
             \context Lyrics = ApartAverseC\lyricsto AvoiceAA  \ApartAverseC

            \context Staff = ApartB \with { \consists "Ambitus_engraver"} << 
                \context Voice = AvoiceBA \AvoiceBA
            >>

             \context Lyrics = ApartBverseA\lyricsto AvoiceBA  \ApartBverseA
             \context Lyrics = ApartBverseB\lyricsto AvoiceBA  \ApartBverseB
             \context Lyrics = ApartBverseC\lyricsto AvoiceBA  \ApartBverseC

            \context Staff = ApartC \with { \consists "Ambitus_engraver"} << 
                \context Voice = AvoiceCA \AvoiceCA
            >>

             \context Lyrics = ApartCverseA\lyricsto AvoiceCA  \ApartCverseA
             \context Lyrics = ApartCverseB\lyricsto AvoiceCA  \ApartCverseB
             \context Lyrics = ApartCverseC\lyricsto AvoiceCA  \ApartCverseC

            \context Staff = ApartD \with { \consists "Ambitus_engraver"} << 
                \context Voice = AvoiceDA \AvoiceDA
            >>

             \context Lyrics = ApartDverseA\lyricsto AvoiceDA  \ApartDverseA
             \context Lyrics = ApartDverseB\lyricsto AvoiceDA  \ApartDverseB
             \context Lyrics = ApartDverseC\lyricsto AvoiceDA  \ApartDverseC

            \context Staff = ApartE \with { \consists "Ambitus_engraver"} << 
                \context Voice = AvoiceEA \AvoiceEA
            >>

             \context Lyrics = ApartEverseA\lyricsto AvoiceEA  \ApartEverseA
             \context Lyrics = ApartEverseB\lyricsto AvoiceEA  \ApartEverseB
             \context Lyrics = ApartEverseC\lyricsto AvoiceEA  \ApartEverseC

        >> %end of StaffGroupB
  >>

  \layout {
      \context { \Score \override BarNumber #'padding = #2.0 }
      indent = #6
      \context { \Lyrics
                \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
                #'((basic-distance . 0)
                  (minimum-distance . 5)
                  (padding . 0)
                  (stretchability . 0))}
    }
}%% end of score-block 

\score {
<<
\new Voice = "Sopran I" { \autoBeamOff \AvoiceAA }
\new Voice = "Sopran II" { \autoBeamOff \AvoiceBA }
\new Voice = "Alt" { \autoBeamOff \AvoiceCA }
\new Voice = "Tenor" { \autoBeamOff \AvoiceDA }
\new Voice = "Bass" { \autoBeamOff \AvoiceEA }
>>
\midi { }
}