Du bist das Licht der Welt/pre

Zur Navigation springen Zur Suche springen

Lilypond Score

\version "2.20.0"
\language "deutsch"
myTitel = "Du bist das Licht der Welt"
mycomp=\markup \line \fontsize #0 {
  "M&T: Helga Poppe (geb. 1942), 1977"
}

#(define (pitch-alteration-semitones pitch)
   (inexact->exact (round (* (ly:pitch-alteration pitch) 2))))

#(define (conditional-string-downcase str condition)
   (if condition
       (string-downcase str)
       str))

#(define ((chord-name->german-markup-text-alteration B-instead-of-Bb) pitch lowercase?)

   (define (pitch-alteration-semitones pitch)
     (inexact->exact (round (* (ly:pitch-alteration pitch) 2))))

   (define (conditional-string-downcase str condition)
     (if condition
         (string-downcase str)
         str))

   (let* ((name (ly:pitch-notename pitch))
          (alt-semitones  (pitch-alteration-semitones pitch))
          (n-a (if (member (cons name alt-semitones) `((6 . -1) (6 . -1)))
                   (cons 7 (+ (if B-instead-of-Bb 1 1) alt-semitones))
                   (cons name alt-semitones))))
     (make-line-markup
      (list
       (make-simple-markup
        (conditional-string-downcase
         (vector-ref #("C" "D" "E" "F" "G" "A" "H" "B") (car n-a))
         lowercase?))
       (let ((alteration (/ (cdr n-a) 2)))
         (cond
          ((and (equal? lowercase? #f) (= alteration FLAT) (= (car n-a) 7)) (make-simple-markup ""))
          ((and (= alteration FLAT) (or (= (car n-a) 5) (= (car n-a) 2) )) (make-simple-markup "s"))
          ((= alteration FLAT) (make-simple-markup "es"))
          ((and (= alteration DOUBLE-FLAT) (or (= (car n-a) 5)(= (car n-a) 2) )) (make-simple-markup "ses"))
          ((= alteration DOUBLE-FLAT) (make-simple-markup "eses"))
          ((= alteration SHARP) (make-simple-markup "is"))
          ((= alteration DOUBLE-SHARP) (make-simple-markup "isis"))
          (else empty-markup)))))))

#(define germanChords (chord-name->german-markup-text-alteration #t))

#(define (note-name->my-german-markup pitch lowercase?)
   (let* ((name (ly:pitch-notename pitch))
          (alt-semitones (pitch-alteration-semitones pitch))
          (n-a (if (member (cons name alt-semitones) `((6 . -1) (6 . -2)))
                   (cons 7 (+ 1 alt-semitones))
                   (cons name alt-semitones))))
     (make-line-markup
      (list
       (string-append
        (list-ref '("C" "D" "E" "F" "G" "A" "H" "B") (car n-a))
        (if (or (equal? (car n-a) 2) (equal? (car n-a) 5))
            (list-ref '( "ses" "s" "" "is" "isis") (+ 2 (cdr n-a)))
            (list-ref '("eses" "es" "" "is" "isis") (+ 2 (cdr n-a)))))))))

\layout {
  \context {
    \Voice
    beamExceptions = #'()
    \override BreathingSign.text =
    \markup { \musicglyph #"scripts.lvarcomma" }
    \override Stem.neutral-direction = #down
    \override Script.outside-staff-priority = #'()
    \override Script.padding = #1
    \override Tie.thickness = #1
    \override PhrasingSlur.thickness = #3
    \override Rest.voiced-position = #0
    \override MultiMeasureRest.expand-limit = #3
  }
  \context {
    \Staff
    printPartCombineTexts = ##f
    beamExceptions = #'()
    \override BreathingSign.text =
    \markup { \musicglyph #"scripts.lvarcomma" }
    \override InstrumentName.font-features = #'("smcp")
  }
  \context {
    \Score
    \override VerticalAxisGroup.remove-first = ##t
    skipBars = ##f
    \override MetronomeMark.font-size = #1
    \override MetronomeMark.font-shape = #'caps
    \override BarLine.thick-thickness = 5
    barNumberVisibility = #all-bar-numbers-visible
    \override Timing.beamExceptions = #'()
    \override BarNumber.color = #(rgb-color 0.7 0.7 0.7)
    \override BarNumber.layer = #-200
    \override BarNumber.outside-staff-priority =#'()
    \override BarNumber.padding = #1
    \override BarNumber.font-size = #-1
    \override BarNumber.font-series = #'bold
    \override BarNumber.self-alignment-X = #0
    \override BarNumber.break-visibility = #end-of-line-invisible
  }
  \context {
    \ChordNames
    chordRootNamer = #germanChords
    \override ChordName.font-name = #"Bahnschrift Condensed"
  }
}

sop = \relative c'' {
  \time 4/4
  \autoBeamOff
  \key g \major
  \repeat volta 2 {
    g8 g4 g8 h a g4 g8 g4 g8 g fis e4
    e8 e4 e8 c4 e fis2. r4
  }
  \repeat volta 2 {
    h8 h4 h8 h a g4 h2. r4
    r8 c8 c c8 c h a4
  }
  \alternative
  {
    {
      fis2. r4
    }
    {
      fis2 e4 d
    }
  }
  g2 g g r
  \bar "||"
  e2 e4 e g4. g8 fis4 e d4. c8 h4 c d2. r4
  e4. e8 e4 e g4. g8 fis4 g a4. g8 fis4 e d2. r4
  e4. e8 e4 e g4. g8 fis4 e d4. c8 h4 c d2. r4
  e4. e8 e4 e g4. g8 fis4 g a1
  \bar "|."
}

ten = \relative c {
  \key g \major
  \clef bass
  \repeat volta 2 {
    < h d g > < h e g > < c e g >
    < a d fis >2. r4
  }
  \repeat volta 2 {
    < h d g >1 < h e g >
    < c e g >
  }
  \alternative
  {
    {
      < a d fis >2. r4
    }
    {
      < a d fis >1

    }
  }
  < h d g >2 < h e g >
  < h d g >2 r
  < c e g >1 < c e a >
  < h d g > q2. r4
  < c e g >1 < c e a > < cis e g >
  < a d fis >
  < c e g > < c e a >
  < h d g > q2. r4
  < c e g >1 < c e a >
  < a d fis >
}

akks = \chordmode {
  \repeat volta 2 { g1 e:m c d:7 }

  \repeat volta 2 {
    g1
    e:m c
  }
  \alternative
  {
    {
      d2.:7 c4
    }
    {
      d1:7
    }
  }
  g2 e:m g1
  c a:m g g
  c a:m d:7 d:7
  c a:m g g
  c a:m d:7
}

Struktur =
{
  \override Score.NonMusicalPaperColumn.page-break-permission = ##f
  \override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/24)
  \override Score.RehearsalMark.X-offset = #-4
  %\repeat unfold 3 { s1 s \break }
  s1 * 10
  \override Score.RehearsalMark.self-alignment-X = #1
  \override Score.RehearsalMark.X-offset = #5
  \override Score.RehearsalMark.direction = #DOWN
  \mark "Fine"
  s1 \bar "||" \pageBreak
}

lyr = \lyricmode {
  \set stanza = #"Ref:"
  Du bist das Licht der Welt,
  du bist der Glanz,
  der uns un -- se -- ren Tag er -- hellt,


  Du bist der Stern in der Nacht,
  der al -- lem Fins -- te -- ren wehrt,
  \repeat unfold 6 \skip 1

  \set stanza = #"1-3" So wie die Son -- ne stets den Tag bringt nach der Nacht,
  wie sie auch nach Re -- gen -- wet -- ter im -- mer wie -- der lacht,
  wie sie trotz der Wol -- ken -- mau -- er uns die Hel -- le bringt
  und doch nur zu neu -- em Auf -- geh'n sinkt.
}

lyri = \lyricmode {
  Du bist der Freu -- den -- schein,
  der uns so glück -- lich macht,
  dringst sel -- ber in uns ein.

  bist wie ein Feu -- er ent -- facht,
  das sich aus Lie -- be ver -- \skip 1 zehrt,
  du das Licht der Welt.
}

kopf=\header {
  title = \markup \line
  {
    \myTitel
  }
  subtitle = "Feierlicher Einzug"
  subsubtitle = ##f
  poet = ##f
  composer = \markup { #mycomp }
  piece = ##f
}

arrang =
\markuplist \fontsize #1 {
  \override #'(padding . 2)
  \override #'(baseline-skip . 2)
  \table
  #'(1 -1 -1)
  {
    \circle 1 "Vorspiel:" "bis zum 1. Wiederholungszeichen"
    \circle 2 "Gesang:" "Lied mit __ Strophen"
  }
}

\bookpart {
  \paper {
    top-margin = 20\mm
    ragged-right = ##f
    ragged-last = ##f
    ragged-bottom = ##f
    ragged-last-bottom = ##f
    bottom-margin = 20\mm
    indent = #0
    line-width = 160\mm
    print-all-headers = ##f
    #(include-special-characters)
    print-first-page-number = ##t
    first-page-number = #1
    oddFooterMarkup = ##f
    evenFooterMarkup = ##f
    oddHeaderMarkup = #oddFooterMarkup
    evenHeaderMarkup = #evenFooterMarkup
    markup-system-spacing.padding = #0
    system-system-spacing.basic-distance = #8
    system-system-spacing.padding = #0
  }
  \markuplist \arrang
  \kopf
  \score
  {
    <<
      \new ChordNames \akks
      \new PianoStaff
      <<
        \new Staff
        <<
          \new Voice=Alt { \sop }
        >>
        \new Lyrics \lyricsto Alt \lyr
        \new Lyrics \lyricsto Alt \lyri
        \new Staff
        <<
          \new Voice {
            \override PianoStaff.VerticalAxisGroup.staff-staff-spacing.basic-distance = #14
            \ten
          }
          \new NullVoice \Struktur
        >>
      >>
    >>
  }
}