﻿\include "deutsch.ly" 

#(set-default-paper-size "a4")
#(set-global-staff-size 20) 

% schaltet Notations-Editorlink-Funktion aus
#(ly:set-option 'point-and-click #f)

\version "2.10" 

global = { \key d \minor \time 4/4 } 

SopNote = \relative c'
{ 
  \once \override TextScript #'padding = #2.0
  \once \override TextScript #'X-offset = #-6.0
  \once \override DynamicLineSpanner #'padding = #0.5
  e2\p^\markup{ \italic \small "ernst und gehalten"} e4 e4|
  f4. f8 f2 \breathe|
  g2 f4 g4|
  a2 a4 \breathe a4|
  c2 c2^\markup{ \italic \small "cresc."}|
  d2 d2|
  e2\fermata\f  c4 c|
  << c2. { s8 \> s8\! } >> c4|
  cis4.\< cis8 d4 e4\!|
  f2 \breathe f,4\pp f4|
  f2 f4 f4|
  f2 f4 f4
  f2 b2|
  f1|
  e1|
  \pageBreak
  \key d \major
  \once \override TextScript #'padding = #2.0
  \once \override TextScript #'X-offset = #-4.0
  fis2\mf^\markup{ \italic \small "belebter"} e2|
      % Einstellung oberer Rand auf zweiter Seite
      \once \override TextScript #'padding = #24.0
      \once \override TextScript #'X-offset = #-4.0
  d2^\markup{" "} d4 d4|
  d4( g4) fis4 e4|
  d2 cis2 \breathe |
  e2 e2|
  a2 g4 fis4|
  h2 a4 g4|
  fis2 e2 \breathe|
  << a1( { s2 \< s2\! } >>|
  a2) gis4 gis4|
  a2.\<( g4\!|
  fis2) fis4 g4|
  e2 e2|
  << fis1 { s2 \> s2\! } >>
  \bar "|."
} 

AltNote = \relative c' 
{ 
  \once \override DynamicLineSpanner #'padding = #-0.5
  cis2\p cis4 cis|
  d4. d8 d2 \breathe|
  e2 f4 e4|
  f2 f4 \breathe f4|
  g2 e2^\markup{ \italic \small "cresc."}|
  a2 g2|
  g2\fermata\f g4 g4|
  << g2. { s8 \> s8\! } >> g4|
  a4.\< a8 a4 a4\!|
  a2 \breathe d,4\pp d4|
  d2 d4 d4|
  es2 es4 es4|
  d2 d2|
  d1|
  cis1|
  \key d \major
  \once \override DynamicLineSpanner #'padding = #-0.5
  d2\mf cis2|
  h2 h4 h4|
  h2 h4 h4|
  a2 a2 \breathe|
  cis2 cis2|
  d2 cis4 d4|
  d2 d4 e4|
  d2 cis2 \breathe|
  a'4( \< g4) fis4 e4\!|
  dis4( fis4 e2~|
  e4 \< cis4 d4 e4\!|
  d2) d4 d4|
  d2 cis2|
  << d1 { s2 \> s2\! } >>
  \bar "|."
 
} 

TenNote = \relative c' 
{ 
  a2\p a4 a4|
  a4. a8 a2 \breathe|
  c2 c4 b4|
  c2 c4 \breathe c4|
  c2 c2^\markup{ \italic \small "cresc."}|
  c2 h2|
  \once \override DynamicLineSpanner #'padding = #-0.5
  c2\fermata\f e4 e4|
  << e2. { s8 \> s8\! } >> e4|
  e4.\< e8 d4 cis4\!|
  d2 \breathe a4\pp a4|
  a2 a4 a4|
  a2 a4 a4|
  b2 b2|
  a1|
  a1|
  \key d \major
  a2\mf a4( g4)|
  fis2 fis4 fis4|
  g2 g4 g4|
  fis2 e2 \breathe|
  a2 a2|
  a2 a4 a4|
  g2 a4 h4|
  a2 a2 \breathe|
  a4( \< e'4) d4 cis4\!|
  h1(|
  a1\<|
  a2)\! h4 h4|
  a2 a2|
  << a1 { s2 \> s2\! } >>
  \bar "|."
} 

BasNote = \relative c 
{ 
  a2\p a4 a4|
  d4. d8 d2 \breathe|
  c4( b'4) a4 g4|
  f2 f4 \breathe f4|
  e2 a2^\markup{ \italic \small "cresc."}|
  f2 g2|
  c,2\fermata\f c4 c4|
  << c'2. { s8 \> s8\! } >> b4|
  a4.\< g8 f4 e4\!|
  d2 \breathe d4\pp d4|
  d2 d4 d4|
  c2 c4 c4|
  b2 g2|
  a1|
  a1|
  \key d \major
  d2\mf a2|
  h2 h4 h4|
  g2 g4 g4|
  a2 a2 \breathe|
  a'2 g2|
  fis2 e4 d4|
  g2 fis4 g4|
  a2 a,2|
  r1|
  h2 e4 d4|
  cis4\<( a4 h4 cis4\!|
  d4 cis4) h4g4|
  a2 a2|
  << d1 { s2 \> s2\! } >>
  \bar "|."
} 


StfOneTxtLnA = \lyricmode {
  Dem in der 
  Fin -- ster -- nis
  wan -- deln -- den
  Vol -- ke er --
  schien ein
  hel -- les
  Licht. Es ist
  Tag ge --
  wor -- den ü -- ber
  die, die vom
  Schat -- ten des
  To -- des um --
  ge -- ben
  wa --
  ren.
  Herr, du
  hast dei -- ne
  Er -- de ge --
  seg -- net,
  Herr, du
  hast dei -- ne
  Er -- de ge --
  seg -- net
  und
  uns -- re
  Ban --
  de hast
  du ge --
  löst.
} 


%--------------------
% Maintainer: Sven Kaiser / e-mail: noten(at)oemsel.de
% adventsmotette_ae_grell.ly
% 2007-10-31

\header {
 title = "Adventsmotette"
 subtitle = \markup { \normal-text "August Eduard Grell (1800 - 1886)" }
 tagline = \markup { \tiny \italic"Notensatzprogramm: http://lilypond.org   -   Notendownload: www.oemsel.de/noten" }
}  

% Defintion Formate Seitensatz
\paper{
  %annotate-spacing = ##t
  top-margin = 0\cm
  left-margin = 1.7\cm
  line-width = 17.6\cm
  after-title-space = 0\cm
  bottom-margin = 0.3\cm
  ragged-bottom = ##t
  between-system-padding = 1\cm
  print-page-number = ##f
}



% Aufbau SATB mit einzelnen Notenzeilen und Text unter jeder Notenzeile
\score {
	\new ChoirStaff <<
		\new Staff = "SopStf" <<
    			\clef "G2"
			\set Staff.instrumentName = \markup {\center-align {"Sopran "}}
			\new Voice = "SopVce" {\global \SopNote} 
		>>
			\new Lyrics = SopTxtLnA { s1 }
			\new Lyrics = SopTxtLnB { s1 }

		\new Staff ="AltStf" <<
			\clef "G2"
			\set Staff.instrumentName = \markup {\center-align {"Alt "}}
			\new Voice = "AltVce" {\global \AltNote} 
		>>
			\new Lyrics = AltTxtLnA { s1 }
			\new Lyrics = AltTxtLnB { s1 }

		\new Staff ="TenStf" <<
			\clef "G2_8"
			\set Staff.instrumentName = \markup {\center-align {"Tenor "}}
			\new Voice = "TenVce" {\global \TenNote} 
		>>
			\new Lyrics = TenTxtLnA { s1 }
			\new Lyrics = TenTxtLnB { s1 }

		\new Staff ="BasStf" <<
			\clef "F"
			\set Staff.instrumentName = \markup {\center-align {"Bass "}}
			\new Voice = "BasVce" {\global \BasNote} 
		>>
			\new Lyrics = BasTxtLnA { s1 }
			\new Lyrics = BasTxtLnB { s1 }

		\context Lyrics = SopTxtLnA \lyricsto SopVce \StfOneTxtLnA
		\context Lyrics = AltTxtLnA \lyricsto AltVce \StfOneTxtLnA
		\context Lyrics = TenTxtLnA \lyricsto TenVce \StfOneTxtLnA
		\context Lyrics = BasTxtLnA \lyricsto BasVce \StfOneTxtLnA
  	>>

   	%\midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 240 12) } }

	\layout { 
        	% erster Parameter: Abstand Noten / Text in einer Stimme ->
	  % Je größer der Zahlenwert desto kleiner der Abstand ; Standardwert -4
        	% zweiter Parameter: Abstand Text / Noten zwischen zwei Stimmen ->
	  % Je größer der Zahlenwert desto größer der Abstand ; Standardwert 4
        	\context { \Staff \override VerticalAxisGroup #'minimum-Y-extent = #'(-5 . 7) }

	% schaltet die Nummerierung der Takte aus
	%\context { \Score \remove "Bar_number_engraver" } 

	% Steuert die Höhe der Taktnummerierung über dem System
	\context { \Score \override BarNumber #'padding = #2.0 } 

	% Steuert die Art der Atemzeichen: Deaktiviert = gekrümmt / aktiviert = gerade
	%\context { \Voice \override BreathingSign #'text = #(make-musicglyph-markup "scripts.rvarcomma")}
 
	% Steuert die Art der Dynamics FEHLERHAFT???
	% \context { \Voice \override DynamicTextSpanner #'font-shape = #'upright}

	% steuert die Einrückung des ersten Systems; Standardwert = automatisch eingerückt
       	 %indent = #0

	% f (Standardwert) = letzte/s Zeile/System wird auf Zeilenlänge gestreckt
	%ragged-last = ##t

	% f (Standardwert) = alle Zeilen/Systeme werden auf Zeilenlänge gestreckt;
	% kann insbes. zur Kontrolle der ungesteckten Zeilenlängen verwendet werden
	%ragged-right = ##t
	}
}
